Completed
Pull Request — master (#448)
by
unknown
08:31
created
phpmetrics/src/Hal/Component/Issue/Issuer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
     }
142 142
 
143 143
     /**
144
-     * @param int|string $status
144
+     * @param integer $status
145 145
      *
146 146
      * @return void
147 147
      */
Please login to merge, or discard this patch.
phpmetrics/src/Hal/Metric/System/Packages/Composer/Composer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 
97 97
     /**
98 98
      * Returns the installed packages from the composer.lock file.
99
-     * @param mixed[] $rootPackageRequirements List of requirements to match installed packages only with requirements.
99
+     * @param integer[] $rootPackageRequirements List of requirements to match installed packages only with requirements.
100 100
      * @return mixed[]
101 101
      */
102 102
     protected function getComposerLockInstalled($rootPackageRequirements)
Please login to merge, or discard this patch.
phpmetrics/tests/Metric/examples/halstead2.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 function maxi ($a, $b){
3
-    if ($a > $b) return $a;
3
+    if ($a > $b) {
4
+        return $a;
5
+    }
4 6
     return $b;
5 7
 }
6 8
\ No newline at end of file
Please login to merge, or discard this patch.
phpmetrics/tests/Metric/examples/halstead4.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 function f_while($a){
3 3
     $i = 2;
4
-    if ($a < 0) return 0;
4
+    if ($a < 0) {
5
+        return 0;
6
+    }
5 7
     while ($a > 0){
6 8
         $a -= 100;
7 9
         $i *= 2;
Please login to merge, or discard this patch.