File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ # Update this by running
2+ # curl https://gist.github.com/mpdude/ca93a185bcbf56eb7e341632ad4f8263/raw/fix-cs-php.yml > .github/workflows/fix-cs-php.yml
3+
14on :
25 push :
36 branches :
710name : Coding Standards
811
912jobs :
10- open-pr-for- cs-violations :
13+ fix- cs-issues :
1114 name : PHP-CS-Fixer
1215 runs-on : ubuntu-22.04
16+ if : github.actor != 'dependabot[bot]'
1317 steps :
1418 - name : Checkout code
1519 uses : actions/checkout@v4
1620 with :
1721 ref : ${{ github.head_ref }}
1822
1923 - name : Run PHP-CS-Fixer
20- uses : docker://ghcr.io/webfactory/php-cs-fixer:3.62.0
24+ uses : docker://ghcr.io/php-cs-fixer/php-cs-fixer:3.62.0-php8.3
25+ with :
26+ args : " fix --show-progress=dots"
2127
2228 - name : Commit and push back changes
23- uses : stefanzweifel/git-auto-commit-action@v4
29+ uses : stefanzweifel/git-auto-commit-action@v5
2430 with :
2531 commit_message : " Fix CS with PHP-CS-Fixer"
You can’t perform that action at this time.
0 commit comments