coding-standard
coding-standard copied to clipboard
Coding Standard rules for PHP projects with focus on Clean Architecture
Hello, I'm not sure where to post this issue. This repository has a dependency on [symplify/rule-doc-generator-contracts](https://github.com/symplify/rule-doc-generator-contracts), but that repository is a readonly subset of the [archived Symplify monorepo](https://github.com/deprecated-packages/symplify). There is...
No utf8 support for LineLengthFixer. The length of the strings is not correctly calculated, because of this, an extra line break is set, where it is not necessary. The solution...
Hi! I noticed that the `Symplify\CodingStandard\Fixer\Commenting\ParamReturnAndVarTagMalformsFixer` tries to 'fix' correct multi-line doc-blocks. The following code: ```php /** * @param array $foo */ public function test($foo, $bar): void {} ``` Produces...
With ```php ->withConfiguredRule( LineLengthFixer::class, [ 'line_length' => 120, 'break_long_lines' => true, 'inline_short_lines' => true, ] ) ``` ## Doesn't work ```php
## Feature Request: Support for Custom Configuration of Rules Currently, the `symplify/coding-standard` package operates with the built-in `SetList::SYMPLIFY`, which is great for a standard coding practice. However, it would be...
Hello there, A picture is worth a 1000 words: ```diff ---------- begin diff ---------- @@ -8,9 +8,11 @@ class SomeClass { public function __construct( - #[JMS\Expose, JMS\Type('integer')] + #[JMS\Expose, +...