We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a14f001 commit 5d76334Copy full SHA for 5d76334
src/Util/Common.php
@@ -218,7 +218,7 @@ public static function isStdinATTY()
218
}
219
220
// Next try is detecting whether we have `tty` installed and use that.
221
- if (defined('PHP_WINDOWS_VERSION_PLATFORM') === true) {
+ if (PHP_OS_FAMILY === 'Windows') {
222
$devnull = 'NUL';
223
$which = 'where';
224
} else {
0 commit comments