Skip to content

Question: php-cs-fixer config file path in sublime-project? #143

@hansott

Description

@hansott

I would like to run php-cs-fixer with the --config-file=.php_cs argument. But it seems that the file is not found. Can I make use of the $project_path variable to get the correct path?

Thanks!

My sublime project file:

{
    "folders": [
         ...
    ],
    "phpcs": {
        "php_cs_fixer_additional_args": {
             "--config-file": ".php_cs"
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions