Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 9baa532

Browse files
committed
style : debug
1 parent df9e279 commit 9baa532

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/coding-standard.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ jobs:
2727
tools: composer, composer-prefetcher, cs2pr
2828

2929
- name: "Install Narrowspark coding standard"
30-
run: composer global require narrowspark/coding-standard:3.4.0 --no-interaction --no-progress --profile --no-suggest --optimize-autoloader
30+
run: |
31+
composer global require narrowspark/coding-standard:3.4.0 --no-interaction --no-progress --profile --no-suggest --optimize-autoloader
32+
# can be removed if bug with ClassAttributesSeparationFixer is fixed in newer version
33+
composer global require friendsofphp/php-cs-fixer:2.16.x-dev
3134
3235
- name: "lint php code"
3336
run: |
3437
cd $GITHUB_WORKSPACE
35-
/home/runner/.composer/vendor/bin/php-cs-fixer fix --config=$GITHUB_WORKSPACE/.php_cs -v --dry-run --diff
36-
37-
# /home/runner/.composer/vendor/bin/php-cs-fixer fix --config=$GITHUB_WORKSPACE/.php_cs -v --dry-run --format=checkstyle | cs2pr
38+
/home/runner/.composer/vendor/bin/php-cs-fixer fix --config=$GITHUB_WORKSPACE/.php_cs -v --dry-run --format=checkstyle | cs2pr

0 commit comments

Comments
 (0)