Skip to content

Commit 36c1df8

Browse files
Merge pull request #11 from szepeviktor/patch-1
Annotate PR-s with php-cs-fixer
2 parents eb04098 + 8488ef4 commit 36c1df8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
coverage: "pcov"
2525
php-version: "${{ matrix.php-version }}"
2626
ini-values: memory_limit=-1
27-
tools: composer:v2
27+
tools: composer:v2, cs2pr
2828
- name: "Use Cache"
2929
uses: "actions/cache@v2"
3030
with:
@@ -35,7 +35,7 @@ jobs:
3535
- name: "Install locked dependencies"
3636
run: "composer install --no-interaction --no-progress --no-suggest"
3737
- name: "Coding Standard"
38-
run: "vendor/bin/php-cs-fixer fix --dry-run -vvv"
38+
run: "vendor/bin/php-cs-fixer fix -vvv --dry-run --format=checkstyle | cs2pr"
3939

4040
type-analysis:
4141
name: "Type Coverage"

0 commit comments

Comments
 (0)