@@ -51,7 +51,7 @@ |
||
51 | 51 | |
52 | 52 | See https://github.com/zsturgess/overwatch/blob/master/app/Resources/docs/installing.md#cleaning-up-results |
53 | 53 | |
54 | -EOF |
|
54 | +eof |
|
55 | 55 | ) |
56 | 56 | ; |
57 | 57 | } |
@@ -44,6 +44,6 @@ |
||
44 | 44 | } |
45 | 45 | } |
46 | 46 | |
47 | - throw new Result\ExpectationFailedException("Expected $actual to resolve to $expected, actually resolves to $found"); |
|
47 | + throw new Result\ExpectationFailedException("expected $actual to resolve to $expected, actually resolves to $found"); |
|
48 | 48 | } |
49 | 49 | } |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | } catch (\Exception $e) { |
44 | 44 | //Transform exception under certain circumstances, else re-throw. |
45 | 45 | if ($e instanceof \GuzzleHttp\Exception\RequestException && !$e->hasResponse()) { |
46 | - throw new Result\ExpectationFailedException("Expected $actual to respond HTTP $expected, actually failed to respond", 0, $e); |
|
46 | + throw new Result\ExpectationFailedException("expected $actual to respond HTTP $expected, actually failed to respond", 0, $e); |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | throw $e; |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | |
54 | 54 | if ($this->isValidStatusCode($expected)) { |
55 | 55 | if ((int) $expected !== $result) { |
56 | - throw new Result\ExpectationFailedException("Expected $actual to respond HTTP $expected, actually responded HTTP $result"); |
|
56 | + throw new Result\ExpectationFailedException("expected $actual to respond HTTP $expected, actually responded HTTP $result"); |
|
57 | 57 | } |
58 | 58 | } else { |
59 | 59 | if (in_array($result, $this->config["unsatisfactory_codes"])) { |