forked from Wavyzz/dolibarr
Qual: Fix spelling/update .pre-commit configuration (versions) (#30546)
* Qual: Update pre-commit configuration * Qual: Update spelling * Ignore use of deprecated constant
This commit is contained in:
@@ -28,7 +28,7 @@ use DebugBar\DataCollector\Renderable;
|
||||
/**
|
||||
* Class PhpCollector
|
||||
*
|
||||
* This class collects all PHP errors, notice, advices, trigger_error,...
|
||||
* This class collects all PHP errors, notices, advice, trigger_error,...
|
||||
* Supports 15 different types included.
|
||||
*/
|
||||
class PhpCollector extends DataCollector implements Renderable
|
||||
|
||||
@@ -629,7 +629,7 @@ class TraceableDB extends DoliDB
|
||||
/**
|
||||
* Convert (by PHP) a PHP server TZ string date into a Timestamps date (GMT if gm=true)
|
||||
* 19700101020000 -> 3600 with TZ+1 and gmt=0
|
||||
* 19700101020000 -> 7200 whaterver is TZ if gmt=1
|
||||
* 19700101020000 -> 7200 whatever is TZ if gmt=1
|
||||
*
|
||||
* @param string $string Date in a string (YYYYMMDDHHMMSS, YYYYMMDD, YYYY-MM-DD HH:MM:SS)
|
||||
* @param bool $gm 1=Input information are GMT values, otherwise local to server TZ
|
||||
|
||||
Reference in New Issue
Block a user