Completed
Pull Request — master (#221)
by personal
04:09
created
Hal/Metrics/Design/Component/MaintainabilityIndex/MaintainabilityIndex.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,12 +40,12 @@
 block discarded – undo
40 40
     {
41 41
         $result = new Result;
42 42
         $result->setMaintainabilityIndexWithoutComment(max(
43
-             (171
43
+                (171
44 44
              - (5.2 * \log($rHalstead->getVolume()))
45 45
              - (0.23 * $rMcCabe->getCyclomaticComplexityNumber())
46 46
              - (16.2 * \log($rLoc->getLogicalLoc()))
47
-             ) * 100 / 171
48
-             ,0));
47
+                ) * 100 / 171
48
+                ,0));
49 49
 
50 50
 
51 51
         // comment weight
Please login to merge, or discard this patch.
artifacts/phar/build.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 chdir(__DIR__);
3 3
 
4 4
 if (!file_exists('vendor/autoload.php')) {
5
-  echo '[ERROR] It\'s required to run "composer install" before building PhpMetrics!' . PHP_EOL;
6
-  exit(1);
5
+    echo '[ERROR] It\'s required to run "composer install" before building PhpMetrics!' . PHP_EOL;
6
+    exit(1);
7 7
 }
8 8
 
9 9
 $filename = 'build/phpmetrics.phar';
Please login to merge, or discard this patch.