php-codesniffer/tests/DigiComp/Sniffs/Comments/DisallowHashCommentsSniffTest.php

15 lines
343 B
PHP
Raw Normal View History

2021-08-01 13:33:41 +02:00
<?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());
}
}