Skip to content

Add Symfony2 coding standard #59

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

Merged
merged 1 commit into from
Apr 4, 2017
Merged

Conversation

pointlessone
Copy link
Contributor

PR for #57.

@dblandin
Copy link
Contributor

dblandin commented Apr 4, 2017

Nice. Thanks!

@dblandin dblandin merged commit 71ee3ad into codeclimate:master Apr 4, 2017
@dblandin
Copy link
Contributor

dblandin commented Apr 4, 2017

@pointlessone Do we need any remediation point overrides for any checks in this standard? https://github.com/codeclimate/codeclimate-phpcodesniffer/blob/master/Sniffs.php#L13

@dblandin dblandin changed the title Symfony2 coding standar Add Symfony2 coding standard Apr 4, 2017
@pointlessone
Copy link
Contributor Author

@dblandin I don't know. How does one estimate that?

@dblandin
Copy link
Contributor

dblandin commented Apr 4, 2017

I took a quick look at the sniffs included and I don't think any need an override. We would specific a greater value if an issue requires more time to fix, like a duplication or complexity issue.

@pointlessone
Copy link
Contributor Author

This engine defaults to 70k which is already greater that 50k default in the spec.

@dblandin
Copy link
Contributor

dblandin commented Apr 4, 2017

Yeah, I don't know why this engine has a different default. Something to fix.

@dblandin dblandin removed their assignment Apr 17, 2017
@Jelle-S
Copy link

Jelle-S commented Nov 28, 2017

I can't find this standard anywhere in the documentation. How do I configure it? Is it called 'Symfony', 'Symfony2', something else?

@pointlessone
Copy link
Contributor Author

@Jelle-S It's called "Symfony". Please refer to the plugin README for more details.

@pointlessone pointlessone deleted the symfony2 branch November 28, 2017 09: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.

3 participants