[ci] Add PHP Linter (#4188)

This commit is contained in:
Tomas Votruba 2020-09-11 00:05:34 +02:00 committed by GitHub
parent f5f7ba76af
commit 33b9ac6fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,10 @@ jobs:
bin/rector sync-types
bin/rector check-static-type-mappers
-
name: 'PHP Linter'
run: vendor/bin/parallel-lint src tests packages --exclude packages/rector-generator/templates
name: ${{ matrix.actions.name }}
runs-on: ubuntu-latest

View File

@ -48,6 +48,7 @@
"migrify/easy-ci": "^0.3.31",
"nette/application": "^3.0",
"nette/forms": "^3.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpunit/phpunit": "^8.5|^9.2",
"psr/event-dispatcher": "^1.0",
"slam/phpstan-extensions": "^5.0",