You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message: '#^Cannot call method isTokenValid\(\) on Symfony\\Component\\Security\\Csrf\\CsrfTokenManagerInterface\|null\.$#'
155
-
identifier: method.nonObject
156
-
count: 1
157
-
path: src/bundle/EventListener/CsrfListener.php
158
-
159
153
-
160
154
message: '#^Method Ibexa\\Bundle\\Rest\\EventListener\\CsrfListener\:\:getSubscribedEvents\(\) return type has no value type specified in iterable type array\.$#'
message: '#^Property Ibexa\\Rest\\Server\\Controller\\SessionController\:\:\$csrfTokenManager \(Ibexa\\Rest\\Server\\Security\\CsrfTokenManager\) does not accept Ibexa\\Rest\\Server\\Security\\CsrfTokenManager\|null\.$#'
message: '#^Property Ibexa\\Rest\\Server\\Controller\\SessionController\:\:\$csrfTokenStorage \(Symfony\\Component\\Security\\Csrf\\TokenStorage\\TokenStorageInterface\) does not accept Symfony\\Component\\Security\\Csrf\\TokenStorage\\TokenStorageInterface\|null\.$#'
message: '#^Method Ibexa\\Rest\\Server\\Security\\RestLogoutHandler\:\:logout\(\) has no return type specified\.$#'
4403
4373
identifier: missingType.return
@@ -4506,24 +4476,12 @@ parameters:
4506
4476
count: 1
4507
4477
path: src/lib/Server/Values/RestContent.php
4508
4478
4509
-
-
4510
-
message: '#^Property Ibexa\\Rest\\Server\\Values\\RestContentType\:\:\$fieldDefinitions \(array\<Ibexa\\Contracts\\Core\\Repository\\Values\\ContentType\\FieldDefinition\>\) does not accept array\<Ibexa\\Contracts\\Core\\Repository\\Values\\ContentType\\FieldDefinition\>\|null\.$#'
4511
-
identifier: assign.propertyType
4512
-
count: 1
4513
-
path: src/lib/Server/Values/RestContentType.php
4514
-
4515
4479
-
4516
4480
message: '#^Property Ibexa\\Rest\\Server\\Values\\RestLocationUpdateStruct\:\:\$hidden \(bool\) does not accept bool\|null\.$#'
message: '#^Property Ibexa\\Rest\\Server\\Values\\RoleAssignment\:\:\$limitation \(Ibexa\\Contracts\\Core\\Repository\\Values\\User\\Limitation\\RoleLimitation\) does not accept Ibexa\\Contracts\\Core\\Repository\\Values\\User\\Limitation\\RoleLimitation\|null\.$#'
4523
-
identifier: assign.propertyType
4524
-
count: 1
4525
-
path: src/lib/Server/Values/RoleAssignment.php
4526
-
4527
4485
-
4528
4486
message: '#^Access to an undefined property Ibexa\\Rest\\Server\\Values\\SeeOther\:\:\$redirectUri\.$#'
@@ -128,7 +128,7 @@ public function authenticate(Request $request)
128
128
$user = $token->getUser();
129
129
if (!$userinstanceof IbexaUser) {
130
130
if ($this->logger) {
131
-
$this->logger->error('REST: Authenticated user must be Ibexa\\Core\\MVC\\Symfony\\Security\\User, got ' . is_string($user) ? $user : get_class($user));
131
+
$this->logger->error('REST: Authenticated user must be Ibexa\\Core\\MVC\\Symfony\\Security\\User, got ' . (is_string($user) ? $user : get_class($user)));
132
132
}
133
133
134
134
$e = newInvalidUserTypeException('Authenticated user is not an Ibexa User.');
@@ -169,7 +169,7 @@ private function attemptAuthentication(Request $request)
0 commit comments