Skip to content

Commit 7a8e235

Browse files
committed
GetIgnorePatternsTest: update ruleset fixture to include type attributes [2]
1 parent 7c9314a commit 7a8e235

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/Core/Ruleset/GetIgnorePatternsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static function dataGetIgnorePatterns()
8585
],
8686
'./tests/' => 'absolute',
8787
'./vendor/*' => 'absolute',
88-
'*/node-modules/*' => 'absolute',
88+
'*/node-modules/*' => 'relative',
8989
],
9090
],
9191
'Ignore patterns for PSR1.Classes.ClassDeclaration' => [

tests/Core/Ruleset/GetIgnorePatternsTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="GetIgnorePatternsTest" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/PHPCSStandards/PHP_CodeSniffer/master/phpcs.xsd">
33

44
<exclude-pattern>./tests/</exclude-pattern>
5-
<exclude-pattern>./vendor/*</exclude-pattern>
6-
<exclude-pattern>*/node-modules/*</exclude-pattern>
5+
<exclude-pattern type="absolute">./vendor/*</exclude-pattern>
6+
<exclude-pattern type="relative">*/node-modules/*</exclude-pattern>
77

88
<rule ref="PSR1"/>
99

0 commit comments

Comments
 (0)