Completed
Push — master ( cdf0e4...57c738 )
by Oskar
02:48
created
src/Hal/Metric/Helper/RoleOfMethodDetector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,13 +58,13 @@
 block discarded – undo
58 58
      */
59 59
     public function detects($node)
60 60
     {
61
-        if (! $node instanceof ClassMethod) {
61
+        if (!$node instanceof ClassMethod) {
62 62
             return null;
63 63
         }
64 64
 
65 65
         // build a fingerprint of the given method
66 66
         $fingerprintOfMethod = [];
67
-        iterate_over_node($node, function ($node) use (&$fingerprintOfMethod) {
67
+        iterate_over_node($node, function($node) use (&$fingerprintOfMethod) {
68 68
 
69 69
             // avoid cast
70 70
             if ($node instanceof Cast) {
Please login to merge, or discard this patch.
src/Hal/Metric/System/Packages/Composer/Packagist.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
         // get latest version
38 38
         $latest = '0.0.0';
39
-        foreach ((array)$json->package->versions as $version => $datas) {
39
+        foreach ((array) $json->package->versions as $version => $datas) {
40 40
             if ($version[0] === 'v') {
41 41
                 $version = substr($version, 1);
42 42
             }
Please login to merge, or discard this patch.