Skip to content

Commit

Permalink
fix: deprecation warning from PHPUnit (#145)
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
  • Loading branch information
Chris53897 and Chris8934 committed Feb 15, 2024
1 parent 66188ad commit c1add1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Browser/Test/HasBrowser.php
Expand Up @@ -11,6 +11,7 @@

namespace Zenstruck\Browser\Test;

use PHPUnit\Framework\Attributes\After;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Symfony\Component\Panther\Client as PantherClient;
Expand All @@ -31,6 +32,7 @@ trait HasBrowser
*
* @after
*/
#[After]
final public static function _resetBrowserClients(): void
{
self::$primaryPantherClient = null;
Expand Down

0 comments on commit c1add1b

Please sign in to comment.