1
0
Fork 0

Add comment, fix 5.3 build

pull/8531/head
Jordi Boggiano 2020-01-15 16:18:56 +01:00
parent 7a4d3e6f25
commit e6749d8717
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 2 additions and 1 deletions

View File

@ -113,6 +113,7 @@ class PoolBuilder
$loadNames = $newLoadNames; $loadNames = $newLoadNames;
} }
// filter packages according to all the require statements collected for each package
foreach ($this->packages as $i => $package) { foreach ($this->packages as $i => $package) {
// we check all alias related packages at once, so no need to check individual aliases // we check all alias related packages at once, so no need to check individual aliases
// isset also checks non-null value // isset also checks non-null value

View File

@ -52,7 +52,7 @@ class MetadataMinifier
continue; continue;
} }
$minifiedVersion = []; $minifiedVersion = array();
// add any changes from the previous version // add any changes from the previous version
foreach ($version as $key => $val) { foreach ($version as $key => $val) {