Does anyone have a workaround for this? github.com/Kronuz/SublimeLinter/issues/95
No linting on PHP files
I was doing most of the coding and support from end of July last year until recently. I just can’t spare the time any more. It would be nice if some other people would step up.
- Aparajita
You are using SublimeLinter instead of sublimelint right?
If using SublimeLinter
Try to do some debugging:
look at the message of linting a file via “console” ( be sure to navigate to the folder )
php -l filename.php
and compare the output with the result on sublimeLinter.
…\Packages\SublimeLinter\sublimelinter\modules\php.py
on line “for line in errors.splitlines():”
before add
“print errors”
maybe there is a need to adjust the regular expression
add more prints as necesary to check where is failing.
This helped me: github.com/chipotle/SublimeLint … 0a9950788a
(so the root of the cause was OS X 10.7.3, not a new version of ST2)
Thanks for your pointers!
I submitted a pull request to add your exception:
github.com/Kronuz/SublimeLinter/pull/98