Release 2.12 (#4609)

This commit is contained in:
Kevin Papst
2024-02-07 23:47:25 +01:00
committed by GitHub
parent 7abe787778
commit 85a16a9363
394 changed files with 1189 additions and 6735 deletions

View File

@@ -37,7 +37,7 @@ class TimeFormatterTest extends AbstractFormatterTest
return Date::PHPToExcel($this->date);
}
public function testFormattedValueWithInvalidValue()
public function testFormattedValueWithInvalidValue(): void
{
$this->expectException(\InvalidArgumentException::class);
$this->expectExceptionMessage('Unsupported value given, only DateTimeInterface is supported');
@@ -49,7 +49,7 @@ class TimeFormatterTest extends AbstractFormatterTest
$sut->setFormattedValue($worksheet, 1, 1, 'sdfsdf');
}
protected function assertCellStyle(Style $style)
public function assertCellStyle(Style $style): void
{
self::assertEquals(TimeFormatter::TIME_FORMAT, $style->getNumberFormat()->getFormatCode());
}