Refactor Codebase to use modern PHP features using Rector #111
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Format PHP | |
on: pull_request | |
jobs: | |
php-cs-fixer: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Run php-cs-fixer | |
uses: docker://oskarstark/php-cs-fixer-ga | |
- uses: stefanzweifel/[email protected] | |
with: | |
commit_message: Apply php-cs-fixer changes | |
branch: ${{ github.head_ref }} |