Back Php Inspections (EA Extended) 2.3.15

Dependencies defined in plugin.xml

  • com.intellij.modules.platform
  • com.jetbrains.php (PHP)

Supported products

List of supported products was determined by dependencies defined in the plugin.xml.

Product name Compatible versions
IntelliJ IDEA 2016.2.4+
PhpStorm 2016.2.4+

Unsupported products

Product name Incompatible dependencies
WebStorm com.jetbrains.php
RubyMine com.jetbrains.php
AppCode com.jetbrains.php
CLion com.jetbrains.php
GoLand com.jetbrains.php
DataGrip com.jetbrains.php
Rider com.jetbrains.php
MPS com.jetbrains.php
Android Studio com.jetbrains.php
IntelliJ IDEA Community Edition com.jetbrains.php
PyCharm com.jetbrains.php
PyCharm Community Edition com.jetbrains.php
PyCharm Educational Edition com.jetbrains.php

Notes

Happy new year! We've improved something for you:

- Exploiting unserialize: resolved false-positives (UTs)
- Magic methods validity: resolved false-positives (multiple cases)
- Phar-incompatible 'realpath(...)' usage: resolved false-positives (UTs)
- PhpUnit: bugs and best practices: resolved false-positives (multiple cases)
- Statement could be decoupled from foreach: resolved false-positives (compact function)
- Variable functions usage: resolved false-positives (call_user_func suggestion in some cases)
- 'scandir(...)' low performing usage: resolved false-positives (imported functions)
- 'mkdir(...)' race condition: resolved false-positives (imported functions)

- Exceptions handling and annotating: new patterns (methods without PhpDoc)
- Exceptions handling and annotating: new settings (exceptions to ignore)
- PhpUnit: bugs and best practices: new patterns
- Return type hint can be used: use self when specified in PhpDoc
- Security advisories for Composer packages: new packages (vfsStream)

- Default value is hidden in else branch: dropped
- PhpUnit: unnecessary assertion: implemented