File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
1316 if : github.actor != 'dependabot[bot]'
1821 ref : ${{ github.head_ref }}
1922
2023 - name : Run PHP-CS-Fixer
21- 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"
2227
2328 - name : Commit and push back changes
24- uses : stefanzweifel/git-auto-commit-action@v4
29+ uses : stefanzweifel/git-auto-commit-action@v5
2530 with :
2631 commit_message : " Fix CS with PHP-CS-Fixer"
You can’t perform that action at this time.
0 commit comments