diff options
| -rw-r--r-- | phpstan-baseline.neon | 18 | ||||
| -rw-r--r-- | phpstan.neon.dist | 4 |
2 files changed, 4 insertions, 18 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index c6e3e12722..f88d4e5cdc 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1351,12 +1351,6 @@ parameters: path: app/Helpers/functions.php - - message: '#^Strict comparison using \=\=\= between ''\-dev'' and '''' will always evaluate to false\.$#' - identifier: identical.alwaysFalse - count: 1 - path: app/Helpers/functions.php - - - message: '#^Parameter \#1 \$host of method Psr\\Http\\Message\\UriInterface\:\:withHost\(\) expects string, string\|false given\.$#' identifier: argument.type count: 1 @@ -8329,18 +8323,6 @@ parameters: path: app/Webtrees.php - - message: '#^Strict comparison using \!\=\= between ''\-dev'' and '''' will always evaluate to true\.$#' - identifier: notIdentical.alwaysTrue - count: 1 - path: app/Webtrees.php - - - - message: '#^Ternary operator condition is always true\.$#' - identifier: ternary.alwaysTrue - count: 1 - path: app/Webtrees.php - - - message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, mixed given\.$#' identifier: argument.type count: 7 diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 0e770c2b82..099dbab885 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,5 +1,6 @@ includes: - phpstan-baseline.neon + - vendor/phpstan/phpstan/conf/bleedingEdge.neon parameters: fileExtensions: @@ -15,6 +16,9 @@ parameters: - resources/views - tests + dynamicConstantNames: + - Fisharebest\Webtrees\Webtrees::STABILITY + ignoreErrors: - '#^Call to an undefined method PHPUnit\\Framework\\MockObject\\Builder\\InvocationStubber::with\(\)\.$#' - '#^Cannot call method willReturn\(\) on mixed\.$#'
\ No newline at end of file |
