Skip to content

Commit

Permalink
Auto-pusher for code style fixer (#70)
Browse files Browse the repository at this point in the history
* Added CS Fixer, corrected code for compliance with PER 2.0

* fix github workflow

* Fix rule for anonymous classes
Revert src/Test/Proto

* Fix rule for anonymous classes
Revert src/Test/Proto

* Revert src/Test/Proto/Metadata/Message.php

* Automatically apply php-cs-fixer changes

* Test CS fixer

* Apply php-cs-fixer changes

---------

Co-authored-by: chachanagov <chachanagov@users.noreply.github.com>
  • Loading branch information
chachanagov and chachanagov authored May 7, 2024
1 parent b2707f1 commit 277c3cb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cs-fixser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,10 @@ jobs:

- name: Check Coding Standards
run: vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --diff -vvv --using-cache=no

- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply php-cs-fixer changes
branch: ${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 277c3cb

Please sign in to comment.