We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e199ea2 commit d6dec66Copy full SHA for d6dec66
.github/workflows/lint.yml
@@ -9,7 +9,7 @@ on:
9
- master
10
11
jobs:
12
- tests:
+ lint:
13
name: "Lint"
14
15
runs-on: ubuntu-latest
@@ -27,10 +27,12 @@ jobs:
27
- name: "Install PHP"
28
uses: "shivammathur/setup-php@v2"
29
with:
30
- coverage: "none"
+ php-version: "${{ matrix.php-version }}"
31
extensions: "intl"
32
ini-values: "memory_limit=-1, error_reporting=E_ALL, display_errors=On"
33
- php-version: "${{ matrix.php-version }}"
+ coverage: "none"
34
+ tools: parallel-lint, cs2pr
35
36
- name: "Lint PHP files"
- run: "find src/ -type f -name '*.php' -print0 | xargs -0 -L1 -P4 -- php -l -f"
37
+ run: |
38
+ parallel-lint . --checkstyle | cs2pr
0 commit comments