PHP
Short form of type keywords
Info
New
Last modified: 03 December 2024Reports usages of long form type keywords.
According to PSR-12, short form of type keywords MUST be used, that is bool
instead of boolean
, int
instead of integer
, and so on.
See Keywords and Types (php-fig.org) for details.
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
PhpLongTypeFormInspection
Inspection Details | |
---|---|
By default bundled with: | IntelliJ IDEA 2024.3, PhpStorm 2024.3, Qodana for JVM 2024.3, Qodana for PHP 2024.3, |
Can be installed with plugin: | PHP, 243.23126 |
Thanks for your feedback!
Was this page helpful?