File tree Expand file tree Collapse file tree 2 files changed +30
-6
lines changed Expand file tree Collapse file tree 2 files changed +30
-6
lines changed Original file line number Diff line number Diff line change 1+ name : PHP CS Fixer
2+
3+ on :
4+ push :
5+ paths :
6+ - ' **/*.php'
7+ pull_request :
8+ paths :
9+ - ' **/*.php'
10+
11+ jobs :
12+ php-cs-fixer :
13+ name : PHP CS Fixer
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v3
19+
20+ - name : Set up PHP
21+ uses : shivammathur/setup-php@v2
22+ with :
23+ php-version : 8.2
24+ tools : composer
25+
26+ - name : Install dependencies
27+ run : composer install --no-progress --prefer-dist
28+
29+ - name : Run PHP CS Fixer
30+ run : vendor/bin/php-cs-fixer fix --dry-run --diff --allow-risky=yes
Original file line number Diff line number Diff line change @@ -2,9 +2,6 @@ name: CI Pipeline
22
33on :
44 push :
5- branches :
6-
7- - setup-phpcs-fixer-1954016256
85 pull_request :
96
107concurrency :
3633 - name : Install dependencies
3734 run : composer install --no-progress --prefer-dist
3835
39- - name : Check Code Style with PHP CS Fixer
40- run : vendor/bin/php-cs-fixer fix --dry-run --diff --allow-risky=yes
41-
4236 - name : Run Tests without phpunit.xml
4337 run : vendor/bin/phpunit --configuration phpunit.dist.xml
You can’t perform that action at this time.
0 commit comments