adael / SublimePhpCsFixer

Run php-cs-fixer code formatter to format php code from your favorite text editor
MIT License
71 stars 14 forks source link

Change `folder` variable to proper one for current file. #17

Closed gh640 closed 7 years ago

gh640 commented 7 years ago

This PR is for a follow-up change for the PR #15.

https://github.com/adael/SublimePhpCsFixer/pull/15#issuecomment-331310095

The variable folder which can be used in the variable config always points the first project folder . When multiple projects are open, using that value is not preferable.

So it's better to change the variable value to the proper one for the current file.

adael commented 7 years ago

Thank you very much

gh640 commented 7 years ago

@adael thank you 😃