Skip to content

Commit ccee952

Browse files
committed
GitHub Actions: Add PHP Parallel Lint
1 parent 0f890a0 commit ccee952

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/testing.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
- name: Install dependencies
3434
run: composer update --prefer-dist --no-progress
3535

36+
- name: Check PHP syntax with PHP Parallel Lint
37+
run: ./vendor/bin/parallel-lint src/ tests/
38+
3639
- name: Run Psalm static code analysis
3740
run: ./vendor/bin/psalm
3841

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"phpunit/phpunit": "<8.0"
3333
},
3434
"require-dev": {
35+
"php-parallel-lint/php-parallel-lint": "^1.2",
3536
"vimeo/psalm": "^4.5",
3637
"phpunit/phpunit": "^8",
3738
"mockery/mockery": "^1.3",

0 commit comments

Comments
 (0)