diff --git a/.github/workflows/fix-cs-php.yml b/.github/workflows/fix-cs-php.yml index ee70d70..ba59f55 100644 --- a/.github/workflows/fix-cs-php.yml +++ b/.github/workflows/fix-cs-php.yml @@ -21,9 +21,9 @@ jobs: ref: ${{ github.head_ref }} - name: Run PHP-CS-Fixer - uses: docker://oskarstark/php-cs-fixer-ga:2.19.0 + uses: docker://oskarstark/php-cs-fixer-ga:3.11.0 - name: Commit and push back changes uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: "Fix CS with PHP-CS-Fixer 2.19.0" + commit_message: "Fix CS with PHP-CS-Fixer" diff --git a/.gitignore b/.gitignore index c3a69b8..36f8ffd 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ vendor/ composer.lock phpunit.xml .phpunit.result.cache -.php_cs.cache +.php-cs-fixer.cache diff --git a/.php_cs.dist b/.php-cs-fixer.dist.php similarity index 95% rename from .php_cs.dist rename to .php-cs-fixer.dist.php index f1cbcce..7b5b41e 100644 --- a/.php_cs.dist +++ b/.php-cs-fixer.dist.php @@ -1,6 +1,6 @@ setRules([ '@Symfony' => true, '@Symfony:risky' => true, diff --git a/tests/Entity/NewsletterTest.php b/tests/Entity/NewsletterTest.php index cb77fd5..f193499 100644 --- a/tests/Entity/NewsletterTest.php +++ b/tests/Entity/NewsletterTest.php @@ -9,6 +9,7 @@ class NewsletterTest extends TestCase { /** * @test + * * @doesNotPerformAssertions */ public function can_be_constructed() diff --git a/tests/Entity/PendingOptInTest.php b/tests/Entity/PendingOptInTest.php index 90c8ae9..c1af600 100644 --- a/tests/Entity/PendingOptInTest.php +++ b/tests/Entity/PendingOptInTest.php @@ -37,6 +37,7 @@ public function registrationDate_is_added_if_omitted(): void /** * @test + * * @doesNotPerformAssertions */ public function static_construction_with_newsletters(): void @@ -54,6 +55,7 @@ public function static_construction_with_newsletters(): void /** * @test + * * @doesNotPerformAssertions */ public function static_construction_without_newsletters(): void diff --git a/tests/Entity/RecipientTest.php b/tests/Entity/RecipientTest.php index b04e4c4..b84643b 100644 --- a/tests/Entity/RecipientTest.php +++ b/tests/Entity/RecipientTest.php @@ -50,6 +50,7 @@ public function static_construction_with_newsletters() /** * @test + * * @doesNotPerformAssertions */ public function static_construction_without_newsletters()