Skip to content

Update symfony/dependency-injection requirement from ^5.0 || ^6.0 to ^7.1.2 #794

Update symfony/dependency-injection requirement from ^5.0 || ^6.0 to ^7.1.2

Update symfony/dependency-injection requirement from ^5.0 || ^6.0 to ^7.1.2 #794

Workflow file for this run

name: Format (PHP)
on:
pull_request:
branches:
- main
- 2.0
jobs:
php-cs-fixer:
runs-on: ubuntu-latest
# dont run jobs on forks, because we are not allowed to commit
# workaround for missing secret in fork PRs - see https://github.com/actions/checkout/issues/298
# see https://github.com/rectorphp/rector/commit/d395e1c28b8e6a56711dcc2e10490a82965850e4
if: github.event.pull_request.draft == false && github.repository == 'TYPO3/Surf' && github.actor != 'dependabot[bot]'
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.PHP_CS_FIXER }}
ref: ${{ github.head_ref }}
- uses: shivammathur/setup-php@v2
with:
php-version: 7.4
coverage: none # disable xdebug, pcov
- uses: "ramsey/composer-install@v2"
- name: Run php-cs-fixer
run: vendor/bin/php-cs-fixer fix --diff
- name: "Commit changed files"
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply php-cs-fixer changes
branch: ${{ github.head_ref }}