diff --git a/tests/Unit/Exception/UnresolvableParameterExceptionTest.php b/tests/Unit/Exception/UnresolvableParameterExceptionTest.php index 1f7ee48..81c5d83 100644 --- a/tests/Unit/Exception/UnresolvableParameterExceptionTest.php +++ b/tests/Unit/Exception/UnresolvableParameterExceptionTest.php @@ -23,8 +23,6 @@ use Tests\Unit\AbstractTestCase; use Throwable; -use function sprintf; - #[CoversClass(UnresolvableParameterException::class)] #[CoversClass(Aliases::class)] #[CoversClass(Bindings::class)] @@ -47,7 +45,7 @@ final class UnresolvableParameterExceptionTest extends AbstractTestCase public function testContainerBuild(): void { $this->assertException(UnresolvableParameterException::class); - $this->expectExceptionMessage(sprintf( + $this->expectExceptionMessage(\sprintf( 'Unresolvable class parameter "$number" in "%s::%s"; does not have a default value.', UnresolvableParameter::class, '__construct()' @@ -62,7 +60,7 @@ public function testContainerBuild(): void public function testContainerCall(): void { $this->assertException(UnresolvableParameterException::class); - $this->expectExceptionMessage(sprintf( + $this->expectExceptionMessage(\sprintf( 'Unresolvable function parameter "%s" in "%s"; does not have a default value.', '$event', 'Tests\Fixture\typelessFunction()',