We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a095ee2 commit be22eb9Copy full SHA for be22eb9
src/Console/Command/AddPrefixCommand.php
@@ -182,9 +182,7 @@ private function scopeFiles(
182
$vendorDirs = [];
183
$commonPath = get_common_path(array_keys($filesWithContents));
184
185
- foreach ($filesWithContents as $fileWithContents) {
186
- [$inputFilePath, $inputContents] = $fileWithContents;
187
-
+ foreach ($filesWithContents as [$inputFilePath, $inputContents]) {
188
$outputFilePath = $output.str_replace($commonPath, '', $inputFilePath);
189
190
if (preg_match('~((?:.*)\/vendor)\/.*~', $outputFilePath, $matches)) {
0 commit comments