PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Code Inspection: Covered function reference is provided without ‘::’

Last modified: 16 May 2022

Reports the references to functions/methods in the @covers PHPDoc tags that are not prepended with the scope resolution operator (::).

In the following example, an incorrect annotation provided for the coveredFunction function. After the quick-fix is applied, the function reference is prepended with the :: scope resolution operator.