We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1106d65 commit 07ec92cCopy full SHA for 07ec92c
.github/workflows/phpstan.yml
@@ -25,14 +25,13 @@ jobs:
25
with:
26
php-version: '7.4'
27
coverage: none
28
-
29
- - name: 'Composer: require PHPStan'
30
- run: composer require --no-update --dev phpstan/phpstan
+ tools: phpstan
31
32
# Install dependencies and handle caching in one go.
+ # Dependencies need to be installed to make sure the PHPUnit classes are recognized.
33
# @link https://github.com/marketplace/actions/install-composer-dependencies
34
- name: Install Composer dependencies
35
uses: "ramsey/composer-install@v1"
36
37
- name: Run PHPStan
38
- run: vendor/bin/phpstan analyse --configuration=phpstan.neon
+ run: phpstan analyse --configuration=phpstan.neon
0 commit comments