Skip to content

Commit

Permalink
Fix CS with PHP-CS-Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
MalteWunsch authored and github-actions[bot] committed Nov 19, 2024
1 parent 35e735e commit 98e608c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/NotModified/EventListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

use Closure;
use DateTime;
use Error;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
use Symfony\Component\DependencyInjection\ContainerInterface;
Expand Down Expand Up @@ -198,7 +199,7 @@ public function onKernelControllerSavesOriginalControllerAttributesWhenReplacing
/** @test */
public function onKernelControllerThrowsExceptionIfAttributeIsFoundMoreThanOnce(): void
{
self::expectException(\Error::class);
self::expectException(Error::class);
self::expectExceptionMessageMatches('/ReplaceWithNotModifiedResponse/');

$this->exerciseOnKernelController([DummyController::class, 'actionWithMoreThanOneAttribute']);
Expand Down

0 comments on commit 98e608c

Please sign in to comment.