Skip to content

Commit 40cd7a7

Browse files
committed
use phpstan 2
1 parent b1e9ed0 commit 40cd7a7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/static.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
uses: actions/checkout@v4
1717

1818
- name: Pull in optional dependencies
19-
run: composer require --no-update jean-beru/fos-http-cache-cloudfront twig/twig symfony/console
20-
19+
run: composer require --no-update jean-beru/fos-http-cache-cloudfront twig/twig symfony/console phpstan/phpstan-symfony
20+
2121
- name: PHPStan
2222
uses: docker://oskarstark/phpstan-ga
2323
with:

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
"symfony/routing": "^6.4 || ^7.0",
5858
"matthiasnoback/symfony-config-test": "^4.3.0 || ^5.1",
5959
"matthiasnoback/symfony-dependency-injection-test": "^4.3.1 || ^5.0",
60-
"phpstan/phpstan": "^1.10",
61-
"phpstan/phpstan-symfony": "^1.3",
62-
"phpstan/extension-installer": "^1.3",
60+
"phpstan/phpstan": "^2",
61+
"phpstan/phpstan-symfony": "^2",
62+
"phpstan/extension-installer": "^1.4",
6363
"jean-beru/fos-http-cache-cloudfront": "^1.1",
6464
"friendsofphp/php-cs-fixer": "^3.54"
6565
},

0 commit comments

Comments
 (0)