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
* 3.4:
fixed CS
fixed short array CS in comments
fixed CS in ExpressionLanguage fixtures
fixed CS in generated files
fixed CS on generated container files
fixed CS on Form PHP templates
fixed CS on YAML fixtures
fixed fixtures
switched array() to []
$this->logger->info('An AuthenticationException was thrown; redirecting to authentication entry point.', array('exception' => $exception));
105
+
$this->logger->info('An AuthenticationException was thrown; redirecting to authentication entry point.', ['exception' => $exception]);
106
106
}
107
107
108
108
try {
@@ -120,7 +120,7 @@ private function handleAccessDeniedException(GetResponseForExceptionEvent $event
120
120
$token = $this->tokenStorage->getToken();
121
121
if (!$this->authenticationTrustResolver->isFullFledged($token)) {
122
122
if (null !== $this->logger) {
123
-
$this->logger->debug('Access denied, the user is not fully authenticated; redirecting to authentication entry point.', array('exception' => $exception));
123
+
$this->logger->debug('Access denied, the user is not fully authenticated; redirecting to authentication entry point.', ['exception' => $exception]);
124
124
}
125
125
126
126
try {
@@ -136,7 +136,7 @@ private function handleAccessDeniedException(GetResponseForExceptionEvent $event
136
136
}
137
137
138
138
if (null !== $this->logger) {
139
-
$this->logger->debug('Access denied, the user is neither anonymous, nor remember-me.', array('exception' => $exception));
139
+
$this->logger->debug('Access denied, the user is neither anonymous, nor remember-me.', ['exception' => $exception]);
140
140
}
141
141
142
142
try {
@@ -155,7 +155,7 @@ private function handleAccessDeniedException(GetResponseForExceptionEvent $event
155
155
}
156
156
} catch (\Exception$e) {
157
157
if (null !== $this->logger) {
158
-
$this->logger->error('An exception was thrown when handling an AccessDeniedException.', array('exception' => $e));
158
+
$this->logger->error('An exception was thrown when handling an AccessDeniedException.', ['exception' => $e]);
159
159
}
160
160
161
161
$event->setException(new \RuntimeException('Exception thrown when handling an exception.', 0, $e));
@@ -165,14 +165,14 @@ private function handleAccessDeniedException(GetResponseForExceptionEvent $event
0 commit comments