xref: /webtrees/phpstan.neon.dist (revision adc7663c20386cc04e6ca00e6551224a1310fd73)
1includes:
2	- phpstan-baseline.neon
3
4parameters:
5    dynamicConstantNames:
6        - Webtrees::DEBUG
7        - Webtrees::ERROR_REPORTING
8    ignoreErrors:
9        - '#^Call to an undefined static method Illuminate\\Database\\Capsule\\Manager::query\(\)\.$#'
10        - '#^Call to an undefined method Aura\\Router\\Map::extras\(\)\.$#'
11        - '#^Parameter \#1 \$column of method Illuminate\\Database\\Query\\Builder::having\(\) expects string, Illuminate\\Database\\Query\\Expression given\.$#'
12        - '#^Parameter \#1 \$column of method Illuminate\\Database\\Query\\Builder::orWhere\(\) expects array\|Closure\|string, Illuminate\\Database\\Query\\Expression\|string given\.$#'
13        - '#^Parameter \#1 \$column of method Illuminate\\Database\\Query\\Builder::orWhere\(\) expects array\|Closure\|string, Illuminate\\Database\\Query\\Expression given\.$#'
14        - '#^Parameter \#1 \$column of method Illuminate\\Database\\Query\\Builder::pluck\(\) expects string, Illuminate\\Database\\Query\\Expression given\.$#'
15        - '#^Parameter \#1 \$column of method Illuminate\\Database\\Query\\Builder::whereNotIn\(\) expects string, Illuminate\\Database\\Query\\Expression given\.$#'
16        - '#^Parameter \#1 \$table of static method Illuminate\\Database\\Capsule\\Manager::table\(\) expects Closure\|Illuminate\\Database\\Query\\Builder\|string, Illuminate\\Database\\Query\\Expression given\.$#'
17        - '#^Parameter \#1 \$column of method Illuminate\\Database\\Query\\Builder::where\(\) expects array\|Closure\|string, Illuminate\\Database\\Query\\Expression given\.$#'
18        - '#^Parameter \#2 \$key of method Illuminate\\Database\\Query\\Builder::pluck\(\) expects string\|null, Illuminate\\Database\\Query\\Expression given.$#'
19        - '#^Access to an undefined property object::\$[A-Za-z0-9_]+\.$#'
20