Files
kimai2/tests/phpstan.neon
2020-03-05 02:15:16 +01:00

17 lines
858 B
Plaintext

includes:
- %rootDir%/../phpstan-symfony/extension.neon
- %rootDir%/../phpstan-doctrine/extension.neon
- %rootDir%/../phpstan-phpunit/extension.neon
parameters:
tmpDir: %rootDir%/../../../var/cache/phpstan
symfony:
container_xml_path: '%rootDir%/../../../var/cache/dev/srcApp_KernelDevDebugContainer.xml'
ignoreErrors:
- '#Access to an undefined property Faker\\Generator::\$stateAbbr.#'
- '#Access to an undefined property Faker\\Generator::\$catchPhrase.#'
- '#Access to an undefined property Faker\\Generator::\$bs.#'
- '#Call to static method PHPUnit\\Framework\\Assert::assertSame\(\) with App\\Entity\\[a-zA-Z0-9]+ and null will always evaluate to false.#'
excludes_analyse:
- %rootDir%/../../../tests/Ldap/LdapDriverTest.php
inferPrivatePropertyTypeFromConstructor: true