Hello dear friends at Sitepoint.
I'm new to php :D and just started to create some things on the language.
Recentely stumble across with a plugin for sublimetext 3 called phplint. Have you tried it ?
The problem is that this phplint plugin is linting even the must basic variables on the file, and wondering why or if I need to customize it?.
Does anyone know how to customize the errors?, it is very anoying that simple variables or functions (that I know are correct) marked as errors.
Any help with this is very much apreciated. Or maybe some read ... a light !?
AFAIK Lint checks both style and syntax.
I don't know how picky it is, but if you know the code has the correct syntax it might be it doesn't like your style. eg.
You are using spaces to indent and it wants tabs.
You are using camelCase names and it wants under_scrores
IMHO having a certain style is important when others are working on the code or you're sharing the code. Otherwise, if you're the only one working with the code as long as you have a style you like and are consistant you'll be fine.
Sorry, I don't know if Lint has the option of turning of style checking. But definately leave syntax checking on.
Originally Posted by Mittineague
Yes it is very picky.
Maybe I will use it sometime after a lot reading on how to configure the plugin.
Thank you very much Mittineague for taking the time to answer.