diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cac8d86..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 @@ -20,6 +22,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 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 {}