php-coding-standard v1.4.0 is out.
- Separate statement groups with a blank line. Assignments,
new expressions, statements on the same variable, static calls, and function calls each form a group, and assignments are also separated from any other statement.
- Treat assignments to properties, static properties, and array items, such as $this->value = 1; and $items[] = $item;, as part of an assignment group.
Opinionated ECS, Rector, and PHPStan presets for PHP and Laravel packages and applications.
https://github.com/hosmelq/php-coding-standard/releases/tag/v1.4.0GitHubRelease v1.4.0 · hosmelq/php-coding-standardSeparate statement groups with a blank line. Assignments, new expressions, statements on the same variable, static calls, and function calls each form a group, and assignments are also separated fr...
commit 4794d7f