updated PetstoreBundle namespace into ZGWToVrijBRPBundle #2
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: php-cbf | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
tools: cs2pr, phpcbf | |
- name: Run phpcbf | |
run: phpcbf . | |
continue-on-error: true | |
- name: Git commit | |
run: | | |
git config user.name "GitHub Actions" | |
git config user.email "" | |
git add src | |
git commit -m "Update src from PHP Codesniffer" || echo "No changes to commit" | |
git pull origin $(git rev-parse --abbrev-ref HEAD) --rebase --autostash | |
git push |