php-coding-standard v1.5.0 is out.
- Lay out long method chains of three or more calls that were split by hand with several calls on a line the same way as single-line chains. Chains with one call per line or that form an arrow function's body keep their layout, and long Pest
expect() chains keep their manual ->and() grouping.
- Keep a property before a call on that call's line when splitting a chain, as in ->each->delete().
- Require laravel/pao so AI agents get compact JSON output from PHPStan, Rector, Pest, PHPUnit, and Paratest.
- Stop Rector from adding a blank line between consecutive assignments, which ECS removes again, so both tools agree on the same code.
Opinionated ECS, Rector, and PHPStan presets for PHP and Laravel packages and applications.
https://github.com/hosmelq/php-coding-standard/releases/tag/v1.5.0GitHubRelease v1.5.0 · hosmelq/php-coding-standardLay out long method chains of three or more calls that were split by hand with several calls on a line the same way as single-line chains. Chains with one call per line or that form an arrow functi...
commit 1273b91