Skip to content

Commit 0e64495

Browse files
committed
Install PHPStan in compiler
1 parent 3ab292a commit 0e64495

File tree

3 files changed

+23
-21
lines changed

3 files changed

+23
-21
lines changed

.github/workflows/phar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: "Compiler PHPStan"
5151
working-directory: "compiler"
52-
run: "../bin/phpstan analyse -l 8 src tests"
52+
run: "vendor/bin/phpstan analyse -l 8 src tests"
5353

5454
- name: "Prepare for PHAR compilation"
5555
working-directory: "compiler"

compiler/composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@
2424
}
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit": "^9.5.1",
28-
"phpstan/phpstan-phpunit": "^1.0"
27+
"phpstan/phpstan": "^2.1",
28+
"phpstan/phpstan-phpunit": "^2.0",
29+
"phpunit/phpunit": "^9.5.1"
2930
},
3031
"config": {
3132
"platform": {

compiler/composer.lock

Lines changed: 19 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)