diff --git a/tests/src/Unit/Flysystem/S3Test.php b/tests/src/Unit/Flysystem/S3Test.php index e7801e2..2ee99da 100644 --- a/tests/src/Unit/Flysystem/S3Test.php +++ b/tests/src/Unit/Flysystem/S3Test.php @@ -45,8 +45,8 @@ class S3Test extends UnitTestCase { /** * Creates reusable mocks. */ - public function __construct() { - parent::__construct(); + protected function setUp(): void { + parent::setUp(); $this->time = $this->prophesize(Time::class)->reveal(); $loggerChannel = $this->prophesize(LoggerChannel::class)->reveal(); $loggerFactoryProphecy = $this->prophesize(LoggerChannelFactory::class);