You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #1127 update php-cs-fixer ruleset for php8 (jrushlow)
This PR was squashed before being merged into the 1.0-dev branch.
Discussion
----------
update php-cs-fixer ruleset for php8
- adds the PHP 8 && PHPUnit 8.4 migration rulesets
- forces trailing commas in multiline parameter lists to improve diff readability. e.g.
```php
public function __construct(
private int $number,
private string $word,
)
```
I also added trailing line commas in multiline _argument_ lists and then reverted the commit. See commit 352f951
If this we _should_ keep multiline trailing commas for args - I'll drop the commit that reverts it. Thoughts `@weaverryan` `@OskarStark` `@wouterj` ?
Commits
-------
697071d update php-cs-fixer ruleset for php8
0 commit comments