Skip to content

Commit 3d28fe3

Browse files
committed
Use similar setup with ci
1 parent 2f848db commit 3d28fe3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/static-analysis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ jobs:
3131
- "8.1"
3232

3333
steps:
34-
- name: "Checkout code"
35-
uses: "actions/checkout@v2"
34+
- name: Checkout code
35+
uses: actions/checkout@v2
3636

37-
- name: "Install PHP"
38-
uses: "shivammathur/setup-php@v2"
37+
- name: Setup PHP
38+
uses: shivammathur/setup-php@v2
3939
with:
40-
coverage: "none"
41-
php-version: "${{ matrix.php-version }}"
42-
tools: "cs2pr"
40+
php-version: ${{ matrix.php }}
41+
tools: composer:v2
42+
coverage: none
4343

4444
- name: Install dependencies
4545
uses: nick-invision/retry@v1
@@ -49,4 +49,4 @@ jobs:
4949
command: COMPOSER_ROOT_VERSION=dev-master composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
5050

5151
- name: "Run a static analysis with phpstan/phpstan"
52-
run: "vendor/bin/phpstan --error-format=checkstyle | cs2pr"
52+
run: "vendor/bin/phpstan --error-format=checkstyle"

0 commit comments

Comments
 (0)