File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments