Skip to content

Commit 23d2806

Browse files
committed
Upgrade phpstan to version 2
1 parent d400c63 commit 23d2806

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
"gedmo/doctrine-extensions": "^3.19.0"
2222
},
2323
"require-dev": {
24-
"phpstan/phpstan": "^1.10",
25-
"phpstan/phpstan-deprecation-rules": "^1.1",
26-
"phpstan/phpstan-phpunit": "^1.3",
27-
"phpstan/phpstan-strict-rules": "^1.5",
28-
"phpstan/phpstan-symfony": "^1.3",
24+
"phpstan/phpstan": "^2.1",
25+
"phpstan/phpstan-deprecation-rules": "^2.0",
26+
"phpstan/phpstan-phpunit": "^2.0",
27+
"phpstan/phpstan-strict-rules": "^2.0",
28+
"phpstan/phpstan-symfony": "^2.0",
2929
"symfony/mime": "^5.4 || ^6.0 || ^7.0",
3030
"symfony/phpunit-bridge": "^v6.4.1 || ^7.0.1",
3131
"symfony/security-core": "^5.4 || ^6.0 || ^7.0"

src/EventListener/IpTraceListener.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ public function onKernelRequest(RequestEvent $event): void
3333
}
3434
}
3535

36-
/**
37-
* @return array<string, array<int, int|string>>
38-
*/
3936
public static function getSubscribedEvents(): array
4037
{
4138
return array(

0 commit comments

Comments
 (0)