<commit_before><?php

require __DIR__ . "/../vendor/autoload.php";

use AdminusProcess\HttpClient\ProcessClientFactory;
use AdminusProcess\HttpClient\Request\TaskQueryRequest;

try {
	//Create client send request
	$client = ProcessClientFactory::create("http://projectus.dev/", "root", "pass");

	//Create request with variable quuery
	$query = new TaskQueryRequest();
	$query
		->filter()->variable("customer_id")->equal(14)
		->andFilter()->variable("task_creator")->equal("adminus");

	$response = $client->findTaskByQuery($query);

	//Handle response
	if ($response->isSuccess()) {
		echo "Following tasks are listed: \n";
		echo $response->getTasks()['id'] . "\n";
		echo $response->getTasks()['name'] . "\n";
	}
	else {
		echo "{$response->getStatusCode()}:{$response->getMessage()}\n";
	}
}
catch (RuntimeException $ex) {
	echo $ex->getMessage();
}<commit_msg>Improved find by variables example<commit_after><?php

require __DIR__ . "/../vendor/autoload.php";

use AdminusProcess\HttpClient\ProcessClientFactory;
use AdminusProcess\HttpClient\Request\TaskQueryRequest;

try {
	//Create client send request
	$client = ProcessClientFactory::create("http://projectus.dev/", "root", "pass");

	//Create request with variable quuery
	$query = new TaskQueryRequest();
	$query->filter()->variable("typ_faktury")->equal('zbozi');

	$response = $client->findTaskByQuery($query);

	//Handle response
	if ($response->isSuccess()) {
		foreach ($response->getTasks() as $task) {
			echo "Following tasks are listed: \n";
			echo "{$task['id']}-{$task['name']} \n";
		}
	}
	else {
		echo "{$response->getStatusCode()}:{$response->getMessage()}\n";
	}
}
catch (RuntimeException $ex) {
	echo $ex->getMessage();
}
{'fraction_non_alphanumeric': 0.19201409277745154, 'fraction_numerical': 0.0011743981209630064, 'mean_word_length': 5.218978102189781, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6487006', 'n_tokens_mistral': 564, 'n_tokens_neox': 547, 'n_words': 111}