diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2022-02-15 09:59:01 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2022-02-18 08:43:18 +0000 |
| commit | 1c6adce825f16611bd8b75a22114302de4b41cfe (patch) | |
| tree | 637405c351f9c4f686d5b88bc3c9b3b3092d0be1 /phpstan-baseline.neon | |
| parent | 6f6acc7a1debce8fb3392dc3c800623417f681b4 (diff) | |
| download | webtrees-1c6adce825f16611bd8b75a22114302de4b41cfe.tar.gz webtrees-1c6adce825f16611bd8b75a22114302de4b41cfe.tar.bz2 webtrees-1c6adce825f16611bd8b75a22114302de4b41cfe.zip | |
Fix: #1663 - add support for ANSEL encoding
Diffstat (limited to 'phpstan-baseline.neon')
| -rw-r--r-- | phpstan-baseline.neon | 60 |
1 files changed, 40 insertions, 20 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 3a19624f66..737a8d5ebe 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -86,6 +86,21 @@ parameters: path: app/Elements/XrefMedia.php - + message: "#^Method Fisharebest\\\\Webtrees\\\\Encodings\\\\ANSEL\\:\\:fromUtf8\\(\\) should return string but returns string\\|null\\.$#" + count: 1 + path: app/Encodings/ANSEL.php + + - + message: "#^Parameter \\#1 \\$str of function strtr expects string, string\\|null given\\.$#" + count: 1 + path: app/Encodings/ANSEL.php + + - + message: "#^Parameter \\#2 \\$array of function array_map expects array, array\\<int, string\\>\\|false given\\.$#" + count: 1 + path: app/Encodings/AbstractEncoding.php + + - message: "#^Anonymous function should return int but returns float\\|int\\.$#" count: 1 path: app/Fact.php @@ -346,6 +361,11 @@ parameters: path: app/Functions/FunctionsImport.php - + message: "#^Cannot call method fromUtf8\\(\\) on Fisharebest\\\\Webtrees\\\\Encodings\\\\EncodingInterface\\|null\\.$#" + count: 2 + path: app/GedcomFilters/GedcomEncodingFilter.php + + - message: "#^Cannot call method acceptRecord\\(\\) on mixed\\.$#" count: 3 path: app/GedcomRecord.php @@ -866,16 +886,6 @@ parameters: path: app/Http/RequestHandlers/GedcomLoad.php - - message: "#^Cannot access property \\$chunk_data on object\\|null\\.$#" - count: 3 - path: app/Http/RequestHandlers/GedcomLoad.php - - - - message: "#^Cannot access property \\$gedcom_chunk_id on object\\|null\\.$#" - count: 1 - path: app/Http/RequestHandlers/GedcomLoad.php - - - message: "#^Variable \\$progress on left side of \\?\\? always exists and is not nullable\\.$#" count: 1 path: app/Http/RequestHandlers/GedcomLoad.php @@ -1616,16 +1626,6 @@ parameters: path: app/Module/ClippingsCartModule.php - - message: "#^Parameter \\#2 \\$user of static method Fisharebest\\\\Webtrees\\\\Auth\\:\\:isManager\\(\\) expects Fisharebest\\\\Webtrees\\\\Contracts\\\\UserInterface\\|null, mixed given\\.$#" - count: 1 - path: app/Module/ClippingsCartModule.php - - - - message: "#^Parameter \\#2 \\$user of static method Fisharebest\\\\Webtrees\\\\Auth\\:\\:isMember\\(\\) expects Fisharebest\\\\Webtrees\\\\Contracts\\\\UserInterface\\|null, mixed given\\.$#" - count: 1 - path: app/Module/ClippingsCartModule.php - - - message: "#^Argument of an invalid type array\\<int, string\\>\\|false supplied for foreach, only iterables are supported\\.$#" count: 1 path: app/Module/CloudsTheme.php @@ -3459,6 +3459,26 @@ parameters: path: app/Services/SiteLogsService.php - + message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|null given\\.$#" + count: 1 + path: app/Services/TreeService.php + + - + message: "#^Parameter \\#1 \\$fp of function feof expects resource, resource\\|null given\\.$#" + count: 1 + path: app/Services/TreeService.php + + - + message: "#^Parameter \\#1 \\$fp of function fread expects resource, resource\\|null given\\.$#" + count: 1 + path: app/Services/TreeService.php + + - + message: "#^Parameter \\#1 \\$stream of function stream_filter_append expects resource, resource\\|null given\\.$#" + count: 1 + path: app/Services/TreeService.php + + - message: "#^Method Fisharebest\\\\Webtrees\\\\Services\\\\UpgradeService\\:\\:downloadFile\\(\\) should return int but returns int\\|false\\.$#" count: 1 path: app/Services/UpgradeService.php |
