No matter how bad I write my code (see examples below), phpcsfixer doesn't highlight, or provide messages (in either the Output:SublimeLinter nor popup ...) and doesn't seem to fix anything???
I've checked "where php-cs-fixer" with my windows 10 command prompt, and I successfully get the directory for all of my composer packages (phpcs & phpmd are working as expected with SublimeLinter). phpcs and phpmd both working as expected.
I'm running SublimeLinter in debug mode ("debug":true in SublimeLinter.sublime-settings), I keep getting the message in the console "phpcsfixer: no output", but above, it successfully running:
I do get a message in the status bar that phpcsfixer is working (right next to my other php linters: php, phpcs, phpmd). But it appears that it is not finding anything.
Here is some sample code I'm trying to get phpcsfixer to act upon:
/*
this should trip align_multiline_comment errors
*/
// should trip array_indentation error
array(1,
2,
3
);
From sublime console, I see the the file being fixed is a ".tmp" file, and the command line switch of "--config=.php_cs" - where are these files? I cannot locate them to troubleshoot.
I must be doing something VERY basically wrong:
No matter how bad I write my code (see examples below), phpcsfixer doesn't highlight, or provide messages (in either the Output:SublimeLinter nor popup ...) and doesn't seem to fix anything???
I've checked "where php-cs-fixer" with my windows 10 command prompt, and I successfully get the directory for all of my composer packages (phpcs & phpmd are working as expected with SublimeLinter). phpcs and phpmd both working as expected.
I'm running SublimeLinter in debug mode ("debug":true in SublimeLinter.sublime-settings), I keep getting the message in the console "phpcsfixer: no output", but above, it successfully running:
SublimeLinter: #621 linter.py:1636 Running ... C:\Users\kevin\OneDrive\Documents\Programming\Local SFTP\A2kjnapps (working dir)
C:\Users\kevin\OneDrive\Documents\Programming\Local SFTP\A2kjnapps (working dir)
I do get a message in the status bar that phpcsfixer is working (right next to my other php linters: php, phpcs, phpmd). But it appears that it is not finding anything.
Here is some sample code I'm trying to get phpcsfixer to act upon:
/*
constant("ThisShouldTripAConstantCaseError", false);
$ThisShouldTripAdir_constantError = dirname(FILE);
Thank you for any help..