protected static $testLogFile = 'tests.log';
// Expected log date format
- protected static $dateFormat = 'Y/m/d_H:i:s';
+ protected static $dateFormat = 'Y/m/d H:i:s';
/**
protected function getLastLogEntry()
{
$logFile = file(self::$testLogFile);
- return explode(' - ', trim(array_pop($logFile), '\n'));
+ return explode(' - ', trim(array_pop($logFile), PHP_EOL));
}
/**