summaryrefslogtreecommitdiff
path: root/phpstan-baseline.neon
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2024-12-24 16:50:05 +0000
committerGreg Roach <greg@subaqua.co.uk>2024-12-25 14:28:40 +0000
commite6365463283af2b3886b16c360fea927fc89449d (patch)
tree1cb56a778339a8a87ee11e7834de4d605a1bdff1 /phpstan-baseline.neon
parent940ddb350f2fc61c499563e095b4902dffd3b962 (diff)
downloadwebtrees-e6365463283af2b3886b16c360fea927fc89449d.tar.gz
webtrees-e6365463283af2b3886b16c360fea927fc89449d.tar.bz2
webtrees-e6365463283af2b3886b16c360fea927fc89449d.zip
Fix: #5083 - php-whois library is abandoned. Write our own.
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon30
1 files changed, 30 insertions, 0 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 0a2de60015..46aeb7d3e3 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -7339,6 +7339,36 @@ parameters:
path: app/Services/ModuleService.php
-
+ message: '#^Parameter \$stream of function fwrite expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Services/NetworkService.php
+
+ -
+ message: '#^Parameter \$stream of function stream_get_contents expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Services/NetworkService.php
+
+ -
+ message: '#^Parameter \$stream of function stream_set_timeout expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Services/NetworkService.php
+
+ -
+ message: '#^Parameter \$subject of function preg_match_all expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Services/NetworkService.php
+
+ -
+ message: '#^Variable \$stream might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: app/Services/NetworkService.php
+
+ -
message: '#^Binary operation "\." between mixed and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1