Inspectopedia Help

Code style

Enforce PHPDoc comment   New in this release

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

Missing @throws tag(s)   New in this release

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

Missing PHPDoc comment   New in this release

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

Non-canonical order of elements   New in this release

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

PHPDoc comment signature is not complete   New in this release

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: 11 September 2024