Skip to content

Commit 3e3c8ac

Browse files
committed
Added phpstan & cs2pr to workflow
1 parent 62164b4 commit 3e3c8ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/Test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,13 @@ jobs:
3030
php-version: ${{ matrix.php }}
3131
extensions: json
3232
coverage: none
33-
tools: phpunit
33+
tools: cs2pr, phpstan, phpunit
3434
env:
3535
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636

37+
- name: Run PHPStan
38+
run: phpstan analyse --error-format=checkstyle src | cs2pr
39+
3740
- name: Setup problem matchers for PHPUnit
3841
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
3942

0 commit comments

Comments
 (0)