diff --git a/.github/workflows/composer-json-lint.yml b/.github/workflows/composer-json-lint.yml index 12f35f8..f80136b 100644 --- a/.github/workflows/composer-json-lint.yml +++ b/.github/workflows/composer-json-lint.yml @@ -19,7 +19,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v4" - name: "Install PHP" uses: "shivammathur/setup-php@v2" diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml index c0e7862..e3b3a94 100644 --- a/.github/workflows/php-cs-fixer.yml +++ b/.github/workflows/php-cs-fixer.yml @@ -22,7 +22,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v4" - name: "Install PHP" uses: "shivammathur/setup-php@v2" diff --git a/src/PhpCsFixer/Rules.php b/src/PhpCsFixer/Rules.php index a7b5ac5..4bb4ee2 100644 --- a/src/PhpCsFixer/Rules.php +++ b/src/PhpCsFixer/Rules.php @@ -5,7 +5,7 @@ namespace Mollie\PhpCodingStandards\PhpCsFixer; /* - * Last updated for php-cs-fixer version: 3.64.0 + * Last updated for php-cs-fixer version: 3.89.2 */ class Rules { @@ -217,7 +217,7 @@ private static function getBaseRules(): array 'types_spaces' => [ 'space' => 'single', // Added to keep previous behaviour with the cs-fixer 3.1.0 upgrade. ], - 'visibility_required' => [ + 'modifier_keywords' => [ 'elements' => [ 'const', 'method', 'property', ],