From 45e205dc4935c4dc2b2ec4d93fe35726ecb12374 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 Jan 2024 12:28:24 +0000 Subject: [PATCH] chore(deps): update dependency friendsofphp/php-cs-fixer to v3.45.0 --- .github/workflows/autoformat.yml | 7 +++++-- composer.json | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/autoformat.yml b/.github/workflows/autoformat.yml index cff69efae..49781fa4d 100644 --- a/.github/workflows/autoformat.yml +++ b/.github/workflows/autoformat.yml @@ -2,8 +2,6 @@ name: Autoformat on: push: - branches: - - '*' jobs: composer-normalize: @@ -54,6 +52,11 @@ jobs: php-cs-fixer: runs-on: ubuntu-latest + + permissions: + # Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository. + contents: write + steps: - uses: actions/checkout@v4 with: diff --git a/composer.json b/composer.json index 7ddf75806..d9d21b06b 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "amphp/http-server": "^2.1", "dms/phpunit-arraysubset-asserts": "dev-master", "ergebnis/composer-normalize": "^2.28", - "friendsofphp/php-cs-fixer": "3.30.0", + "friendsofphp/php-cs-fixer": "3.45.0", "mll-lab/php-cs-fixer-config": "^5", "nyholm/psr7": "^1.5", "phpbench/phpbench": "^1.2",