8000 Revert "use PHP_OS instead of php_uname('s')" · symfony/symfony@5130ff7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5130ff7

Browse files
committed
Revert "use PHP_OS instead of php_uname('s')"
This reverts commit 40e0dc8. This commit led to a regression on the OS400 platform, where the constant PHP_OS returns "AIX" not "OS400".
1 parent 513fc31 commit 5130ff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Output/ConsoleOutput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ protected function hasStderrSupport()
125125
*/
126126
private function isRunningOS400()
127127
{
128-
return 'OS400' === PHP_OS;
128+
return 'OS400' === php_uname('s');
129129
}
130130

131131
/**

0 commit comments

Comments
 (0)
0