laravelcs icon indicating copy to clipboard operation
laravelcs copied to clipboard

Modified Sniffer to check dockblocks and inline structures

Open lukzgois opened this issue 9 years ago • 0 comments

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.

  • Check for the class dockblocks
  • Check for function dockblocks
  • Allow inline conditional structures, like if (true) return;

lukzgois avatar Apr 30 '15 18:04 lukzgois