Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix order of cleaning up constants docs #78

Open
krzysztofrewak opened this issue Jun 14, 2022 · 0 comments
Open

Fix order of cleaning up constants docs #78

krzysztofrewak opened this issue Jun 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@krzysztofrewak
Copy link
Member

Right now this:

    /** @var string */
    public const DEBUG = "debug";
    /** @var string */
    public const INFO = "info";
    /** @var string */
    public const NOTICE = "notice";
    /** @var string */
    public const WARNING = "warning";
    /** @var string */
    public const ERROR = "error";
    /** @var string */
    public const CRITICAL = "critical";
    /** @var string */
    public const ALERT = "alert";
    /** @var string */
    public const EMERGENCY = "emergency";

is reformatted into this:

    public const DEBUG = "debug";

    public const INFO = "info";

    public const NOTICE = "notice";

    public const WARNING = "warning";

    public const ERROR = "error";

    public const CRITICAL = "critical";

    public const ALERT = "alert";

    public const EMERGENCY = "emergency";

... and after secound run, into this:

    public const DEBUG = "debug";
    public const INFO = "info";
    public const NOTICE = "notice";
    public const WARNING = "warning";
    public const ERROR = "error";
    public const CRITICAL = "critical";
    public const ALERT = "alert";
    public const EMERGENCY = "emergency";

Probably we should change order of some fixers to receive a proper result after first run. It should be added to tests too.

@krzysztofrewak krzysztofrewak added the bug Something isn't working label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant