Completed
Push — master ( c43217...d06016 )
by personal
22s queued 13s
created
src/Hal/Metric/Package/PackageInstability.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     public function calculate(Metrics $metrics)
11 11
     {
12 12
         /* @var $packages PackageMetric[] */
13
-        $packages = array_filter($metrics->all(), function ($metric) {
13
+        $packages = array_filter($metrics->all(), function($metric) {
14 14
             return $metric instanceof PackageMetric;
15 15
         });
16 16
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         }
29 29
         // Set depending instabilities
30 30
         foreach ($packages as $eachPackage) {
31
-            $dependentInstabilities = array_map(function ($packageName) use ($instabilitiesByPackage) {
31
+            $dependentInstabilities = array_map(function($packageName) use ($instabilitiesByPackage) {
32 32
                 //return $instabilitiesByPackage[$packageName] ?? null;
33 33
                 return isset($instabilitiesByPackage[$packageName]) ? $instabilitiesByPackage[$packageName] : null;
34 34
             }, $eachPackage->getOutgoingPackageDependencies());
Please login to merge, or discard this patch.
src/Hal/Metric/System/Packages/Composer/Composer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         }
62 62
 
63 63
         // exclude extensions
64
-        $packages = array_filter($packages, function ($package) {
64
+        $packages = array_filter($packages, function($package) {
65 65
             return !preg_match('!(^php$|^ext\-)!', $package->name);
66 66
         });
67 67
 
Please login to merge, or discard this patch.
src/Hal/Metric/System/UnitTesting/UnitTesting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
             ]);
122 122
 
123 123
             if (!file_exists($suite->file) || !is_readable($suite->file)) {
124
-                throw new \LogicException('Cannot find source file referenced in testsuite: ' . $suite->file);
124
+                throw new \LogicException('Cannot find source file referenced in testsuite: '.$suite->file);
125 125
             }
126 126
 
127 127
             $code = file_get_contents($suite->file);
Please login to merge, or discard this patch.