diff --git a/test/unit/Platform/TargetPhp/PhpBinaryPathTest.php b/test/unit/Platform/TargetPhp/PhpBinaryPathTest.php index 80badbc..3bf6b74 100644 --- a/test/unit/Platform/TargetPhp/PhpBinaryPathTest.php +++ b/test/unit/Platform/TargetPhp/PhpBinaryPathTest.php @@ -51,7 +51,7 @@ use const PHP_MAJOR_VERSION; use const PHP_MINOR_VERSION; use const PHP_OS_FAMILY; -use const PHP_VERSION; +use const PHP_RELEASE_VERSION; #[CoversClass(PhpBinaryPath::class)] final class PhpBinaryPathTest extends TestCase @@ -117,7 +117,7 @@ public function testVersionFromCurrentProcess(): void $phpBinary = PhpBinaryPath::fromCurrentProcess(); self::assertSame( - PHP_VERSION, + PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION . '.' . PHP_RELEASE_VERSION, $phpBinary->version(), );