File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 2121
2222 date_default_timezone_set ('UTC ' );
2323 assert ($ xlsxFastEditor ->getWorkbookDateSystem () === 1900 );
24+ // @phpstan-ignore staticMethod.internal
2425 assert (XlsxFastEditor::excelDateToDateTime (0.5 , 1900 )->format ('c ' ) === '1900-01-01T12:00:00+00:00 ' );
26+ // @phpstan-ignore staticMethod.internal
2527 assert (XlsxFastEditor::excelDateToDateTime (32 , 1900 )->format ('c ' ) === '1900-02-01T00:00:00+00:00 ' );
28+ // @phpstan-ignore staticMethod.internal
2629 assert (XlsxFastEditor::excelDateToDateTime (44865 , 1904 )->format ('c ' ) === '2026-11-01T00:00:00+00:00 ' );
2730
2831 $ sheet1 = $ xlsxFastEditor ->getWorksheetNumber ('Sheet1 ' );
8285 }
8386 assert ($ ex instanceof \InvalidArgumentException);
8487
88+ // @phpstan-ignore method.internal
8589 $ cellD4 = $ row4 ->getCell ('D4 ' );
8690 assert ($ cellD4 !== null );
8791 assert ($ cellD4 ->getPreviousCell ()?->getNextCell()?->name() === 'D4 ' );
You can’t perform that action at this time.
0 commit comments