Releases: blumilksoftware/codestyle
Releases · blumilksoftware/codestyle
v1.6.0 - empty lines at the file header
v1.5.0 - object operator spacing
As described in #74 and implemented in #75, from now we are enforcing a proper spacing in object operators. Anonymous functions spacing (#11) was fixed too.
With these changes this:
$array = $this ->array;
if ($this ?-> nullable) {
return array_filter($array, fn (int $i): bool => $i % 2 === 0);
}
will be fixed into:
$array = $this->array;
if ($this?->nullable) {
return array_filter($array, fn(int $i): bool => $i % 2 === 0);
}
v1.4.0 - Enforce non-Yoda conditions
v1.3.0 - ${} string interpolation enforcing removal
v1.2.0 - spacing in brackets
v1.1.0 - cleanup comments
v1.0.4 - enforcing empty line at the end of the file
v1.0.3 - forcing no empty lines between consts
v1.0.2 - forcing empty lines between methods
v1.0.1 - handling PHP-only files
Previous release has a problem with SVG files incorrectly taken by CS Fixer to review. It's fixed with #54.