File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -127,18 +127,18 @@ private function globstar(string $pattern): array
127
127
$ patterns = [$ rootPattern . $ restPattern ];
128
128
$ rootPattern .= '/* ' ;
129
129
130
- while ($ dirs = glob ($ rootPattern , GLOB_ONLYDIR )) {
130
+ while ($ directories = glob ($ rootPattern , GLOB_ONLYDIR )) {
131
131
$ rootPattern .= '/* ' ;
132
132
133
- foreach ($ dirs as $ dir ) {
134
- $ patterns [] = $ dir . $ restPattern ;
133
+ foreach ($ directories as $ directory ) {
134
+ $ patterns [] = $ directory . $ restPattern ;
135
135
}
136
136
}
137
137
138
138
$ files = [];
139
139
140
- foreach ($ patterns as $ pat ) {
141
- $ files = array_merge ($ files , $ this ->globstar ($ pat ));
140
+ foreach ($ patterns as $ _pattern ) {
141
+ $ files = array_merge ($ files , $ this ->globstar ($ _pattern ));
142
142
}
143
143
}
144
144
You can’t perform that action at this time.
0 commit comments