-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply Cs fixer #162
Apply Cs fixer #162
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes needed to make the tests pass
tests/ErrorHandlerTest.php
Outdated
@@ -48,12 +48,13 @@ public function testDefaultContentIsEmpty() | |||
|
|||
public function testCheckExceptionAndContent() | |||
{ | |||
$exception = new Exception('ERMAGHERD');$line = __LINE__; | |||
$exception = new Exception('ERMAGHERD'); | |||
$line = __LINE__; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The line was important in the text to check.
As the tests are currently failing, would you mind replace this line with
$line = __LINE__ - 1;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Thank you @PierreRambaud |
This change is