-
Intelephense doesn't show any formatting issues, although as I can see at https://github.com/bmewburn/vscode-intelephense/blob/master/package.json, formatting is set to PSR-12 and enabled by default.
…
-
## Bug Description
I am running the sniffs on a legacy platform with PHP7.3 to find incompatibilities with PHP8.x. I noticed that deprecated items mentioned in the various CHANGELOGs do not show up i…
-
There are currently five test case files for which the associated sniff would make fixes, but which do not have a corresponding `.fixed` file version of the test case file to verify that the fixes mad…
jrfnl updated
6 months ago
-
**Describe the bug**
Setting executablesFolder with unix path separator doesn't work on windows.
**To Reproduce**
1. install squizlabs/PHP_CodeSniffer in project sub folder.
2. set executablesFo…
-
We had a bug which it turned out was caused by an unexpected interaction between `self` and late static binding (see [this PR](https://github.com/silverstripe/silverstripe-linkfield/pull/262)).
This …
-
## Describe the bug
The ScopeIndent sniff suggests a quite strange indentation when processing multi-nested `match`-statements
### Code sample
```php
-
## Is your feature request related to a problem?
Add the auto fix on the Squiz.Operators.ComparisonOperatorUsage
## Describe the solution you'd like
When run phpcbf with the rule Squiz.Operators.…
-
> I think you should try to report it to PHPCS first.
> (c) @kukulich
Sorry, I'm not sure this is related to phpcs or slevomat, so I've posted it in both repos 🤷♂️
https://github.com/slevomat…
-
| Q | A
| --------------------| ---------------
| PHPUnit version | 11.2.0
| PHP version | 8.3.8
| Installation Method | Composer
#### Summary
After updating fr…
-
### Feature Description
Using `declare(strict_types=1);` in modern projects is a common use case.
Suggestion is to add to "Code Generation" settings an option "Add declare(strict_types=1) to gener…