mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
2.x needs to be compatible with PHP<5.4
This commit is contained in:
parent
3919f93149
commit
cde93ca7b9
1 changed files with 3 additions and 3 deletions
|
@ -480,9 +480,9 @@ TEXT;
|
|||
}
|
||||
CakeLog::config('file', array('engine' => 'File', 'path' => TMP . 'logs' . DS));
|
||||
|
||||
$val = [
|
||||
'test' => ['key' => 'val']
|
||||
];
|
||||
$val = array(
|
||||
'test' => array('key' => 'val')
|
||||
);
|
||||
Debugger::log($val, LOG_DEBUG, 0);
|
||||
$result = file_get_contents(LOGS . 'debug.log');
|
||||
$this->assertContains('DebuggerTest::testLog', $result);
|
||||
|
|
Loading…
Add table
Reference in a new issue