Skip to content

Commit

Permalink
Use a fully-qualified PHP_OS_FAMILY constant
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jun 29, 2018
1 parent 9998987 commit 72eb366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Command/AddUserCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ protected function setUp()
exec('stty 2>&1', $output, $exitcode);
$isSttySupported = 0 === $exitcode;

if ('Windows' === PHP_OS_FAMILY || !$isSttySupported) {
if ('Windows' === \PHP_OS_FAMILY || !$isSttySupported) {
$this->markTestSkipped('`stty` is required to test this command.');
}
}
Expand Down

0 comments on commit 72eb366

Please sign in to comment.