Skip to content

PHPCBF no-patch option shows an error when there are no fixable violations in a file #401

@aik099

Description

@aik099

Here is the fragment of phpcbf output:

Processing upgrades.php [PHP => 642 tokens in 70 lines]... DONE in 38ms (1 fixable violations) => Fixing file: 0/1 violations remaining [made 2 passes]... DONE in 96ms => File was overwritten Processing constants.php [PHP => 1292 tokens in 228 lines]... DONE in 83ms (0 fixable violations) => Fixing file: 0/0 violations remainingERROR in 0ms 

I guess when 0 fixing passes were made, then [made 0 passes]... isn't printed and ERROR word has no space before it and remaining word.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions