-
Notifications
You must be signed in to change notification settings - Fork 126
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
Question: php-cs-fixer config file path in sublime-project? #143
Comments
Any news about this issue? Will be nice if sublime-phpcs can detect .php_cs file at project root and use it. |
@thibaultlavoisey @hansott Hi folks.. I don't have a lot of time to look at this at the moment, but I would happily review and merge a pull request |
@hansott @thibaultlavoisey It works if you specify the full file path, but I'm assuming you know that? |
Hello, I'm trying to set specific rules per project basis, so I tried this:
And this:
But neither worked. It seems --config is the argument that PHP CS listens to, according to their documentation. I have limited knowledge, but it seems to be only a matter of passing the --config argument per project basis. Unfortunately I have zero knowledge of Python. Similar issue: PS: Thanks for supporting the open-source community. |
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:
The text was updated successfully, but these errors were encountered: