We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cf5c59 commit 7df9e3eCopy full SHA for 7df9e3e
test/unit/Platform/TargetPhp/PhpBinaryPathTest.php
@@ -51,7 +51,7 @@
51
use const PHP_MAJOR_VERSION;
52
use const PHP_MINOR_VERSION;
53
use const PHP_OS_FAMILY;
54
-use const PHP_VERSION;
+use const PHP_RELEASE_VERSION;
55
56
#[CoversClass(PhpBinaryPath::class)]
57
final class PhpBinaryPathTest extends TestCase
@@ -117,7 +117,7 @@ public function testVersionFromCurrentProcess(): void
117
$phpBinary = PhpBinaryPath::fromCurrentProcess();
118
119
self::assertSame(
120
- PHP_VERSION,
+ PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION . '.' . PHP_RELEASE_VERSION,
121
$phpBinary->version(),
122
);
123
0 commit comments