summaryrefslogtreecommitdiff
path: root/phpstan.neon.dist
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-12-04 15:46:59 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-12-05 08:22:57 +0000
commit1e752ebb8c1d6981a24de4cf91c5c290dbd906aa (patch)
treeabd672a34dd9ca84052f7290ce0b47438a7d888e /phpstan.neon.dist
parentf2e4327914f182916bda880a23cb699eeb72894f (diff)
downloadwebtrees-1e752ebb8c1d6981a24de4cf91c5c290dbd906aa.tar.gz
webtrees-1e752ebb8c1d6981a24de4cf91c5c290dbd906aa.tar.bz2
webtrees-1e752ebb8c1d6981a24de4cf91c5c290dbd906aa.zip
Code style - avoid new static
Diffstat (limited to 'phpstan.neon.dist')
-rw-r--r--phpstan.neon.dist9
1 files changed, 6 insertions, 3 deletions
diff --git a/phpstan.neon.dist b/phpstan.neon.dist
index 0448d8316b..db08c12008 100644
--- a/phpstan.neon.dist
+++ b/phpstan.neon.dist
@@ -3,6 +3,9 @@ includes:
parameters:
ignoreErrors:
- - '#Call to an undefined method Aura\\Router\\Map::extras\(\)\.#'
- - '#Call to an undefined method Illuminate\\Support\\Fluent::references\(\)\.#'
- - '#Call to an undefined method Illuminate\\Database\\Query\\Builder::whereContains\(\).#'
+ - '#^Call to an undefined method Aura\\Router\\Map::extras\(\)\.$#'
+ - '#^Call to an undefined method Illuminate\\Support\\Fluent::references\(\)\.$#'
+ - '#^Call to an undefined method Illuminate\\Database\\Query\\Builder::whereContains\(\).$#'
+ - '#^Parameter \#1 \$column of method Illuminate\\Database\\Query\\Builder::[a-zA-Z]+\(\) expects string, Illuminate\\Database\\Query\\Expression given\.$#'
+ - '#^Parameter \#1 \$column of method Illuminate\\Database\\Query\\Builder::[a-zA-Z]+\(\) expects array\|Closure\|string, Illuminate\\Database\\Query\\Expression given\.$#'
+ - '#^Parameter \#1 \$table of static method Illuminate\\Database\\Capsule\\Manager::table\(\) expects string, Illuminate\\Database\\Query\\Expression given\.$#'