BedrockStreaming / Coke

:no_entry: DEPRECATED - PHP Code Sniffer configurator

Home Page:http://tech.m6web.fr/coke-pour-bien-sniffer-son-code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rule conflict with Symfony2 feature

COil opened this issue · comments

Hi,

Having this error:

 57 | ERROR | Variable "_route_params" is not in valid camel caps
    |       | format

Which comes from a controller where this variable is injected. As it is a Symfony "feature", it shouldn't be an error. At least in a controller signature.

Or can this rule be disabled ?

++

Which ruleset do you use ?
As Coke is only an configuration handler for PHP Code Sniffer, the error is certainly in the ruleset instead of Coke