1includes:
2    - vendor/phpstan/phpstan-phpunit/extension.neon
3    - vendor/phpstan/phpstan-phpunit/rules.neon
4
5parameters:
6    level: max
7    paths:
8        - src
9        - tests
10
11    ignoreErrors:
12        -
13            message: '#::__construct\(\) does not call parent constructor from#'
14            path: '*/tests/DoctrineTest/InstantiatorTestAsset/*.php'
15
16        # dynamic properties confuse static analysis
17        -
18            message: '#Access to an undefined property object::\$foo\.#'
19            path: '*/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php'
20