phpstan.neon 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. - '#Call to an undefined method Psr\\Http\\Message\\ResponseInterface::getCookies\(\)#'
  15. - '#Access to an undefined property Psr\\Http\\Message\\UriInterface::\$webroot#'
  16. - '#Access to an undefined property Psr\\Http\\Message\\UriInterface::\$base#'
  17. - '#Result of method Cake\\Http\\Response::send\(\) \(void\) is used#'
  18. - '#Method Cake\\View\\Form\\ContextInterface::val\(\) invoked with 2 parameters, 1 required#'
  19. - '#Access to an undefined property Exception::\$queryString#'
  20. - '#Access to an undefined property PHPUnit\\Framework\\Test::\$fixtureManager#'
  21. - '#Method Redis::#'
  22. - '#Call to an undefined method Traversable::getArrayCopy().#'
  23. - '#Variable \$config in isset\(\) is never defined#'
  24. - '#Call to static method id\(\) on an unknown class PHPUnit_Runner_Version#'
  25. - '#Call to an undefined method DateTimeInterface::i18nFormat\(\)#'
  26. - '#Call to an undefined method object::__toString\(\)#'
  27. - '#Call to an undefined method object::toArray\(\)#'
  28. - '#Call to an undefined method object::__debugInfo\(\)#'
  29. - '#Call to an undefined static method Cake\\ORM\\TableRegistry::getConfig\(\)#'
  30. earlyTerminatingMethodCalls:
  31. Cake\Shell\Shell:
  32. - abort
  33. services:
  34. -
  35. class: Cake\PHPStan\AssociationTableMixinClassReflectionExtension
  36. tags:
  37. - phpstan.broker.methodsClassReflectionExtension
  38. - phpstan.broker.propertiesClassReflectionExtension