for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace PhpOffice\PhpSpreadsheetTests\Reader\Xml;
use PhpOffice\PhpSpreadsheet\Reader\Xml;
use PHPUnit\Framework\TestCase;
class Issue4448Test extends TestCase
{
private static string $testbook = 'tests/data/Reader/Xml/issue.4448.xml';
public function testIndent(): void
$reader = new Xml();
$spreadsheet = $reader->load(self::$testbook);
$sheet = $spreadsheet->getActiveSheet();
self::assertSame(
5,
$sheet->getStyle('A2')
->getAlignment()
->getIndent()
);
0,
$sheet->getStyle('A1')
$spreadsheet->disconnectWorksheets();
}