for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by enea dhack - 12/06/2020 17:07.
*/
namespace Vaened\Searcher;
trait WithFilters
{
abstract protected function getFilterProvider(): Filterable;
public function filter(array $filters): self
$constraints = $this->getFilterProvider()->getConstraints($filters);
foreach ($constraints as $constraint) {
$this->apply($constraint);
apply()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
$this->/** @scrutinizer ignore-call */
apply($constraint);
}
return $this;