lint/operators/prefer-coalesce-assign
In the modernize set. Safe fix.
What it does
Use the null coalescing assignment operator ??= where possible.
Configuration
[lint.rules]
"operators/prefer-coalesce-assign" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Replaces
assign_null_coalescing_to_coalesce_equal(php-cs-fixer)