phpstan.neon 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. parameters:
  2. autoload_files:
  3. - tests/bootstrap.php
  4. ignoreErrors:
  5. - '#Constant MCRYPT_[A-Z0-9_]+ not found#'
  6. - '#Cake\\Database\\Type\\[a-zA-Z0-9_]+Type::__construct\(\) does not call parent constructor from Cake\\Database\\Type#'
  7. - '#Constructor of class Cake\\[a-zA-Z0-9_\\]+ has an unused parameter#'
  8. - '#Access to undefined constant Memcached::OPT_CLIENT_MODE#'
  9. - '#Access to undefined constant Memcached::DYNAMIC_CLIENT_MODE#'
  10. - '#Access to undefined constant PDO::SQLSRV_ATTR_ENCODING#'
  11. - '#Access to undefined constant PDO::SQLSRV_ENCODING_BINARY#'
  12. - '#Constant XC_TYPE_VAR not found#'
  13. - '#Access to an undefined property Psr\\Http\\Message\\UriInterface::\$webroot#'
  14. - '#Access to an undefined property Psr\\Http\\Message\\UriInterface::\$base#'
  15. - '#Result of method Cake\\Http\\Response::send\(\) \(void\) is used#'
  16. - '#Method Cake\\View\\Form\\ContextInterface::val\(\) invoked with 2 parameters, 1 required#'
  17. - '#Access to an undefined property Exception::\$queryString#'
  18. - '#Access to an undefined property PHPUnit\\Framework\\Test::\$fixtureManager#'
  19. - '#Call to an undefined method Traversable::getArrayCopy().#'
  20. - '#Call to static method id\(\) on an unknown class PHPUnit_Runner_Version#'
  21. - '#Call to an undefined method DateTimeInterface::i18nFormat\(\)#'
  22. - '#Cannot call method lastInsertId\(\) on null#'
  23. - '#Call to an undefined method Cake\\Auth\\Storage\\StorageInterface::getConfig\(\)#'
  24. - '#Call to an undefined method Cake\\Auth\\Storage\\StorageInterface::setConfig\(\)#'
  25. - '#Variable \$_SESSION in isset\(\) always exists and is not nullable#'
  26. - '#PHPDoc tag @throws with type PHPUnit\\Exception is not subtype of Throwable#'
  27. - '#Call to an undefined method DOMNode::setAttribute\(\)#'
  28. - '#Binary operation "\+" between array|false and array results in an error#'
  29. - '#Call to an undefined method DateTimeInterface::setTimezone\(\)#'
  30. - '#Access to undefined constant NumberFormatter::CURRENCY_ACCOUNTING#'
  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