codeclimate-phpcodesniffer
codeclimate-phpcodesniffer copied to clipboard
Code Climate Engine for PHP Code Sniffer
`#[\ReturnTypeWillChange]` is an attribute added in PHP 8.1, which "signals that a mismatching tentative return type should not emit a deprecation notice". In my local environment, this is not throwing...
Hi all. Please update PHP_CodeSniffer to at least 3.7.0. We really need PHP 8.1 support and enums fix: https://github.com/squizlabs/PHP_CodeSniffer/issues/3587
We've been using codeclimate for a long time on the open source DKAN project. For the last few weeks all of our builds are failing with the error _Referenced sniff...
WordPress Coding Standards sniffs require `XMLReader` support from PHP. * Add the missing Alpine package `php7-xmlreader` to `Dockerfile` Fixes #94
I've tried using the beta docker image of `codeclimate-phpcodesniffer` to get access to a more recent `phpcs` build than is in stable. (I need access to disabling specific sniffs on...
I apologize if this isn't the correct repo to report this CodeClimate reports the Cognitive Complexity of the following function as 14 I believe the value should be 12 It...
Our project has its own [phpcs.xml](https://github.com/Gizra/og/blob/8.x-1.x/phpcs.xml) that points to a [custom ruleset "Drupal Module"](https://github.com/Gizra/og/blob/8.x-1.x/phpcs-ruleset.xml.dist). Please [document](https://docs.codeclimate.com/docs/phpcodesniffer) how we configure codeclimate to use our own ruleset.
Hi, Thank you for your complete and polished product. However, php-cs plugin is quiet outdated now (see https://github.com/squizlabs/PHP_CodeSniffer/releases). Is there any plan to update to version 3.4.* ? Or to...
With phpcs 3.0+ rules not being compatible with 2.9 and below rule sets we need a way to tell codeclimate which version it should be running tests with. This is...
Customer wants to configure PHP Code Sniffer to work with [PHPCS Security Audit](https://github.com/FloeDesignTechnologies/phpcs-security-audit/tree/1.0.3). - they use it locally by putting the Security/ folder from phpcs-security-audit in CodeSniffer/Standards, I think we...