-
**Describe the bug**
I ran phpcbf with `--sniffs` option.
```console
$ vendor/bin/phpcbf --sniffs=Generic.PHP.DisallowShortOpenTag /path/to/files
```
I expected this command to only fix `Generic.…
-
| Q | A
| ---------------- | -----
| Bug report? | yes
| Feature request? | no
| Library version | 1.7.0
```
~/folderA/folderB/projectA (master) ./vendor/bin/phpinsights
…
-
Hello, thank you for the extension.
> Platform requirements
> PHP 7.3 or later (tested up to PHP 8.1)
> MediaWiki 1.31.x or later (tested up to 1.38.x)
Environment: Synology NAS DSM 7, WikiMed…
-
## Bug Description
I’m developing a WordPress theme, as a editor I use Atom with Atom Beautify. I have also installed as default beautifier “PHP_CodeSniffer” with the “WordPress-Coding-Standards “as …
-
**Describe the bug**
In my project, I'm using [husky](https://www.npmjs.com/package/husky) to run my pre-commit hooks. In `package.json` I have
```json
...
"scripts": {
"__eslintTheme": "esl…
-
I noticed that in the docblocks we are unsing FQCN when adding types to the parameters. We are also importing those at the top of the file.
In most of the editors, the editor is smart enough that i…
-
**Describe the bug**
phpcs.phar being treated as a directory by phpcs.phar
**Code sample**
```
phpcs --version
```
**Custom ruleset**
```xml
None
```
**To reproduce**
Steps to reprodu…
-
## Describe the bug
Using PSR12 standard on files with HTML & PHP complex lines get processed resulting with weird indentation.
### Code sample
```php
value="" aria-describedby="LoginError"/>
…
-
## Describe the bug
Seems PEAR.Functions.FunctionCallSignature.Indent sniff and fix works incorrectly with some nested structures.
The problem appears when there is indentation issue together wi…
-
Hi, is it in the roadmap to make PHP_CodeSniffer provide [SARIF](https://sarifweb.azurewebsites.net/) output ? (SARIF is the OASIS common format for all analysis tools )
It would help improve its […