diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2021-10-13 15:40:24 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2021-10-13 15:44:37 +0100 |
| commit | c72b7fa45c395eaae8c6500e313146f9f94a1211 (patch) | |
| tree | c71be6a33f705b5f2855a9ca7f12434021f55ee8 /phpstan-baseline.neon | |
| parent | ae0ec45d7f2daa875104ff3019682d81ddae09d1 (diff) | |
| download | webtrees-c72b7fa45c395eaae8c6500e313146f9f94a1211.tar.gz webtrees-c72b7fa45c395eaae8c6500e313146f9f94a1211.tar.bz2 webtrees-c72b7fa45c395eaae8c6500e313146f9f94a1211.zip | |
Avoid array parameters to preg_replace to simplify strict type checks
Diffstat (limited to 'phpstan-baseline.neon')
| -rw-r--r-- | phpstan-baseline.neon | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index bcbe82df7f..7ef89e2d3f 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -646,7 +646,7 @@ parameters: - message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, string\\|null given\\.$#" - count: 2 + count: 5 path: app/Individual.php - @@ -825,6 +825,11 @@ parameters: path: app/Module/FixDuplicateLinks.php - + message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, string\\|null given\\.$#" + count: 2 + path: app/Module/FixDuplicateLinks.php + + - message: "#^Method Fisharebest\\\\Webtrees\\\\Module\\\\FixMissingDeaths\\:\\:mergePendingRecords\\(\\) should return Illuminate\\\\Support\\\\Collection&iterable\\<stdClass\\> but returns Illuminate\\\\Support\\\\Collection&iterable\\<string\\>\\.$#" count: 1 path: app/Module/FixMissingDeaths.php @@ -840,6 +845,11 @@ parameters: path: app/Module/FixNameSlashesAndSpaces.php - + message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, string\\|null given\\.$#" + count: 1 + path: app/Module/FixNameSlashesAndSpaces.php + + - message: "#^Method Fisharebest\\\\Webtrees\\\\Module\\\\FixNameTags\\:\\:mergePendingRecords\\(\\) should return Illuminate\\\\Support\\\\Collection&iterable\\<stdClass\\> but returns Illuminate\\\\Support\\\\Collection&iterable\\<string\\>\\.$#" count: 1 path: app/Module/FixNameTags.php |
