File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ protected function getInstallPathsFromPackages(array $packages)
138138 foreach ($ packages as $ package ) {
139139 $ paths [] = $ installationManager ->getInstallPath ($ package );
140140 }
141+
141142 return $ this ->absolutePaths ($ paths );
142143 }
143144
@@ -155,6 +156,7 @@ protected function getUniqueNameFromPackages(array $packages)
155156 $ return [] = $ package ->getUniqueName ();
156157 }
157158 sort ($ return );
159+
158160 return implode (', ' , $ return );
159161 }
160162
@@ -193,6 +195,7 @@ protected function absolutePaths($paths)
193195 }
194196 $ return [] = $ path ;
195197 }
198+
196199 return $ return ;
197200 }
198201}
Original file line number Diff line number Diff line change 1010use Composer \Config ;
1111use derhasi \tempdirectory \TempDirectory ;
1212
13+ /**
14+ * Test for path preserver functionality.
15+ */
1316class PathPreserverTest extends \PHPUnit_Framework_TestCase
1417{
1518
You can’t perform that action at this time.
0 commit comments