includes:
    - vendor/phpstan/phpstan-phpunit/extension.neon
    - vendor/phpstan/phpstan-phpunit/rules.neon

parameters:
    level: max
    paths:
        - src
        - tests

    ignoreErrors:
        # dynamic properties confuse static analysis
        -
            message: '#Access to an undefined property object::\$foo\.#'
            path: '*/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php'
