forked from cakephp/cakephp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
27 lines (26 loc) · 1.26 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
parameters:
autoload_files:
- %rootDir%/../../../src/basics.php
ignoreErrors:
- '#Function wincache_ucache_[a-zA-Z0-9_]+ not found#'
- '#Function xcache_[a-zA-Z0-9_]+ not found#'
- '#Function fastcgi_[a-zA-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#'
- '#Call to an undefined method Cake\\Console\\Shell::main\(\)#'
- '#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#'
- '#Access to an undefined property Cake\\Http\\Client\\Message::\$headers#'
- '#Access to an undefined property Cake\\[a-zA-Z0-9_\\]+::\$_validViewOptions#'
- '#Access to an undefined property Cake\\Database\\Driver::\$_connection#'
earlyTerminatingMethodCalls:
Cake\Shell\Shell:
- abort
services:
-
class: Cake\PHPStan\AssociationTableMixinClassReflectionExtension
tags:
- phpstan.broker.methodsClassReflectionExtension
- phpstan.broker.propertiesClassReflectionExtension