Answer the question
In order to leave comments, you need to log in
How to correctly set up the PHP-Codebeautifier plugin for Summime Text 3?
I’m tormented, for a day I can’t understand what he needs, I did everything according to the instructions.
The plugin itself: https://packagecontrol.io/packages/PHP%20Codebeautifier
1. First, I would like to clarify whether this plugin is only for code alignment or does it fix errors, such as closing necessary commas, etc.
2. And actually the problem is, I installed everything, registered the path in the configs.
But when executing the plugin, there is an error in the sublime console:"path": "C:/OSPanel/modules/php/PHP-7.0/phpcbf"
Warning: include_once(PHP/CodeSniffer/autoload.php): failed to open stream: No such file or directory in C:\OSPanel\modules\php\PHP-7.0\phpcbf on line 14
Warning: include_once(): Failed opening 'PHP/CodeSniffer/autoload.php' for inclusion (include_path='.;C:\php\pear') in C:\OSPanel\modules\php\PHP-7.0\phpcbf on line 14
Fatal error: Uncaught Error: Class 'PHP_CodeSniffer\Runner' not found in C:\OSPanel\modules\php\PHP-7.0\phpcbf:17
Stack trace:
#0 {main}
thrown in C:\OSPanel\modules\php\PHP-7.0\phpcbf on line 17
P.S.: PHP использовал, которое идет вместе с Open Server
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question