mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-07 03:52:41 +00:00
Consolidate with conditions sniff.
This commit is contained in:
parent
11981f80fa
commit
e1c128bb99
25 changed files with 41 additions and 83 deletions
|
@ -139,8 +139,7 @@ class ConsoleLogTest extends CakeTestCase {
|
|||
TestCakeLog::config('test_console_log', array(
|
||||
'engine' => 'TestConsole',
|
||||
));
|
||||
if (
|
||||
(DS === '\\' && !(bool)env('ANSICON')) ||
|
||||
if ((DS === '\\' && !(bool)env('ANSICON')) ||
|
||||
(function_exists('posix_isatty') && !posix_isatty(null))
|
||||
) {
|
||||
$expected = ConsoleOutput::PLAIN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue