Skip to content

Commit 2bfc9b6

Browse files
pl-githubtemp
authored andcommitted
fix: Fix phpunit 9.x compatibility
1 parent 32bf959 commit 2bfc9b6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Request/RequestTrait.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace Brainbits\FunctionalTestHelpers\Request;
66

7-
use PHPUnit\Framework\Attributes\After;
8-
use PHPUnit\Framework\Attributes\Before;
97
use PHPUnit\Framework\TestCase;
108
use Symfony\Component\BrowserKit\AbstractBrowser;
119
use Symfony\Component\HttpFoundation\Response;
@@ -28,13 +26,13 @@ protected function createToken(): callable
2826
return static fn () => null;
2927
}
3028

31-
#[Before]
29+
/** @before */
3230
protected function setUpRequest(): void
3331
{
3432
self::$requestClient = static::createClient();
3533
}
3634

37-
#[After]
35+
/** @after */
3836
protected function tearDownRequest(): void
3937
{
4038
self::$requestClient = null;

0 commit comments

Comments
 (0)