Skip to content

Commit c6eaf20

Browse files
committed
Dusting
1 parent ccdf8d6 commit c6eaf20

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/ExcludedPathTest.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,6 @@ protected function setUp(): void
1717
$this->root = realpath(sys_get_temp_dir());
1818
}
1919

20-
private function isOnExcludeList(string $filepath): bool
21-
{
22-
$command = new LintCommand(sys_get_temp_dir());
23-
24-
$method = new ReflectionMethod($command, 'isOnExcludeList');
25-
26-
return $method->invoke($command, $filepath);
27-
}
28-
2920
/** @test */
3021
public function it_excludes_root_vendor_directory()
3122
{
@@ -90,4 +81,13 @@ public function it_excludes_storage_framework_views_directory()
9081

9182
$this->assertTrue($this->isOnExcludeList("{$this->root}{$DS}storage{$DS}framework{$DS}views{$DS}cached.php"));
9283
}
84+
85+
private function isOnExcludeList(string $filepath): bool
86+
{
87+
$command = new LintCommand(sys_get_temp_dir());
88+
89+
$method = new ReflectionMethod($command, 'isOnExcludeList');
90+
91+
return $method->invoke($command, $filepath);
92+
}
9393
}

0 commit comments

Comments
 (0)