Completed
Push — master ( 695a14...c5a701 )
by Nils
02:26
created
src/Scanner/Scanner.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use whm\Smoke\Http\ErrorResponse;
12 12
 use whm\Smoke\Rules\CheckResult;
13 13
 use whm\Smoke\Rules\Rule;
14
-use whm\Smoke\Rules\ValidationFailedException;
15 14
 
16 15
 class Scanner
17 16
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
                     $result = new CheckResult(CheckResult::STATUS_SUCCESS, 'Check successful.');
104 104
                 }
105 105
             } catch (\Exception $e) {
106
-                $result = new CheckResult(CheckResult::STATUS_FAILURE, 'An error occurred: ' . $e->getMessage());
106
+                $result = new CheckResult(CheckResult::STATUS_FAILURE, 'An error occurred: '.$e->getMessage());
107 107
                 $this->eventDispatcher->simpleNotify('Scanner.CheckResponse.Rule.Error', array('checkResult' => $result, 'ruleName' => $name, 'exception' => $e));
108 108
             }
109 109
 
Please login to merge, or discard this patch.