mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-25 20:38:21 +00:00
1ac1e7f11f
This PR resolves about half the statements which we tell Phpstan to ignore. There will still be 23 such annotations spread over 10 source modules for various reasons (too complicated, suspect PhpSpreadsheet code, one Phpstan bug), plus some deliberate errors in the test suite.
20 lines
476 B
PHP
20 lines
476 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpOffice\PhpSpreadsheetTests\Shared;
|
|
|
|
use PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class DggContainerTest extends TestCase
|
|
{
|
|
public function testBseParent(): void
|
|
{
|
|
$container = new DggContainer\BstoreContainer();
|
|
$bse = new DggContainer\BstoreContainer\BSE();
|
|
$bse->setParent($container);
|
|
self::assertSame($container, $bse->getParent());
|
|
}
|
|
}
|