Skip to content

Commit e88ca06

Browse files
authored
Update Mpdf (Php8.5 compatibility) r390 (#4595)
1 parent 0b4d3c4 commit e88ca06

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/PhpSpreadsheetTests/Writer/Xls/WorkbookTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ public function xtestAddColor(array $testColors, array $expectedResult): void
4444
$workbookReflection = new ReflectionClass(Workbook::class);
4545
$methodAddColor = $workbookReflection->getMethod('addColor');
4646
$propertyPalette = $workbookReflection->getProperty('palette');
47-
$methodAddColor->setAccessible(true);
48-
$propertyPalette->setAccessible(true);
4947

5048
foreach ($testColors as $testColor) {
5149
$methodAddColor->invoke($this->workbook, $testColor);
@@ -73,7 +71,6 @@ public function arrayAddColor(): array
7371

7472
$workbookReflection = new ReflectionClass(Workbook::class);
7573
$propertyPalette = $workbookReflection->getProperty('palette');
76-
$propertyPalette->setAccessible(true);
7774

7875
$palette = $propertyPalette->getValue($this->workbook);
7976
self::assertIsArray($palette);

0 commit comments

Comments
 (0)