phpstan.neon 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. parameters:
  2. autoload_files:
  3. - 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. - '#Access to an undefined property Psr\\Http\\Message\\UriInterface::\$webroot#'
  15. - '#Access to an undefined property Psr\\Http\\Message\\UriInterface::\$base#'
  16. - '#Result of method Cake\\Http\\Response::send\(\) \(void\) is used#'
  17. - '#Method Cake\\View\\Form\\ContextInterface::val\(\) invoked with 2 parameters, 1 required#'
  18. - '#Access to an undefined property Exception::\$queryString#'
  19. - '#Access to an undefined property PHPUnit\\Framework\\Test::\$fixtureManager#'
  20. - '#Method Redis::#'
  21. - '#Call to an undefined method Traversable::getArrayCopy().#'
  22. - '#Variable \$config in isset\(\) is never defined#'
  23. - '#Call to static method id\(\) on an unknown class PHPUnit_Runner_Version#'
  24. - '#Call to an undefined method DateTimeInterface::i18nFormat\(\)#'
  25. - '#Cannot call method lastInsertId\(\) on null#'
  26. - '#Call to an undefined method Cake\\Auth\\Storage\\StorageInterface::getConfig\(\)#'
  27. - '#Call to an undefined method Cake\\Auth\\Storage\\StorageInterface::setConfig\(\)#'
  28. - '#Variable \$_SESSION in isset\(\) always exists and is not nullable#'
  29. - '#PHPDoc tag @throws with type PHPUnit\\Exception is not subtype of Throwable#'
  30. - '#Call to an undefined method PHPUnit\\Framework\\MockObject\\MockObject#'
  31. earlyTerminatingMethodCalls:
  32. Cake\Console\Shell:
  33. - abort
  34. services:
  35. -
  36. class: Cake\PHPStan\AssociationTableMixinClassReflectionExtension
  37. tags:
  38. - phpstan.broker.methodsClassReflectionExtension
  39. - phpstan.broker.propertiesClassReflectionExtension