codeclimate-phpcodesniffer icon indicating copy to clipboard operation
codeclimate-phpcodesniffer copied to clipboard

Code Climate Engine for PHP Code Sniffer

Results 15 codeclimate-phpcodesniffer issues
Sort by recently updated
recently updated
newest added

Hi, Is there any way that https://github.com/magento/magento-coding-standard can be added to PHPCodeSniffer engine? So we can use > config: > standard: "Magento2" in .codeclimate.yml

hacktoberfest

It seems that when custom sniffs are present, everything in the ruleset will be ignored, including the custom sniffs themselves, and phpcodesniffer will just report everything as having passed. Codeclimate...

Hi! I'm getting ``` D, [2019-03-07T06:00:32.603960 #1] DEBUG -- : engine stderr: Exception: Referenced sniff "Generic.WhiteSpace.ArbitraryParenthesesSpacing" does not exist in /usr/src/app/vendor/squizlabs/php_codesniffer/CodeSniffer.php ``` When running from the codeclimate CLI. This sniff...

Since `phpcbf` is included, how about adding the option `autofix` to the config and [have phpcbf fix many](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Fixing-Errors-Automatically) of the coding standard errors ? ``` yml engines: phpcodesniffer: enabled: true...

# Problem I can imagine scenarios where a code standard gets updated by Code Climate and someone's repository has their GPA downgraded (or upgraded). I can also imagine where someone...