Skip to content

Commit 4dbbf5c

Browse files
committed
Remote PHPStan
1 parent d48741f commit 4dbbf5c

File tree

2 files changed

+1
-28
lines changed

2 files changed

+1
-28
lines changed

.github/workflows/static-analysis.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,3 @@ jobs:
3232

3333
- name: "Run PHPStan"
3434
run: "vendor/bin/phpstan analyse --error-format=checkstyle --no-progress | cs2pr"
35-
36-
# static-analysis-psalm:
37-
# name: "Psalm"
38-
# runs-on: "ubuntu-latest"
39-
#
40-
# strategy:
41-
# matrix:
42-
# php-version:
43-
# - "7.4"
44-
#
45-
# steps:
46-
# - name: "Checkout code"
47-
# uses: "actions/checkout@v2"
48-
#
49-
# - name: "Install PHP"
50-
# uses: "shivammathur/setup-php@v2"
51-
# with:
52-
# coverage: "none"
53-
# php-version: "${{ matrix.php-version }}"
54-
#
55-
# - name: "Install dependencies with Composer"
56-
# uses: "ramsey/composer-install@v1"
57-
#
58-
# - name: "Run a static analysis with vimeo/psalm"
59-
# run: "vendor/bin/psalm --show-info=false --stats --output-format=github --threads=$(nproc)"

composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
"phpunit/phpunit": ">=8.5.23 || ^9.3",
5858
"php-http/guzzle7-adapter": "^0.1",
5959
"monolog/monolog": ">=1.11.0",
60-
"vimeo/psalm": "^4",
6160
"php-http/cache-plugin": "^1.7",
6261
"jeroen/psr-log-test-doubles": "^2.1 || ^3"
6362
},
@@ -66,8 +65,7 @@
6665
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml coverage",
6766
"test-coverage": "php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-html build/coverage",
6867
"test-cs": "vendor/bin/phpcs",
69-
"test-phpstan": "vendor/bin/phpstan analyse",
70-
"test-psalm": "vendor/bin/psalm lib/"
68+
"test-phpstan": "vendor/bin/phpstan analyse"
7169
},
7270
"suggest": {
7371
"psr/log-implementation": "If you wish to enable logging features, provide an PSR-3 logger.",

0 commit comments

Comments
 (0)