phpstan.neon 1.9 KB

12345678910111213141516171819202122232425262728293031323334
  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. - '#Access to undefined constant Memcached::OPT_CLIENT_MODE#'
  10. - '#Access to undefined constant Memcached::DYNAMIC_CLIENT_MODE#'
  11. - '#Access to undefined constant PDO::SQLSRV_ATTR_ENCODING#'
  12. - '#Access to undefined constant PDO::SQLSRV_ENCODING_BINARY#'
  13. - '#Constant XC_TYPE_VAR not found#'
  14. - '#Class PHPUnit_Runner_Version not found and could not be autoloaded#'
  15. - '#Call to an undefined method Psr\\Http\\Message\\ResponseInterface::getCookies\(\)#'
  16. - '#Access to an undefined property Psr\\Http\\Message\\UriInterface::\$webroot#'
  17. - '#Access to an undefined property Psr\\Http\\Message\\UriInterface::\$base#'
  18. - '#Result of method Cake\\Http\\Response::send\(\) \(void\) is used#'
  19. - '#Method Cake\\View\\Form\\ContextInterface::val\(\) invoked with 2 parameters, 1 required#'
  20. - '#Access to an undefined property Exception::\$queryString#'
  21. - '#Access to an undefined property PHPUnit\\Framework\\Test::\$fixtureManager#'
  22. - '#Method Redis::#'
  23. - '#Call to an undefined method Traversable::getArrayCopy().#'
  24. - '#Variable $config in isset\(\) is never defined#'
  25. earlyTerminatingMethodCalls:
  26. Cake\Shell\Shell:
  27. - abort
  28. services:
  29. -
  30. class: Cake\PHPStan\AssociationTableMixinClassReflectionExtension
  31. tags:
  32. - phpstan.broker.methodsClassReflectionExtension
  33. - phpstan.broker.propertiesClassReflectionExtension