File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/MagentoHackathon/Composer/Magento Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,11 +114,11 @@ private function getPackagePriority(Entry $package)
114114 $ result = 100 ;
115115 $ maxPriority = max (array_merge ($ this ->sortPriority , [100 , 101 ]));
116116
117- if (isset ($ this ->sortPriority [$ package ->getPackageName ()])) {
118- $ result = $ this ->sortPriority [$ package ->getPackageName ()];
119- } elseif (isset ($ this ->highPriority [$ package ->getPackageName ()])) {
117+ if (isset ($ this ->highPriority [$ package ->getPackageName ()])) {
120118 $ packagePriority = $ this ->highPriority [$ package ->getPackageName ()];
121119 $ result = intval ($ maxPriority ) + intval ($ packagePriority );
120+ } elseif (isset ($ this ->sortPriority [$ package ->getPackageName ()])) {
121+ $ result = $ this ->sortPriority [$ package ->getPackageName ()];
122122 } elseif ($ package ->getDeployStrategy () instanceof Copy) {
123123 $ result = 101 ;
124124 }
You can’t perform that action at this time.
0 commit comments