Skip to content

Releases: blumilksoftware/codestyle

v1.6.0 - empty lines at the file header

10 Jun 13:09
717b521
Compare
Choose a tag to compare

As described in #67 and implemented in #76, from now we are enforcing a proper blank lines in every file "head section".

With these changes this:

<?php
declare(strict_types=1);
namespace Test;
class Test
{
}

will be fixed into:

<?php

declare(strict_types=1);

namespace Test;

class Test
{
}

v1.5.0 - object operator spacing

09 Jun 06:46
bc7c99f
Compare
Choose a tag to compare

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

08 Jun 07:24
206bd6b
Compare
Choose a tag to compare

As described in #69 and implemented in #72, from now yoda conditions will be fixed.

v1.3.0 - ${} string interpolation enforcing removal

10 May 09:43
bf694da
Compare
Choose a tag to compare

As described in #68 and implemented in #70, from now we are not enforcing ${} string interpolation.

v1.2.0 - spacing in brackets

27 Apr 11:07
124c55f
Compare
Choose a tag to compare

Spacing in functions should be fixed with PSR-12 rules as reported in #62 and implemented in #66.

v1.1.0 - cleanup comments

25 Apr 06:07
3f22488
Compare
Choose a tag to compare

With this release all useless comments like Laravel migrations descriptions, PHPStorm signatures, superfluous docblocks (#58) and function like dd() (#38) will be removed from the code as implemented in #64.

v1.0.4 - enforcing empty line at the end of the file

13 Apr 07:51
051274e
Compare
Choose a tag to compare

As described in #59 and implemented in #61.

v1.0.3 - forcing no empty lines between consts

08 Apr 08:20
306c7cb
Compare
Choose a tag to compare

As described in #55 and implemented in #57.

v1.0.2 - forcing empty lines between methods

08 Apr 07:19
966ed7c
Compare
Choose a tag to compare

As described in #55 and implemented in #56.

v1.0.1 - handling PHP-only files

04 Apr 06:26
e86ebcd
Compare
Choose a tag to compare

Previous release has a problem with SVG files incorrectly taken by CS Fixer to review. It's fixed with #54.