We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db5d961 commit 4d8fb0bCopy full SHA for 4d8fb0b
.github/workflows/phpci.yml
@@ -22,5 +22,13 @@ jobs:
22
# run: phpstan analyse src
23
#- name: Setup problem matchers for Psalm
24
# run: psalm --output-format=github
25
- - name: Run PHPCS
26
- run: phpcs -q --report=checkstyle cs2pr
+ - name: PHP Coding Standards Fixer
+ run: php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
27
+ #- name: Run PHPCS
28
+ # run: phpcs --report=checkstyle -q /path/to/code | cs2pr
29
+ - name: Check PHP code style
30
+ id: phpcs
31
+ run: phpcs --report-full --report-checkstyle=./phpcs-report.xml
32
+ - name: Show PHPCS results in PR
33
+ if: ${{ always() && steps.phpcs.outcome == 'failure' }}
34
+ run: cs2pr ./phpcs-report.xml
0 commit comments