Skip to content

Commit

Permalink
Let tty tests run in PHP versions < 8.2.0, since that should be Symfo…
Browse files Browse the repository at this point in the history
…ny 6 or less.
  • Loading branch information
greg-1-anderson committed Apr 5, 2024
1 parent fb0c687 commit dc8ba5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/SiteProcessTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public function testSiteProcess(
if ($useTty && Escape::isWindows($os)) {
$this->markTestSkipped('Windows doesn\'t have /dev/tty support');
}
if ($useTty && getenv('CI')) {
if ($useTty && getenv('CI') && (version_compare("8.2.0", PHP_VERSION) >= 0)) {
$this->markTestSkipped('CI doesn\'t provide /dev/tty support');
}
$processManager = ProcessManager::createDefault();
Expand Down

0 comments on commit dc8ba5d

Please sign in to comment.