Inspectopedia Help

Code style

Enforce PHPDoc comment  

Reports the elements without a PHPDoc comment or with a PHPDoc comment only containing the @noinspection tag.

Missing @throws tag(s)  

Reports missing PHPDoc @throws tags for exceptions thrown by functions or methods.

Missing PHPDoc comment  

Reports non-fully typed elements without a PHPDoc comment or with a PHPDoc comment only containing the @noinspection tag.

Non-canonical order of elements  

Reports the PHPDoc tags that have elements listed in non-canonical order.

PHPDoc comment signature is not complete  

Reports the PHPDoc comments that contain at least one @param or @return tag but are missing some of the @param or @return tags for parameters or return types specified in the function/method declaration.

Last modified: 18 June 2024