phpstan.neon.dist 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. parameters:
  2. level: 7
  3. paths:
  4. - %currentWorkingDirectory%/lib
  5. - %currentWorkingDirectory%/tests
  6. autoload_directories:
  7. - %currentWorkingDirectory%/tests/Doctrine/Migrations/Tests/Finder/_features
  8. - %currentWorkingDirectory%/tests/Doctrine/Migrations/Tests/Finder/_files
  9. excludes_analyse:
  10. - %currentWorkingDirectory%/tests/Doctrine/Migrations/Tests/Configuration/ConfigurationTestSource/Migrations/Version123.php
  11. ignoreErrors:
  12. - '~Variable method call on Doctrine\\Migrations\\AbstractMigration~'
  13. -
  14. message: '~^Call to function in_array\(\) requires parameter #3 to be true\.$~'
  15. path: %currentWorkingDirectory%/lib/Doctrine/Migrations/Version/SortedMigrationPlanCalculator.php
  16. -
  17. message: '~^Variable property access on mixed\.$~'
  18. path: %currentWorkingDirectory%/lib/Doctrine/Migrations/Configuration/Migration/XmlFile.php
  19. -
  20. message: '~^Call to function is_bool\(\) with bool will always evaluate to true\.$~'
  21. path: %currentWorkingDirectory%/lib/Doctrine/Migrations/InlineParameterFormatter.php
  22. -
  23. message: '~^Call to an undefined method Symfony\\Component\\Console\\Output\\OutputInterface\:\:getErrorOutput\(\)\.$~'
  24. path: %currentWorkingDirectory%/lib/Doctrine/Migrations/Tools/Console/ConsoleLogger.php
  25. -
  26. message: '~^Method Doctrine\\Migrations\\Tests\\Stub\\DoctrineRegistry::getService\(\) should return Doctrine\\Persistence\\ObjectManager but returns Doctrine\\DBAL\\Connection\|Doctrine\\ORM\\EntityManager~'
  27. path: %currentWorkingDirectory%/tests/Doctrine/Migrations/Tests/Stub/DoctrineRegistry.php
  28. - '~Call to method getVersion\(\) of deprecated class PackageVersions\\Versions\:.*~'
  29. symfony:
  30. console_application_loader: %currentWorkingDirectory%/tests/Doctrine/Migrations/Tests/doctrine-migrations-phpstan-app.php
  31. includes:
  32. - vendor/phpstan/phpstan-deprecation-rules/rules.neon
  33. - vendor/phpstan/phpstan-phpunit/extension.neon
  34. - vendor/phpstan/phpstan-phpunit/rules.neon
  35. - vendor/phpstan/phpstan-strict-rules/rules.neon
  36. - vendor/phpstan/phpstan-symfony/extension.neon