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

Style improvements #2858

Merged
merged 2 commits into from
Sep 12, 2017
Merged

Style improvements #2858

merged 2 commits into from
Sep 12, 2017

Conversation

greg0ire
Copy link
Member

@greg0ire greg0ire commented Sep 11, 2017

Cleans up the mess I introduced in #2835 and #2851

@SenseException @lcobucci please review preferrably before this gets merged :P


$this->assertEquals(
' DEFAULT '.$currentDateSql,
$this->assertSame(
Copy link
Contributor

Choose a reason for hiding this comment

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

Should use self::.

@@ -563,16 +563,16 @@ public function testGetDefaultValueDeclarationSQLForIntegerTypes()
}
}

public function testGetDefaultValueDeclarationSQLForDateType()
public function testGetDefaultValueDeclarationSQLForDateType(): void
Copy link
Contributor

Choose a reason for hiding this comment

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

Space around :.

@SenseException
Copy link
Member

Does Doctrine have a coding standard about concatenation of strings with .? Spaces or no spaces?

@Ocramius
Copy link
Member

Ocramius commented Sep 12, 2017 via email

@SenseException
Copy link
Member

I have nothing to add here. 👍

@lcobucci
Copy link
Member

@SenseException you can see more info on https://github.com/doctrine/coding-standard

@lcobucci lcobucci self-assigned this Sep 12, 2017
@lcobucci lcobucci added this to the 2.7 milestone Sep 12, 2017
@lcobucci lcobucci merged commit 373ae9e into doctrine:master Sep 12, 2017
@greg0ire greg0ire deleted the style_improvements branch September 12, 2017 10:48
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants