Skip to content

Commit 38cc0f2

Browse files
committed
phpstan local bin
1 parent 23100f5 commit 38cc0f2

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
tests export-ignore
1010
vendor export-ignore
1111
actions.phpunit.xml export-ignore
12-
12+
phpstan.phar export-ignore

.github/workflows/tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,6 @@ jobs:
6262
## install composer
6363
- name: Install dependencies
6464
run: composer install $DEFAULT_COMPOSER_FLAGS
65-
if: matrix.php == '8.1' || matrix.php == '8.0' || matrix.php == '7.4' || matrix.php == '7.3' || matrix.php == '7.2'
66-
67-
## install composer but remove phpstan for older systems
68-
- name: Install dependencies
69-
run: composer remove phpstan/phpstan && composer install $DEFAULT_COMPOSER_FLAGS
70-
if: matrix.php == '7.1' || matrix.php == '7.0' || matrix.php == '5.6'
7165

7266
## run unit tests
7367
- name: PHP Unit tests for PHP

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,14 @@
2828
"ext-curl": "*"
2929
},
3030
"require-dev": {
31-
"yoast/phpunit-polyfills": "^0.2.0",
32-
"phpstan/phpstan": "^1.9"
31+
"yoast/phpunit-polyfills": "^0.2.0"
3332
},
3433
"autoload": {
3534
"psr-0": {
3635
"Curl": "src/"
3736
}
3837
},
3938
"scripts": {
40-
"phpstan": "vendor/bin/phpstan -v"
39+
"phpstan": "./phpstan.phar -v"
4140
}
4241
}

phpstan.phar

20.2 MB
Binary file not shown.

0 commit comments

Comments
 (0)