1 | <?php declare(strict_types = 1); |
||
2 | |||
3 | namespace Bukashk0zzz\FilterBundle\Tests\Form; |
||
4 | |||
5 | use Bukashk0zzz\FilterBundle\Service\Filter; |
||
6 | use Doctrine\Common\Annotations\AnnotationReader; |
||
7 | use Doctrine\Common\Annotations\CachedReader; |
||
8 | use Doctrine\Common\Cache\ArrayCache; |
||
0 ignored issues
–
show
|
|||
9 | use Symfony\Component\Form\Test\TypeTestCase; |
||
10 | |||
11 | /** |
||
12 | * AbstractFormTypeExtension. |
||
13 | */ |
||
14 | abstract class AbstractFormTypeExtension extends TypeTestCase |
||
15 | { |
||
16 | /** |
||
17 | * @var bool |
||
18 | */ |
||
19 | protected $autoFilter = true; |
||
20 | |||
21 | /** |
||
22 | * @return array<mixed> |
||
23 | */ |
||
24 | protected function getExtensions(): array |
||
25 | { |
||
26 | return \array_merge(parent::getExtensions(), [ |
||
27 | new FilterExtension(new Filter(new CachedReader(new AnnotationReader(), new ArrayCache())), $this->autoFilter), |
||
28 | ]); |
||
29 | } |
||
30 | } |
||
31 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths