2.x needs to be compatible with PHP<5.4

This commit is contained in:
mark_story 2014-02-16 21:37:28 -05:00
parent 3919f93149
commit cde93ca7b9

View file

@ -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);