+++ b/composer/Plugin/Scaffold/Interpolator.php
@@ -88,16 +88,89 @@ public fu...

Contribution Date
Technology
Contribution Project
Contribution Details
+++ b/composer/Plugin/Scaffold/Interpolator.php @@ -88,16 +88,89 @@ public function addData(array $data) { + protected function fixDoubleDirectorySeparators($replacements) { + $result = []; + foreach ($replacements as $path => $value) {

Isn't it better to just str_replace("//", "/", $path)? Is there a use-case where doing all this work is needed?

Issue Status
Reviewed and Tested by Community
Contribution Author
Files count
0
Patches count
0