php-codesniffer/tests/DigiComp/Sniffs/Commenting/VariableCommentSniffTest.php

14 lines
346 B
PHP

<?php
namespace DigiComp\PhpCodesniffer\DigiComp\Sniffs\Commenting;
use SlevomatCodingStandard\Sniffs\TestCase;
class VariableCommentSniffTest extends TestCase
{
public function testErrors(): void
{
$report = self::checkFile(__DIR__ . '/data/comments.php');
self::assertCount(1, $report->getWarnings()[20][6]);
}
}