Closed ruudk closed 2 years ago
@spaze Tried to fix the code style error but I believe it's coming from upstream spaze/coding-standard
. It should not append ,
in function arguments as that is not available on PHP 7.1 and 7.2.
Yeah, right, the coding standard has started requiring trailing comma recently I'll see if it can be enforced only for 7.3+.
At first I thought of dropping support for unsupported PHP versions but as PHPStan still supports them I think it would be worth the time to support those as well.
I fixed it :)
Note to (mostly) self: the plugin is loaded because it's required by Slevomat Coding Standard which in turn is required by coding standard of yours truly: https://github.com/slevomat/coding-standard/blob/ec0e91393abbebca72de1e47e27ed98cf48f5fb1/composer.json#L16
Needed for Composer 2.2.0 (found with 2.2.0-RC1)