mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-24 09:09:22 +00:00
Phpstan Bleeding Edge Part 2 of Many
This will be the biggest of these changes. It takes care of all of the remaining problems in tests. I will handle the problems in src more slowly.
This commit is contained in:
@@ -27,7 +27,6 @@ class ErrorWizardTest extends TestCase
|
||||
public function testErrorWizard(): void
|
||||
{
|
||||
$ruleType = Wizard::ERRORS;
|
||||
/** @var Wizard\Errors $wizard */
|
||||
$wizard = $this->wizardFactory->newRule($ruleType);
|
||||
self::assertInstanceOf(Wizard\Errors::class, $wizard);
|
||||
$wizard->setStyle($this->style);
|
||||
@@ -45,7 +44,6 @@ class ErrorWizardTest extends TestCase
|
||||
public function testNonErrorWizard(): void
|
||||
{
|
||||
$ruleType = Wizard::NOT_ERRORS;
|
||||
/** @var Wizard\Errors $wizard */
|
||||
$wizard = $this->wizardFactory->newRule($ruleType);
|
||||
self::assertInstanceOf(Wizard\Errors::class, $wizard);
|
||||
$wizard->setStyle($this->style);
|
||||
|
||||
Reference in New Issue
Block a user