Skip to content

Commit e6f4cf5

Browse files
committed
phpstan-baseline.neon: adpat ignored patterns to PHP 7.4
1 parent 9a4ab8b commit e6f4cf5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

phpstan-baseline.neon

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ parameters:
121121
path: code_samples/api/public_php_api/src/Controller/CustomFilterController.php
122122

123123
-
124-
message: '#^Parameter \#1 \$string of function base64_encode expects string, string\|false given\.$#'
124+
message: '#^Parameter \#1 \$str(ing)? of function base64_encode expects string, string\|false given\.$#'
125125
identifier: argument.type
126126
count: 1
127127
path: code_samples/api/rest_api/create_image.json.php
@@ -151,7 +151,7 @@ parameters:
151151
path: code_samples/api/rest_api/create_image.xml.php
152152

153153
-
154-
message: '#^Parameter \#1 \$string of function base64_encode expects string, string\|false given\.$#'
154+
message: '#^Parameter \#1 \$str(ing)? of function base64_encode expects string, string\|false given\.$#'
155155
identifier: argument.type
156156
count: 1
157157
path: code_samples/api/rest_api/create_image.xml.php
@@ -181,13 +181,13 @@ parameters:
181181
path: code_samples/api/rest_api/src/Rest/ValueObjectVisitor/RestLocation.php
182182

183183
-
184-
message: '#^Parameter \#1 \.\.\.\$arrays of function array_merge expects array, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\URLAlias\> given\.$#'
184+
message: '#^Parameter \#1 (\.\.\.\$arrays|\$arr1) of function array_merge expects array, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\URLAlias\> given\.$#'
185185
identifier: argument.type
186186
count: 1
187187
path: code_samples/api/rest_api/src/Rest/ValueObjectVisitor/RestLocation.php
188188

189189
-
190-
message: '#^Parameter \#2 \.\.\.\$arrays of function array_merge expects array, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\URLAlias\> given\.$#'
190+
message: '#^Parameter \#2 \.\.\.\$ar(rays|gs) of function array_merge expects array, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\URLAlias\> given\.$#'
191191
identifier: argument.type
192192
count: 1
193193
path: code_samples/api/rest_api/src/Rest/ValueObjectVisitor/RestLocation.php

0 commit comments

Comments
 (0)