mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-14 20:16:34 +00:00
Upgrade QA tools
This commit is contained in:
@@ -10,6 +10,11 @@ parameters:
|
||||
count: 1
|
||||
path: samples/Basic/15_Datavalidation.php
|
||||
|
||||
-
|
||||
message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#"
|
||||
count: 1
|
||||
path: src/PhpSpreadsheet/Calculation/Calculation.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method arguments\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Engine\\\\ArrayArgumentHelper\\|null\\.$#"
|
||||
count: 4
|
||||
|
||||
@@ -188,7 +188,7 @@ class Sample
|
||||
public function log(string $message): void
|
||||
{
|
||||
$eol = $this->isCli() ? PHP_EOL : '<br />';
|
||||
echo($this->isCli() ? date('H:i:s ') : '') . $message . $eol;
|
||||
echo ($this->isCli() ? date('H:i:s ') : '') . $message . $eol;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -730,12 +730,12 @@ class Xls extends BaseWriter
|
||||
$dataSection_Content .= $dataProp['data']['data'];
|
||||
|
||||
$dataSection_Content_Offset += 4 + 4 + strlen($dataProp['data']['data']);
|
||||
/* Condition below can never be true
|
||||
} elseif ($dataProp['type']['data'] == 0x40) { // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)
|
||||
$dataSection_Content .= $dataProp['data']['data'];
|
||||
/* Condition below can never be true
|
||||
} elseif ($dataProp['type']['data'] == 0x40) { // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)
|
||||
$dataSection_Content .= $dataProp['data']['data'];
|
||||
|
||||
$dataSection_Content_Offset += 4 + 8;
|
||||
*/
|
||||
$dataSection_Content_Offset += 4 + 8;
|
||||
*/
|
||||
} else {
|
||||
$dataSection_Content .= $dataProp['data']['data'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user