Browse Source

fix RuleSet merge issues

SpacePossum 4 years ago
parent
commit
611a5a88eb

+ 0 - 2
doc/ruleSets/PHPUnit75MigrationRisky.rst

@@ -9,5 +9,3 @@ Rules
 
 - `@PHPUnit60Migration:risky <./PHPUnit60MigrationRisky.rst>`_
 - `php_unit_dedicate_assert_internal_type <./../rules/php_unit/php_unit_dedicate_assert_internal_type.rst>`_
-  config:
-  ``['target' => '7.5']``

+ 2 - 6
doc/rules/php_unit/php_unit_dedicate_assert_internal_type.rst

@@ -53,11 +53,7 @@ Rule sets
 The rule is part of the following rule sets:
 
 @PHPUnit75Migration:risky
-  Using the `@PHPUnit75Migration:risky <./../../ruleSets/PHPUnit75MigrationRisky.rst>`_ rule set will enable the ``php_unit_dedicate_assert_internal_type`` rule with the config below:
-
-  ``['target' => '7.5']``
+  Using the `@PHPUnit75Migration:risky <./../../ruleSets/PHPUnit75MigrationRisky.rst>`_ rule set will enable the ``php_unit_dedicate_assert_internal_type`` rule with the default config.
 
 @PHPUnit84Migration:risky
-  Using the `@PHPUnit84Migration:risky <./../../ruleSets/PHPUnit84MigrationRisky.rst>`_ rule set will enable the ``php_unit_dedicate_assert_internal_type`` rule with the config below:
-
-  ``['target' => '7.5']``
+  Using the `@PHPUnit84Migration:risky <./../../ruleSets/PHPUnit84MigrationRisky.rst>`_ rule set will enable the ``php_unit_dedicate_assert_internal_type`` rule with the default config.

+ 1 - 3
src/RuleSet/Sets/PHPUnit75MigrationRiskySet.php

@@ -23,9 +23,7 @@ final class PHPUnit75MigrationRiskySet extends AbstractRuleSetDescription
     {
         return [
             '@PHPUnit60Migration:risky' => true,
-            'php_unit_dedicate_assert_internal_type' => [
-                'target' => '7.5',
-            ],
+            'php_unit_dedicate_assert_internal_type' => true,
         ];
     }