Completed
Pull Request — master (#314)
by
unknown
01:54
created
src/Hal/Metric/System/Changes/GitChanges.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      * GitChanges constructor.
30 30
      *
31 31
      * @param Config $config
32
-     * @param array $files
32
+     * @param string[] $files
33 33
      */
34 34
     public function __construct(Config $config, array $files)
35 35
     {
Please login to merge, or discard this patch.
src/Hal/Metric/Class_/Coupling/ExternalsVisitor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
 
154 154
         // Parse instantiations and static calls.
155 155
         $dependencies = [];
156
-        \iterate_over_node($stmt, function ($node) use (&$dependencies) {
156
+        \iterate_over_node($stmt, function($node) use (&$dependencies) {
157 157
             switch (true) {
158 158
                 case $node instanceof Node\Expr\New_:
159 159
                     // new MyClass
Please login to merge, or discard this patch.
src/Hal/Component/Ast/NodeTraverser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public function __construct($stopCondition = null)
33 33
     {
34 34
         if (null === $stopCondition) {
35
-            $stopCondition = function (Node $node) {
35
+            $stopCondition = function(Node $node) {
36 36
                 return !($node instanceof ClassLike);
37 37
             };
38 38
         }
Please login to merge, or discard this patch.
src/Hal/Application/Analyze.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         $metrics = new Metrics();
82 82
 
83 83
         // Traverse all files.
84
-        $whenToStop = function () {
84
+        $whenToStop = function() {
85 85
             return true;
86 86
         };
87 87
 
Please login to merge, or discard this patch.