phpstan.neon 1.4 KB

12345678910111213141516171819202122232425262728
  1. parameters:
  2. autoload_files:
  3. - %rootDir%/../../../tests/bootstrap.php
  4. ignoreErrors:
  5. - '#Function wincache_ucache_[a-zA-Z0-9_]+ not found#'
  6. - '#Function xcache_[a-zA-Z0-9_]+ not found#'
  7. - '#Cake\\Database\\Type\\[a-zA-Z0-9_]+Type::__construct\(\) does not call parent constructor from Cake\\Database\\Type#'
  8. - '#Constructor of class Cake\\[a-zA-Z0-9_\\]+ has an unused parameter#'
  9. - '#Call to an undefined method Cake\\Console\\Shell::main\(\)#'
  10. - '#Access to undefined constant Memcached::OPT_CLIENT_MODE#'
  11. - '#Access to undefined constant Memcached::DYNAMIC_CLIENT_MODE#'
  12. - '#Access to undefined constant PDO::SQLSRV_ATTR_ENCODING#'
  13. - '#Access to undefined constant PDO::SQLSRV_ENCODING_BINARY#'
  14. - '#Access to an undefined property Cake\\Http\\Client\\Message::\$headers#'
  15. - '#Access to an undefined property Cake\\[a-zA-Z0-9_\\]+::\$_validViewOptions#'
  16. - '#Access to an undefined property Cake\\Database\\Driver::\$_connection#'
  17. - '#Constant XC_TYPE_VAR not found#'
  18. - '#Class PHPUnit_Runner_Version not found and could not be autoloaded#'
  19. earlyTerminatingMethodCalls:
  20. Cake\Shell\Shell:
  21. - abort
  22. services:
  23. -
  24. class: Cake\PHPStan\AssociationTableMixinClassReflectionExtension
  25. tags:
  26. - phpstan.broker.methodsClassReflectionExtension
  27. - phpstan.broker.propertiesClassReflectionExtension