From 5691c5ce2c50abc93d199a58e47c023a5e7ae65a Mon Sep 17 00:00:00 2001 From: Paul Brand Date: Tue, 8 Oct 2024 13:52:38 +0200 Subject: [PATCH] Remove fixer, some phpunit non-static method calls were fixed to static calls For instance `$this->once()` to `self::once()` --- src/PhpCsFixer/Rules.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/PhpCsFixer/Rules.php b/src/PhpCsFixer/Rules.php index 9802235..48a5efa 100644 --- a/src/PhpCsFixer/Rules.php +++ b/src/PhpCsFixer/Rules.php @@ -183,9 +183,6 @@ private static function getBaseRules(): array 'php_unit_construct' => true, 'php_unit_dedicate_assert_internal_type' => true, 'php_unit_method_casing' => true, - 'php_unit_test_case_static_method_calls' => [ - 'call_type' => 'self', - ], 'phpdoc_annotation_without_dot' => false, // Sometimes comments have a good reason to end with a dot. Leave this up to the engineer. 'phpdoc_no_alias_tag' => [ 'replacements' => [