Passed
Push — master ( 33f515...a7e107 )
by Scott
02:20
created
src/DiffLineHandle/ContextLine.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 
14 14
     public function isValid($line)
15 15
     {
16
-         return true;
16
+            return true;
17 17
     }
18 18
 }
Please login to merge, or discard this patch.
src/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     $extra = PHP_EOL;
83 83
 
84 84
     if ($lines['uncoveredLines']) {
85
-        $extra = ', Missed lines '.
85
+        $extra = ', Missed lines ' .
86 86
             $extra .
87 87
             print_r($lines['uncoveredLines'], true)
88 88
         ;
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 function addExceptionHandler()
109 109
 {
110 110
     set_exception_handler(
111
-        function (Exception $exception) {
111
+        function(Exception $exception) {
112 112
             // @codeCoverageIgnoreStart
113 113
             error_log(get_class($exception));
114 114
             error_log($exception->getMessage());
Please login to merge, or discard this patch.
src/CoverageCheck.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,8 +141,7 @@
 block discarded – undo
141 141
             }
142 142
 
143 143
             $message = isset($this->cache->coveredLines[$matchedFile][$line])
144
-                ? $this->cache->coveredLines[$matchedFile][$line] :
145
-                "No cover"
144
+                ? $this->cache->coveredLines[$matchedFile][$line] : "No cover"
146 145
             ;
147 146
 
148 147
             $this->addUnCoveredLine(
Please login to merge, or discard this patch.
src/ArgParser.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
     protected function letterArg($name)
34 34
     {
35 35
         $name = strlen($name) == 1 ?
36
-            "-" . $name :
37
-            "--" . $name;
36
+            "-" . $name : "--" . $name;
38 37
         foreach ($this->args as $arg) {
39 38
             if ($arg{0} == '-' && $name == $arg) {
40 39
                 return true;
Please login to merge, or discard this patch.
autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-spl_autoload_register(function ($className) {
3
+spl_autoload_register(function($className) {
4 4
     $classPrefix = 'exussum12\CoverageChecker';
5 5
     if (strpos($className, $classPrefix) === 0) {
6 6
         $classPrefix = str_replace("\\", "\\\\", $classPrefix);
Please login to merge, or discard this patch.
src/PhpCsLoaderStrict.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 class PhpCsLoaderStrict extends PhpCsLoader
12 12
 {
13 13
     protected $failOnTypes = [
14
-       'ERROR',
15
-       'WARNING',
14
+        'ERROR',
15
+        'WARNING',
16 16
     ];
17 17
 }
Please login to merge, or discard this patch.
src/PhpCsLoader.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
 
26 26
     protected $failOnTypes = [
27
-       'ERROR',
27
+        'ERROR',
28 28
     ];
29 29
 
30 30
     /**
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         $line = $message->line;
77 77
 
78 78
         if (!isset($this->invalidLines[$file][$line])) {
79
-             $this->invalidLines[$file][$line] = [];
79
+                $this->invalidLines[$file][$line] = [];
80 80
         }
81 81
         $this->invalidLines[$file][$line][] = $message->message;
82 82
     }
Please login to merge, or discard this patch.