-
There's no reason for these to be distributed.
-
## Problem
`drupal/phpcs-standard` picks the first available standard matching `Drupal.*`, so having _[DrupalPractice](https://www.drupal.org/project/drupalpractice)_ installed in tandem with _[Drupa…
-
Would it be possible for the extension to check for `.phpcs.xml.dist`/`phpcs.xml.dist ` in addition to `phpcs.xml`?
Or choose to have the `--standard=` flag not be present, and then phpcs will look …
-
Repost from https://github.com/squizlabs/PHP_CodeSniffer/issues/3793:
> PSR-PER is an evolving standard which builds onto PSR-12.
>
> The first "release" (= updated standards publication) since …
jrfnl updated
1 month ago
-
Now that we run `phpcs` against all core PRs, we should fix all existing coding issues in core to avoid getting so many warnings/errors. This issue (inspired by https://github.com/backdrop/backdrop-is…
ghost updated
19 hours ago
-
## Describe the bug
When using the `phpcs-only` or `phpcbf-only` attributes within a ruleset, the reports from `phpcs` do not look as expected.
### Code sample
```php
test.php
…
-
## Describe the bug
The docs page https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Annotated-Ruleset says:
> This XML file can be named anything you like, as long as it has an xml extensio…
-
- This plugin has issues related to `phpcs` and `phpstan`.
-
## Current Situation
Sniffs should (of course) implement the `PHP_CodeSniffer\Sniffs\Sniff` interface, either directly or via inheritance, and I expect all sniffs do.
However, there is no defens…
-
## Bug Description
The method `AbstractFunctionRestrictionsSniff::is_targetted_token()` is used to determine if a given token is a function call or not. It does not handle [first class callables](h…