-
When using SaaS, sometimes we need to use a base theme (placed into `themes/THEMENAME`) which does not follow Drupal coding standards OR there may be custom sources that should not be scanned by PHPCS…
-
Following what other Coding standards using PHPCS are doing, We should consider dropping PHPCS 2.x support by August 31, 2018
Example of what another Coding standard is doing (details of why are dr…
-
I am trying to check for errors via phpcs and PHPCompatibility standard on a laravel project, here is the command:
phpcs -psvw app --extensions=php --standard=PHPCompatibility --runtime-set tes…
-
This is just a ticket to keep track of the changes which PHPCSUtils will need to account for by the time PHPCS 4.0 comes out.
No urgency until there is sight of a release date.
As a principle, t…
jrfnl updated
4 years ago
-
When a fresh project is initialized with build-tools a large scripts session is added to composer.json. Most of these should be moved into `terminus-build-tools` or a `build-tool-dependencies` repo as…
-
I am trying to get PHP_CodeSniffer working with Backdrop. So far I've got it installed on OS level by taking the following steps:
```
sudo pear channel-update pear.php.net
sudo pear install PHP_C…
-
I've followed the direction to install the package globally (composer require + installation with "10up-code-review-install"), then ran `phpcs --standard=10up-Code-Review ./`, but I get this:
`ERRO…
-
## Describe the bug
`phpcs:enable` can sometimes wind up overriding a later `phpcs:ignore` for the rule. This can particularly happen when multiple `phpcs:enable` comments are present in the file…
-
How to integrate code checks into Visual Studio Code and PhpStorm?
-
Having an example of how to use https://github.com/squizlabs/PHP_CodeSniffer or https://github.com/FriendsOfPHP/PHP-CS-Fixer would be nice for module:
Here's what we had in our .travis.yml file for a…