We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71f8b75 commit 5940a6fCopy full SHA for 5940a6f
test/unit/Platform/TargetPhp/PhpBinaryPathTest.php
@@ -86,13 +86,15 @@ public function testNonExecutablePhpBinaryIsRejected(): void
86
PhpBinaryPath::fromPhpBinaryPath(__FILE__);
87
}
88
89
+ #[RequiresOperatingSystemFamily('Linux')]
90
public function testInvalidPhpBinaryIsRejected(): void
91
{
92
$this->expectException(InvalidPhpBinaryPath::class);
93
$this->expectExceptionMessage('does not appear to be a PHP binary');
94
PhpBinaryPath::fromPhpBinaryPath(self::FAKE_PHP_EXECUTABLE);
95
96
97
98
public function testInvalidVersion(): void
99
100
$phpBinary = PhpBinaryPath::fromPhpBinaryPath(self::PHP_INVALID_VERSION);
0 commit comments