Juliette

Results 2037 comments of Juliette

While none of the standards included with PHPCS contains such a sniff, you may be interested to hear that the external Slevomat standard does: [`SlevomatCodingStandard.Operators.RequireCombinedAssignmentOperator`](https://github.com/slevomat/coding-standard#slevomatcodingstandardoperatorsrequirecombinedassignmentoperator-)

@dongasai Could you show the relevant part of your ruleset ? Based on the above, I get the impression you are trying to include the `Generic.PHP.ForbiddenFunctions` sniff multiple times with...

@MarkBaker The thresholds can be customized per project via the project custom ruleset: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Customisable-Sniff-Properties#genericmetricscyclomaticcomplexity

@photodude PHPCS has its own ruleset you can use: https://github.com/squizlabs/PHP_CodeSniffer/blob/master/phpcs.xml.dist :smile:

@Gabb1995 At this time that's not possible, though there's been a PR open to allow for this for nearly two years already: https://github.com/squizlabs/PHP_CodeSniffer/pull/2729 Out of curiosity - why are you...

@adrienne Have you tried this ? ```xml /app/ /vendor/mypackage/ … ```

This is related to the fact that you are clearly using the PHPCS native test framework to run the sniff tests for an external standard. It is, of course, perfectly...

@Koen1999 What do you mean with `PhpCB` ?

Ah, I understand, but the thing is: you can. See my pointers above on how.