From ee96103c5593d3ba9063f853a900205725e5c196 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 04:16:06 +0000 Subject: [PATCH 1/3] Bump stefanzweifel/git-auto-commit-action from 4 to 5 Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4 to 5. - [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases) - [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4...v5) --- updated-dependencies: - dependency-name: stefanzweifel/git-auto-commit-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yaml | 2 +- .github/workflows/draft-release.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cac8d86..c7a3322 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,6 +20,6 @@ jobs: uses: docker://oskarstark/php-cs-fixer-ga - name: Apply php-cs-fixer changes - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Apply php-cs-fixer changes diff --git a/.github/workflows/draft-release.yaml b/.github/workflows/draft-release.yaml index 154ec64..e0d21af 100644 --- a/.github/workflows/draft-release.yaml +++ b/.github/workflows/draft-release.yaml @@ -37,6 +37,6 @@ jobs: sed -i "s/CLIENT_VERSION = 'v.*';/CLIENT_VERSION = '${{ needs.update-release-draft.outputs.draft-version }}';/g" src/Powerdns.php - name: Apply version changes - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Auto update drafter version in CLIENT_VERSION From fc717cb8f3c006bcbbaea418beca8205e9059a77 Mon Sep 17 00:00:00 2001 From: Robbin Janssen Date: Mon, 9 Oct 2023 07:10:07 +0000 Subject: [PATCH 2/3] Add CI permissions --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c7a3322..d176c68 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,6 +11,8 @@ jobs: check-code-style: name: Check code style runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout repository From e78ffad89480842709ea1199bc9d88a864a0f31e Mon Sep 17 00:00:00 2001 From: robbinjanssen Date: Mon, 9 Oct 2023 07:10:35 +0000 Subject: [PATCH 3/3] Apply php-cs-fixer changes --- src/Exceptions/InvalidChangeType.php | 4 +--- src/Exceptions/InvalidKindType.php | 4 +--- src/Exceptions/InvalidMetaKind.php | 4 +--- src/Exceptions/InvalidNsec3Param.php | 4 +--- src/Exceptions/InvalidRecordType.php | 4 +--- src/Exceptions/InvalidSoaEditType.php | 4 +--- src/Exceptions/PowerdnsException.php | 4 +--- src/Exceptions/ReadOnlyException.php | 4 +--- src/Exceptions/ValidationException.php | 4 +--- 9 files changed, 9 insertions(+), 27 deletions(-) diff --git a/src/Exceptions/InvalidChangeType.php b/src/Exceptions/InvalidChangeType.php index 9ea0e64..240c75f 100644 --- a/src/Exceptions/InvalidChangeType.php +++ b/src/Exceptions/InvalidChangeType.php @@ -2,6 +2,4 @@ namespace Exonet\Powerdns\Exceptions; -class InvalidChangeType extends PowerdnsException -{ -} +class InvalidChangeType extends PowerdnsException {} diff --git a/src/Exceptions/InvalidKindType.php b/src/Exceptions/InvalidKindType.php index d249428..a3da7f4 100644 --- a/src/Exceptions/InvalidKindType.php +++ b/src/Exceptions/InvalidKindType.php @@ -2,6 +2,4 @@ namespace Exonet\Powerdns\Exceptions; -class InvalidKindType extends PowerdnsException -{ -} +class InvalidKindType extends PowerdnsException {} diff --git a/src/Exceptions/InvalidMetaKind.php b/src/Exceptions/InvalidMetaKind.php index 4eb39cc..a746eab 100644 --- a/src/Exceptions/InvalidMetaKind.php +++ b/src/Exceptions/InvalidMetaKind.php @@ -2,6 +2,4 @@ namespace Exonet\Powerdns\Exceptions; -class InvalidMetaKind extends PowerdnsException -{ -} +class InvalidMetaKind extends PowerdnsException {} diff --git a/src/Exceptions/InvalidNsec3Param.php b/src/Exceptions/InvalidNsec3Param.php index c685a7c..c2939ed 100644 --- a/src/Exceptions/InvalidNsec3Param.php +++ b/src/Exceptions/InvalidNsec3Param.php @@ -2,6 +2,4 @@ namespace Exonet\Powerdns\Exceptions; -class InvalidNsec3Param extends PowerdnsException -{ -} +class InvalidNsec3Param extends PowerdnsException {} diff --git a/src/Exceptions/InvalidRecordType.php b/src/Exceptions/InvalidRecordType.php index 45f3a67..e08d3ed 100644 --- a/src/Exceptions/InvalidRecordType.php +++ b/src/Exceptions/InvalidRecordType.php @@ -2,6 +2,4 @@ namespace Exonet\Powerdns\Exceptions; -class InvalidRecordType extends PowerdnsException -{ -} +class InvalidRecordType extends PowerdnsException {} diff --git a/src/Exceptions/InvalidSoaEditType.php b/src/Exceptions/InvalidSoaEditType.php index 513554e..733a0d4 100644 --- a/src/Exceptions/InvalidSoaEditType.php +++ b/src/Exceptions/InvalidSoaEditType.php @@ -2,6 +2,4 @@ namespace Exonet\Powerdns\Exceptions; -class InvalidSoaEditType extends PowerdnsException -{ -} +class InvalidSoaEditType extends PowerdnsException {} diff --git a/src/Exceptions/PowerdnsException.php b/src/Exceptions/PowerdnsException.php index e93e64a..34cf672 100644 --- a/src/Exceptions/PowerdnsException.php +++ b/src/Exceptions/PowerdnsException.php @@ -4,6 +4,4 @@ use Exception; -class PowerdnsException extends Exception -{ -} +class PowerdnsException extends Exception {} diff --git a/src/Exceptions/ReadOnlyException.php b/src/Exceptions/ReadOnlyException.php index fea1309..e41c572 100644 --- a/src/Exceptions/ReadOnlyException.php +++ b/src/Exceptions/ReadOnlyException.php @@ -2,6 +2,4 @@ namespace Exonet\Powerdns\Exceptions; -class ReadOnlyException extends PowerdnsException -{ -} +class ReadOnlyException extends PowerdnsException {} diff --git a/src/Exceptions/ValidationException.php b/src/Exceptions/ValidationException.php index e3e674c..bb18102 100644 --- a/src/Exceptions/ValidationException.php +++ b/src/Exceptions/ValidationException.php @@ -2,6 +2,4 @@ namespace Exonet\Powerdns\Exceptions; -class ValidationException extends PowerdnsException -{ -} +class ValidationException extends PowerdnsException {}