Completed
Pull Request — master (#75)
by
unknown
05:12
created
src/VersionsCheck.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
             // Remove not stable packages if unwanted
42 42
             if (true === $rootPackage->getPreferStable()) {
43
-                $higherPackages = array_filter($higherPackages, function (PackageInterface $package) {
43
+                $higherPackages = array_filter($higherPackages, function(PackageInterface $package) {
44 44
                     return 'stable' === $package->getStability();
45 45
                 });
46 46
             }
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             // We got higher packages! Let's push it.
49 49
             if (\count($higherPackages) > 0) {
50 50
                 // Sort packages by highest version to lowest
51
-                usort($higherPackages, function (PackageInterface $p1, PackageInterface $p2) {
51
+                usort($higherPackages, function(PackageInterface $p1, PackageInterface $p2) {
52 52
                     if (Comparator::compare($p1->getVersion(), '=', $p2->getVersion())) {
53 53
                         return 0;
54 54
                     }
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             $this->createNotUpToDateOutput($output, $showDepends);
87 87
         }
88 88
 
89
-        return implode(PHP_EOL, $output) . PHP_EOL;
89
+        return implode(PHP_EOL, $output).PHP_EOL;
90 90
     }
91 91
 
92 92
     /**
Please login to merge, or discard this patch.