Checking PHP DocBlocks Apr 29, 2015 by Marcelo Jacobus This is how you can check it: phpcs {files} --standard=Squiz \ --sniffs=Squiz.Commenting.FunctionComment,Squiz.Commenting.FunctionCommentThrowTag,Squiz.Commenting.ClassComment,Squiz.Commenting.FileComment,Squiz.Commenting.VariableComment I found this on stackoverflow.