Inspectopedia Help

Missing strict types declaration

Detects the missing declare(strict_types=1) directive in the file.

See Strict typing (php.net) to learn more about why you may need use this directive.

Inspection Details

Available in:

PhpStorm 2023.3, Qodana for PHP 2023.3

Plugin:

PHP, 233.SNAPSHOT

Last modified: 13 July 2023