-
## Is your feature request related to a problem?
When running PSR12 against an (older) project, we see this warning message for projects that actually support PHP versions lower than 7.1.
```
FIL…
-
See in https://github.com/PHPCSStandards/PHP_CodeSniffer/releases
-
PSR-12 sniff, `PSR12.Classes.AnonClassDeclaration.SpaceAfterKeyword` rejects `new class()` with: _Expected 1 space after class keyword; 0 found._
However, `Symfony.Objects.ObjectInstantiation.Inval…
Bilge updated
1 month ago
-
### Premise
A standard should be able to be used without leading to fixer conflicts.
Now, as code can be written in lots of different ways, it is not always straight forward to anticipate potent…
jrfnl updated
1 month ago
-
**Describe the bug**
Auto implemented abstract methods have their bracket on the same line
**To Reproduce**
```php
abstract class helloWorld
{
abstract public function hello();
}
class…
-
**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…
-
I'm using Intelephense with Symfony 7 and PHP 8.3.
As per PSR-12 documentation (4.4)
> The opening brace MUST go on its own line, and the closing brace MUST go on the next line following the bod…
-
Now that PSR12 has been ~~released~~ accepted, when will we see an update to include it as part of the ruleset?
https://github.com/squizlabs/PHP_CodeSniffer/blob/master/src/Standards/PSR12/ruleset.…
-
Duplicated from https://github.com/squizlabs/PHP_CodeSniffer/issues/3889 (and updated from later comments)
----
## Describe the bug
`phpcs:enable` can sometimes wind up overriding a later `…
-
In #6213 the CI job failed with a styling error. I went back to the docker dev environment and ran `/root/devtools psr12-fix` expecting the error to be resolved. However, the local report showed no er…