File tree 3 files changed +0
-32
lines changed
3 files changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,6 @@ public static function parseRulesetDataProvider(): array
22
22
#[DataProvider('parseRulesetDataProvider ' )]
23
23
public function testParsing (Rule $ record ): void
24
24
{
25
- if (array_key_exists ($ record ->name , $ this ->skipParsingRules )) {
26
- $ this ->markTestSkipped (
27
- 'Skipped " ' . $ record ->name . '": ' . $ this ->skipParsingRules [$ record ->name ]
28
- );
29
- }
30
-
31
25
try {
32
26
$ raw = implode (', ' , $ record ->raw );
33
27
$ parsedValue = Parser::{'parse ' . ucfirst ($ record ->header_type )}($ raw );
Original file line number Diff line number Diff line change 6
6
7
7
abstract class RulesetTestBase extends TestCase
8
8
{
9
- /**
10
- * An array of rules which should skip the parsing test.
11
- *
12
- * The element key should be the name of the rule, and the value should be
13
- * the message to provide for skipping the rule.
14
- *
15
- * @var array<string, string>
16
- */
17
- protected array $ skipParsingRules = [];
18
-
19
- /**
20
- * An array of rules which should skip the serializing test.
21
- *
22
- * The element key should be the name of the rule, and the value should be
23
- * the message to provide for skipping the rule.
24
- *
25
- * @var array<string, string>
26
- */
27
- protected array $ skipSerializingRules = [];
28
-
29
9
/**
30
10
* @return array<string, array{Rule}>
31
11
*/
Original file line number Diff line number Diff line change @@ -22,12 +22,6 @@ public static function serializeRulesetDataProvider(): array
22
22
#[DataProvider('serializeRulesetDataProvider ' )]
23
23
public function testSerializing (Rule $ record ): void
24
24
{
25
- if (array_key_exists ($ record ->name , $ this ->skipSerializingRules )) {
26
- $ this ->markTestSkipped (
27
- 'Skipped " ' . $ record ->name . '": ' . $ this ->skipSerializingRules [$ record ->name ]
28
- );
29
- }
30
-
31
25
try {
32
26
$ serializedValue = Serializer::{'serialize ' . ucfirst ($ record ->header_type )}($ record ->expected );
33
27
You can’t perform that action at this time.
0 commit comments