2
0
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:
MDW
2024-08-07 01:20:43 +02:00
committed by GitHub
parent 782f968eb7
commit d6948077b2
106 changed files with 318 additions and 440 deletions

View File

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

View File

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