Completed
Push — master ( 6e65a9...c58e43 )
by Andrii
02:43
created
src/Constraint.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         } elseif ($bcon instanceof EmptyConstraint) {
56 56
             return $a;
57 57
         } elseif ($acon->matches($bcon) || $bcon->matches($acon)) {
58
-            return strlen($a)>strlen($b) ? $b : $a;
58
+            return strlen($a) > strlen($b) ? $b : $a;
59 59
         } else {
60 60
             return $a . ' ' . $b;
61 61
         }
@@ -64,11 +64,11 @@  discard block
 block discarded – undo
64 64
     static public function findMax(array $versions)
65 65
     {
66 66
         $versions = array_unique(array_values($versions));
67
-        if (count($versions)<2) {
67
+        if (count($versions) < 2) {
68 68
             return reset($versions);
69 69
         }
70 70
         $max = $versions[0];
71
-        for ($i=1; $i<= count($versions); $i++) {
71
+        for ($i = 1; $i <= count($versions); $i++) {
72 72
             $cur = $versions[$i];
73 73
             if (Comparator::compare($cur, '>', $max)) {
74 74
                 $max = $cur;
Please login to merge, or discard this patch.
src/Plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
     public function onPreDependenciesSolving(InstallerEvent $event)
146 146
     {
147 147
         $pool = $event->getPool();
148
-        for ($i=1; $i<= $pool->count(); $i++) {
148
+        for ($i = 1; $i <= $pool->count(); $i++) {
149 149
             $package = $pool->packageById($i);
150 150
             $this->removeAssetDependencies($package);
151 151
         }
Please login to merge, or discard this patch.