File tree Expand file tree Collapse file tree 3 files changed +3
-10
lines changed
Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -91,8 +91,7 @@ private function getPhpFiles(): Finder
9191 return Finder::create ()
9292 ->in ($ this ->buildDirectory )
9393 ->files ()
94- ->name (['*.php ' ])
95- ->ignoreVCS (true );
94+ ->name (['*.php ' ]);
9695 }
9796
9897 /**
@@ -109,8 +108,6 @@ private function getWordPressCoreFiles(string $projectType): Finder
109108
110109 return sprintf ('/^%s/ ' , $ path );
111110 })->add ('/^bin\// ' )->all ())
112- ->files ()
113- ->ignoreVCS (true )
114- ->ignoreDotFiles (false );
111+ ->files ();
115112 }
116113}
Original file line number Diff line number Diff line change @@ -125,11 +125,8 @@ private function getProjectFiles(string $projectType): Finder
125125 {
126126 $ finder = Finder::create ()
127127 ->in ($ this ->projectDirectory )
128- ->exclude (['.idea ' , '.ymir ' ])
129128 ->notName (['ymir.yml ' ])
130- ->followLinks ()
131- ->ignoreVcs (true )
132- ->ignoreDotFiles (false );
129+ ->followLinks ();
133130
134131 if (is_readable ($ this ->projectDirectory .'/.gitignore ' )) {
135132 $ finder ->ignoreVCSIgnored (true );
Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ private function getAssetFiles(string $fromDirectory): Finder
9191 ->files ()
9292 ->notName (['*.php ' ])
9393 ->followLinks ()
94- ->ignoreVcs (true )
9594 ->ignoreDotFiles (true );
9695 }
9796
You can’t perform that action at this time.
0 commit comments