replace PHPUnit annotations with attributes (#5608)
This commit is contained in:
@@ -12,13 +12,12 @@ namespace App\Tests\Reporting;
|
||||
use App\Entity\User;
|
||||
use App\Event\ReportingEvent;
|
||||
use App\Reporting\ReportingService;
|
||||
use PHPUnit\Framework\Attributes\CoversClass;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
|
||||
|
||||
/**
|
||||
* @covers \App\Reporting\ReportingService
|
||||
*/
|
||||
#[CoversClass(ReportingService::class)]
|
||||
class ReportingServiceTest extends TestCase
|
||||
{
|
||||
protected function getSut(bool $isGranted = false): ReportingService
|
||||
|
||||
Reference in New Issue
Block a user