From 7c9314a3eb50aef5476120bd5c04ce96fbe0b3ce Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 22 Nov 2024 17:54:25 +0100 Subject: [PATCH] GetIgnorePatternsTest: update ruleset fixture to include `type` attributes --- tests/Core/Ruleset/GetIgnorePatternsTest.php | 4 ++-- tests/Core/Ruleset/GetIgnorePatternsTest.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Core/Ruleset/GetIgnorePatternsTest.php b/tests/Core/Ruleset/GetIgnorePatternsTest.php index a8f4db43b8..5ba78378a3 100644 --- a/tests/Core/Ruleset/GetIgnorePatternsTest.php +++ b/tests/Core/Ruleset/GetIgnorePatternsTest.php @@ -78,7 +78,7 @@ public static function dataGetIgnorePatterns() 'expected' => [ 'PSR1.Classes.ClassDeclaration' => [ './src/*/file.php' => 'absolute', - './bin/' => 'absolute', + './bin/' => 'relative', ], 'Generic.Formatting.SpaceAfterCast' => [ './src/*/test\\.php$' => 'absolute', @@ -92,7 +92,7 @@ public static function dataGetIgnorePatterns() 'listener' => 'PSR1.Classes.ClassDeclaration', 'expected' => [ './src/*/file.php' => 'absolute', - './bin/' => 'absolute', + './bin/' => 'relative', ], ], 'Ignore patterns for Generic.Formatting.SpaceAfterCast' => [ diff --git a/tests/Core/Ruleset/GetIgnorePatternsTest.xml b/tests/Core/Ruleset/GetIgnorePatternsTest.xml index ed2533ba81..e933d31705 100644 --- a/tests/Core/Ruleset/GetIgnorePatternsTest.xml +++ b/tests/Core/Ruleset/GetIgnorePatternsTest.xml @@ -8,8 +8,8 @@ - ./src/*/file.php - ./bin/ + ./src/*/file.php + ./bin/