Identify Test classes that do not have any @covers tags.
More...
|
| register () |
| @inheritDoc
|
|
| process (File $phpcsFile, $stackPtr) |
|
|
| hasCoversTags (File $phpcsFile, int $stackPtr) |
| Whether the statement has @covers tags.
|
|
Identify Test classes that do not have any @covers tags.
◆ hasCoversTags()
MediaWiki\Sniffs\Commenting\MissingCoversSniff::hasCoversTags |
( |
File | $phpcsFile, |
|
|
int | $stackPtr ) |
|
protected |
Whether the statement has @covers tags.
- Parameters
-
File | $phpcsFile | |
int | $stackPtr | Position of T_CLASS/T_FUNCTION |
- Returns
- bool
◆ process()
MediaWiki\Sniffs\Commenting\MissingCoversSniff::process |
( |
File | $phpcsFile, |
|
|
| $stackPtr ) |
- Parameters
-
File | $phpcsFile | |
int | $stackPtr | Position of T_CLASS |
- Returns
- void
The documentation for this class was generated from the following file:
- MediaWiki/Sniffs/Commenting/MissingCoversSniff.php