antonioribeiro / laravelcs

Laravel PHP_CodeSniffer
BSD 3-Clause "New" or "Revised" License
234 stars 32 forks source link

Modified Sniffer to check dockblocks and inline structures #8

Open lukzgois opened 9 years ago

lukzgois commented 9 years ago

I wrote this to check if the class and functions docblocks are present. I used the PEAR check with some modifications (no requirements of tags, just the dockblock). I also allowed inline control structures, because on certain cases it be useful.