Skip to content

Commit 3884487

Browse files
committed
fixed phpstan
1 parent 36238c6 commit 3884487

File tree

1 file changed

+22
-27
lines changed

1 file changed

+22
-27
lines changed

phpstan-baseline.neon

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -325,31 +325,6 @@ parameters:
325325
count: 1
326326
path: src/lib/Mapper/ContentImageAssetMapperStrategy.php
327327

328-
-
329-
message: "#^Cannot access property \\$attributes on Symfony\\\\Component\\\\HttpFoundation\\\\Request\\|null\\.$#"
330-
count: 2
331-
path: src/lib/Mutation/Authentication.php
332-
333-
-
334-
message: "#^Method Ibexa\\\\GraphQL\\\\Mutation\\\\Authentication\\:\\:createToken\\(\\) has parameter \\$args with no type specified\\.$#"
335-
count: 1
336-
path: src/lib/Mutation/Authentication.php
337-
338-
-
339-
message: "#^Method Ibexa\\\\GraphQL\\\\Mutation\\\\Authentication\\:\\:createToken\\(\\) return type has no value type specified in iterable type array\\.$#"
340-
count: 1
341-
path: src/lib/Mutation/Authentication.php
342-
343-
-
344-
message: "#^Parameter \\#1 \\$request of method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Security\\\\Authentication\\\\AuthenticatorInterface\\:\\:authenticate\\(\\) expects Symfony\\\\Component\\\\HttpFoundation\\\\Request, Symfony\\\\Component\\\\HttpFoundation\\\\Request\\|null given\\.$#"
345-
count: 1
346-
path: src/lib/Mutation/Authentication.php
347-
348-
-
349-
message: "#^Parameter \\#1 \\$wrappedUser of class Ibexa\\\\GraphQL\\\\Security\\\\JWTUser constructor expects Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
350-
count: 1
351-
path: src/lib/Mutation/Authentication.php
352-
353328
-
354329
message: "#^Method Ibexa\\\\GraphQL\\\\Mutation\\\\InputHandler\\\\FieldType\\\\BinaryFile\\:\\:toFieldValue\\(\\) has parameter \\$input with no type specified\\.$#"
355330
count: 1
@@ -2331,9 +2306,29 @@ parameters:
23312306
path: src/lib/Schema/Worker.php
23322307

23332308
-
2334-
message: "#^Method Ibexa\\\\GraphQL\\\\Security\\\\NonAdminGraphQLRequestMatcher\\:\\:__construct\\(\\) has parameter \\$siteAccessGroups with no value type specified in iterable type array\\.$#"
2309+
message: "#^Access to an undefined property GraphQL\\\\Language\\\\AST\\\\BooleanValueNode\\|GraphQL\\\\Language\\\\AST\\\\EnumValueNode\\|GraphQL\\\\Language\\\\AST\\\\FloatValueNode\\|GraphQL\\\\Language\\\\AST\\\\IntValueNode\\|GraphQL\\\\Language\\\\AST\\\\ListValueNode\\|GraphQL\\\\Language\\\\AST\\\\NullValueNode\\|GraphQL\\\\Language\\\\AST\\\\ObjectValueNode\\|GraphQL\\\\Language\\\\AST\\\\StringValueNode\\|GraphQL\\\\Language\\\\AST\\\\VariableNode\\:\\:\\$value\\.$#"
2310+
count: 1
2311+
path: src/lib/Security/JWTAuthenticator.php
2312+
2313+
-
2314+
message: "#^Parameter \\#1 \\$user of method Lexik\\\\Bundle\\\\JWTAuthenticationBundle\\\\Services\\\\JWTTokenManagerInterface\\:\\:create\\(\\) expects Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
2315+
count: 1
2316+
path: src/lib/Security/JWTAuthenticator.php
2317+
2318+
-
2319+
message: "#^Cannot call method getContent\\(\\) on Symfony\\\\Component\\\\HttpFoundation\\\\Response\\|null\\.$#"
2320+
count: 1
2321+
path: src/lib/Security/JWTTokenMutationFormatEventSubscriber.php
2322+
2323+
-
2324+
message: "#^Cannot call method setContent\\(\\) on Symfony\\\\Component\\\\HttpFoundation\\\\Response\\|null\\.$#"
2325+
count: 1
2326+
path: src/lib/Security/JWTTokenMutationFormatEventSubscriber.php
2327+
2328+
-
2329+
message: "#^Method Ibexa\\\\GraphQL\\\\Security\\\\JWTTokenMutationFormatEventSubscriber\\:\\:formatMutationResponseData\\(\\) should return string but returns string\\|false\\.$#"
23352330
count: 1
2336-
path: src/lib/Security/NonAdminGraphQLRequestMatcher.php
2331+
path: src/lib/Security/JWTTokenMutationFormatEventSubscriber.php
23372332

23382333
-
23392334
message: "#^Cannot cast object to string\\.$#"

0 commit comments

Comments
 (0)