-
Version 3.1.1 (stable)
According to the [documentation](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#specifying-valid-file-extensions), I should be able to check these files by …
-
My system information:
* Operating system type: macOS
* Operating system version: 10.13.5
* BLT version: 9.1.0-alpha1
Output of `blt doctor`:
blt doctor output
```
+------------------…
-
Out of the box, PHPCS checks all new javascript that is committed to a repo. PHPCS's linter does not seem to be respecting Drupal core's`.eslintrc` rules and seem to be following PHPCSs' default rules…
-
- phpcs version : 3.3.2
- php version: 7.2 and 7.3
- operating system: osx
### Description
I get this exception when i run phpcs using a parallel value greater than 1
```bash
Fatal error: U…
-
Sometimes we have to implement interfaces that use a different code style. For instance, the builtin `SessionIdInterface` in PHP has a method `create_sid` that violates some rules in PSR2.
It would…
-
Output from phpcs: `PHPCBF CAN FIX THE 87 MARKED SNIFF VIOLATIONS AUTOMATICALLY` (note that this is taken from 1 of the files, there are more files with violations).
Output from phpcbf: No fixable …
-
PHPCS version:
`PHP_CodeSniffer version 3.4.1 (stable) by Squiz (http://www.squiz.net)`
Command:
`phpcbf --standard=PSR2 calculator.php -p`
File:
```
-
This is not a BLT issue per se, but in case anyone else has some custom drush commands that begin behaving unexpectedly with regards to default option values, this is probably the issue.
I recently…
-
When i type,
`$ phpcs --version`
then i get:
```bash
ERROR: You must supply at least one file or directory to process.
Run "phpcs --help" for usage information
```
What i should get: version…
-
Given the following primary ruleset saved as `phpcs.xml.dist`:
```xml
.
```
... and this secondary ruleset saved as `phpcs.xml`:
```xml
```
The `no-c…
jrfnl updated
5 years ago