diff --git a/.github/workflows/code_analysis.yaml b/.github/workflows/code_analysis.yaml index 7bf4b252725..12cef293a75 100644 --- a/.github/workflows/code_analysis.yaml +++ b/.github/workflows/code_analysis.yaml @@ -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 diff --git a/composer.json b/composer.json index 5f3f7b7e48c..1890d670dd0 100644 --- a/composer.json +++ b/composer.json @@ -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",