Skip to content

Invalid file syntax error for php-cs-fixer on a valid php file #140

@moon0326

Description

@moon0326

Hi,

I noticed my php-cs-fixer stopped working. I've enabled show_debug and looked at the log messages.

[Phpcs] I
Legend: ?-unknown, I-invalid file syntax, file ignored, .-no changes, F-fixed, E-error
Fixed all files in 0.009 seconds, 4.750 MB memory used

When I copy and paste the same command from the console to my terminal, it works just fine.

I've checked my php path and all the configurations and they look just fine.

Where should I look?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions