Skip to content

Commit 3d194da

Browse files
committed
moved phpstan deps to ci
1 parent af8bbaa commit 3d194da

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/code_checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Update project dependencies
3333
run: |
3434
composer update --no-interaction --no-progress --ansi
35-
composer require --dev "phpstan/phpstan:^1.10" "phpstan/phpstan-strict-rules:^1.5" "phpstan/phpstan-phpunit: ^1.3" "phpstan/phpstan-deprecation-rules:^1.1"
35+
composer require --dev "phpstan/phpstan:^2.1" "phpstan/phpstan-strict-rules:^2.0" "phpstan/phpstan-phpunit: ^2.0" "phpstan/phpstan-deprecation-rules:^2.0"
3636
3737
- name: Run PHPStan analysis
3838
run: |

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,7 @@
4747
},
4848
"require-dev": {
4949
"phpunit/phpunit": "^9|^10|^11",
50-
"symfony/http-client": "^6.4|^7.0|^8.0",
51-
"phpstan/phpstan": "^2.1",
52-
"phpstan/phpstan-strict-rules": "^2.0",
53-
"phpstan/phpstan-deprecation-rules": "^2.0"
50+
"symfony/http-client": "^6.4|^7.0|^8.0"
5451
},
5552
"autoload": {
5653
"psr-4": {

0 commit comments

Comments
 (0)