File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 "symfony/dependency-injection" : " ^4.4" ,
2929 "symfony/event-dispatcher" : " ^4.4" ,
3030 "symfony/filesystem" : " ^4.4" ,
31- "symfony/finder" : " ^4.4" ,
31+ "symfony/finder" : " ^4.4.24 " ,
3232 "symfony/process" : " ^4.4" ,
3333 "symfony/yaml" : " ^4.4" ,
3434 "tightenco/collect" : " ^8.0"
Original file line number Diff line number Diff line change @@ -105,30 +105,6 @@ private function getBaseFinder(): Finder
105105 ->files ();
106106 }
107107
108- /**
109- * List of files we need to append manually because they're in the default Bedrock .gitignore file.
110- */
111- private function getBedrockFilesToAppend (): array
112- {
113- $ files = [];
114-
115- /**
116- * Finder can't seem to honor the .gitignore path ignoring child folders in the mu-plugins
117- * folder while keeping the files at the root of the mu-plugins folder.
118- *
119- * @see https://github.com/symfony/symfony/issues/39257
120- */
121- $ finder = $ this ->getBaseFinder ()
122- ->path ('/^web\/app\/mu-plugins/ ' )
123- ->depth ('== 3 ' );
124-
125- foreach ($ finder as $ file ) {
126- $ files [] = $ file ;
127- }
128-
129- return $ files ;
130- }
131-
132108 /**
133109 * Get files from "include" node.
134110 */
@@ -157,7 +133,6 @@ private function getProjectFiles(string $projectType): Finder
157133 $ finder ->append ($ this ->getWordPressFilesToAppend ());
158134 } elseif ('bedrock ' === $ projectType ) {
159135 $ finder ->exclude ('web/app/uploads ' );
160- $ finder ->append ($ this ->getBedrockFilesToAppend ());
161136 }
162137
163138 return $ finder ;
You can’t perform that action at this time.
0 commit comments