Open rusproject opened 2 years ago
del comment
Hey @rusproject I no longer work on this project, as I use vscode. I also don't have access to windows, so will struggle to help I am afraid. Apologies.
@benmatselby I'm planning to fix some of this issue. can you guide me where to start or point me where?
I see that phpcs.py is like the main file
Hey @skeeith
Full disclosure, I won't be able to test this on windows, and I don't even use Sublime Text anymore, so testing this on a Mac is going to take some time for me to set it all up again.
However, as per your request.
Aye, phpcs.py
is the place you want to start. After that it's worth noting that all the commands inherit from ShellCommand
. The main Sublime Text command is PhpcsCommand
which orchestrates the rest.
Hello! Can't get it work on windows, getting WinError 193 or WinError 2.
Phpcs itself working perfectly when I run it from command prompt (
C:\php\php.exe C:\php\php-cs-fixer-v3.phar fix D:\project2\model\_Criteria.php --verbose
)but not from ST4 plugin. I've tried to specify
"phpcs_php_prefix_path": "C:\\php\\php.exe",
or"phpcs_php_prefix_path": "C:/php/php.exe",
but it doesn't work, keep getting an errorAre there some instructions or examples for installing and/or configuring phpcs for sublime text 4 on windows (without using composer for phpcs installation)?