14 lines
343 B
PHP
14 lines
343 B
PHP
<?php
|
|
|
|
namespace DigiComp\PhpCodesniffer\DigiComp\Sniffs\Comments;
|
|
|
|
use SlevomatCodingStandard\Sniffs\TestCase;
|
|
|
|
class DisallowHashCommentsSniffTest extends TestCase
|
|
{
|
|
public function testErrors(): void
|
|
{
|
|
$report = self::checkFile(__DIR__ . '/data/comments.php');
|
|
self::assertSame(1, $report->getErrorCount());
|
|
}
|
|
}
|