Skip to content
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

Merged
merged 1 commit into from
Sep 6, 2018
Merged

Apply Cs fixer #162

merged 1 commit into from
Sep 6, 2018

Conversation

PierreRambaud
Copy link
Contributor

@PierreRambaud PierreRambaud commented Sep 6, 2018

This change is Reviewable

@PierreRambaud PierreRambaud changed the base branch from master to dev September 6, 2018 08:27
@Quetzacoalt91 Quetzacoalt91 added this to the 4.2.0 milestone Sep 6, 2018
Copy link
Member

@Quetzacoalt91 Quetzacoalt91 left a 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

@@ -48,12 +48,13 @@ public function testDefaultContentIsEmpty()

public function testCheckExceptionAndContent()
{
$exception = new Exception('ERMAGHERD');$line = __LINE__;
$exception = new Exception('ERMAGHERD');
$line = __LINE__;
Copy link
Member

@Quetzacoalt91 Quetzacoalt91 Sep 6, 2018

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;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@Quetzacoalt91 Quetzacoalt91 merged commit fe87476 into PrestaShop:dev Sep 6, 2018
@Quetzacoalt91
Copy link
Member

Thank you @PierreRambaud

@PierreRambaud PierreRambaud deleted the cs-fixer branch September 6, 2018 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants