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

CheckStyle in Voters cookbook #6674

Closed
wants to merge 2 commits into from
Closed

CheckStyle in Voters cookbook #6674

wants to merge 2 commits into from

Conversation

JakeFr
Copy link
Contributor

@JakeFr JakeFr commented Jun 22, 2016

Hello!

Apply fixes done by php-cs-fixer (Symfony level) after copy/paste this code sample in a project

@@ -147,10 +147,10 @@ would look like this::
}

// you know $subject is a Post object, thanks to supports
/** @var Post $post */
/* @var Post $post */
Copy link
Member

Choose a reason for hiding this comment

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

this change has to be reverted. Seems like a bug in PHP CS Fixer

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Change made by phpdoc_to_comment fixer (Symfony level)
Docblocks should only be used on structural elements.

Copy link
Member

Choose a reason for hiding this comment

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

Ah, that rule isn't used by Symfony. Please disable that fixer :)

@wouterj
Copy link
Member

wouterj commented Jun 22, 2016

The other change is correct, let's merge 👍

@JakeFr
Copy link
Contributor Author

JakeFr commented Jun 22, 2016

File changed

@wouterj
Copy link
Member

wouterj commented Jun 22, 2016

Status: Reviewed

@javiereguiluz
Copy link
Member

👍

@wouterj
Copy link
Member

wouterj commented Jun 24, 2016

Thanks @JakeFr! I've merged your PR in the 2.7 version of the docs (the oldest version we still maintain) and I'll merge it up to the 3.2 docs from there.

wouterj added a commit that referenced this pull request Jun 24, 2016
This PR was submitted for the 3.1 branch but it was merged into the 2.7 branch instead (closes #6674).

Discussion
----------

CheckStyle in Voters cookbook

Hello!

Apply fixes done by php-cs-fixer (Symfony level) after copy/paste this code sample in a project

Commits
-------

9c5a0ba CheckStyle in Voters cookbook
@wouterj wouterj closed this Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants