user1335895
user1335895

Reputation:

Is there any Symfony CodeSniffer ruleset

I've been trying to use PHP_CodeSniffer on Symfony projects but it usually throws warnings that are not usually follow by the Symfony community (Like commenting parameter tags or not grouping parameters and returns in function docs)

I was wondering if there is any official or unofficial but well-maintained ruleset for Symfony

I found this one: https://github.com/djoos/Symfony2-coding-standard Looks good but it hasn't been updated for a while now

Upvotes: 5

Views: 6202

Answers (1)

follio
follio

Reputation: 547

You can use friendsofphp/php-cs-fixer documentation is in http://cs.sensiolabs.org/

Upvotes: 4

Related Questions