This repository was archived by the owner on May 27, 2026. It is now read-only.
Added file to warning message relative to the copy() call (#223) #259
This file contains hidden or 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
| # Check and fix PHP code style issues | |
| # Pull request: automatically fix PHP code style issues | |
| # Main branch: only check PHP code style issues since we don't have write permission | |
| name: Check and fix PHP code style issues | |
| on: | |
| push: | |
| paths: | |
| - '**.php' | |
| pull_request: | |
| paths: | |
| - '**.php' | |
| permissions: | |
| contents: write | |
| jobs: | |
| php-code-styling: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| - name: Check PHP code style issues | |
| if: github.event_name == 'push' | |
| uses: aglipanci/laravel-pint-action@2.5 | |
| with: | |
| verboseMode: true | |
| testMode: true | |
| - name: Fix PHP code style issues | |
| if: github.event_name == 'pull_request' | |
| uses: aglipanci/laravel-pint-action@2.5 | |
| - name: Commit changes | |
| if: github.event_name == 'pull_request' | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| with: | |
| commit_message: Fix styling | |