Inspectopedia Help

Enforce PHPDoc comment

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

You can use Missing PHPDoc Comment inspection to report only non-fully typed elements.

Inspection options

Option

Type

Default

Ignore private members

Checkbox

false

Constant

Checkbox

false

Function

Checkbox

true

Class

Checkbox

true

Method

Checkbox

true

Property

Checkbox

false

Class constant

Checkbox

false

Inspection Details

Available in:

PhpStorm 2023.3, Qodana for PHP 2023.3

Plugin:

PHP, 233.SNAPSHOT

Last modified: 13 July 2023