forked from cakephp/cakephp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
43 lines (42 loc) · 2.61 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
parameters:
autoload_files:
- tests/bootstrap.php
ignoreErrors:
- '#Constant MCRYPT_[A-Z0-9_]+ not found#'
- '#Cake\\Database\\Type\\[a-zA-Z0-9_]+Type::__construct\(\) does not call parent constructor from Cake\\Database\\Type#'
- '#Constructor of class Cake\\[a-zA-Z0-9_\\]+ has an unused parameter#'
- '#Access to undefined constant Memcached::OPT_CLIENT_MODE#'
- '#Access to undefined constant Memcached::DYNAMIC_CLIENT_MODE#'
- '#Access to undefined constant PDO::SQLSRV_ATTR_ENCODING#'
- '#Access to undefined constant PDO::SQLSRV_ENCODING_BINARY#'
- '#Constant XC_TYPE_VAR not found#'
- '#Access to an undefined property Psr\\Http\\Message\\UriInterface::\$webroot#'
- '#Access to an undefined property Psr\\Http\\Message\\UriInterface::\$base#'
- '#Result of method Cake\\Http\\Response::send\(\) \(void\) is used#'
- '#Method Cake\\View\\Form\\ContextInterface::val\(\) invoked with 2 parameters, 1 required#'
- '#Access to an undefined property Exception::\$queryString#'
- '#Access to an undefined property PHPUnit\\Framework\\Test::\$fixtureManager#'
- '#Call to an undefined method Traversable::getArrayCopy().#'
- '#Variable \$config in isset\(\) is never defined#'
- '#Variable \$plural in isset\(\) is never defined#'
- '#Variable \$context in isset\(\) is never defined#'
- '#Call to static method id\(\) on an unknown class PHPUnit_Runner_Version#'
- '#Call to an undefined method DateTimeInterface::i18nFormat\(\)#'
- '#Cannot call method lastInsertId\(\) on null#'
- '#Call to an undefined method Cake\\Auth\\Storage\\StorageInterface::getConfig\(\)#'
- '#Call to an undefined method Cake\\Auth\\Storage\\StorageInterface::setConfig\(\)#'
- '#Variable \$_SESSION in isset\(\) always exists and is not nullable#'
- '#PHPDoc tag @throws with type PHPUnit\\Exception is not subtype of Throwable#'
- '#Call to an undefined method PHPUnit\\Framework\\MockObject\\MockObject#'
- '#Call to an undefined method DOMNode::setAttribute\(\)#'
- '#Binary operation "\+" between array|false and array results in an error#'
- '#Result of method Cake\\Auth\\BaseAuthenticate::unauthenticated\(\) \(void\) is used#'
earlyTerminatingMethodCalls:
Cake\Console\Shell:
- abort
services:
-
class: Cake\PHPStan\AssociationTableMixinClassReflectionExtension
tags:
- phpstan.broker.methodsClassReflectionExtension
- phpstan.broker.propertiesClassReflectionExtension