Skip to content

Commit 44a0939

Browse files
Bereite Symfony 6 Kompatibilität vor (Case 157813) (#19)
1 parent 6127dc4 commit 44a0939

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
"doctrine/orm": "^2.2",
2727
"doctrine/persistence": "^1.3.8 | ^2.1",
2828
"psr/log": "^1.0",
29-
"symfony/config": "^2.0|^3.0|^4.0|^5.0",
30-
"symfony/dependency-injection": "^2.0|^3.0|^4.0|^5.0",
31-
"symfony/event-dispatcher": "^2.0|^3.0|^4.0|^5.0",
32-
"symfony/http-kernel": "^4.3|^5.0"
29+
"symfony/config": "^2.0|^3.0|^4.0|^5.0|^6.0",
30+
"symfony/dependency-injection": "^2.0|^3.0|^4.0|^5.0|^6.0",
31+
"symfony/event-dispatcher": "^2.0|^3.0|^4.0|^5.0|^6.0",
32+
"symfony/http-kernel": "^4.3|^5.0|^6.0"
3333
},
3434

3535
"require-dev": {
3636
"phpunit/phpunit": "^8.5.22",
37-
"symfony/error-handler": "^4.4|^5.0",
37+
"symfony/error-handler": "^4.4|^5.0|^6.0",
3838
"symfony/phpunit-bridge": ">= 4.4",
3939
"webfactory/doctrine-orm-test-infrastructure": "^1.9"
4040
},

src/EventListener/LocaleListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function onKernelRequest(RequestEvent $event)
3939
$this->defaultLocaleProvider->setDefaultLocale($event->getRequest()->getLocale());
4040
}
4141

42-
public static function getSubscribedEvents()
42+
public static function getSubscribedEvents(): array
4343
{
4444
return [
4545
KernelEvents::REQUEST => 'onKernelRequest',

0 commit comments

Comments
 (0)