-
Some parts still look like the php4 age with _ for properties.
- [ ] add a pre-commit hook, maybe using [pre-commit](https://github.com/pre-commit/pre-commit)
-
[https://github.com/slawomirkania/class-generator-bundle/commit/3c0ad7e831a16c5d6052ccee602c1b9fa88d1a9c#diff-a300163b07f23e2a48f31463e7d30c32](https://github.com/slawomirkania/class-generator-bundle/…
-
**Describe the bug**
Running sniffer with PSR-12 standard on some valid switch statements (mixing curly braces syntax with classic syntax) shows an Internal.Exception, which aborts checking rest of t…
-
As per the note left on PR #424 :
> at a glance, this sniff could probably do with a more thorough review and more defensive token walking/more precise checking
And from a [reply to a PR review](h…
jrfnl updated
4 months ago
-
## Describe the bug
`PSR2.Classes.PropertyDeclaration.ReadonlyBeforeVisibility` doesn't apply when constructor property promotion is used
### Code sample
```php
-
Does this plug-in use an old version of PHP CodeSniffer?
-
As I'm working on the implementation of PER2.0 I'm facing some issues with some sniffs.
In the first introductory of section 4 of PER 2.0 it states:
> If class contains no additional declaration…
-
## Affected Version
5.x-dev
## Description
A set of PSR-2 rules are ignored for framework, specifically because fixing them would require breaking changes to code. These exclusions are necess…
-
Hello,
we are using in our projects the "Doctrine Coding Standard". For some reasons we want to declarate private properties and methods with a leading underscore.
I don't get it what we are doi…
-
I am experiencing a formatting inconsistency in the `phpfmt` formatter when the `phpfmt.psr2` setting is set to false. Specifically, the formatter does not automatically align the opening braces `{` o…