Skip to content

Commit e3bcf9a

Browse files
phpstan: drop orphan @phpstan-ignore on Facade setter
ECS auto-fix in 8979b5f restructured the surrounding test scaffolding, which incidentally cleared the type-mismatch PHPStan was flagging on the Facade::setFacadeApplication call. PHPStan level 0 then errored with "No error to ignore is reported on line 77," failing the quality gate. Drop the now-stale ignore directive. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8979b5f commit e3bcf9a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/Unit/V2/VersionMarkerWireFormatTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ protected function setUp(): void
7373
// same process are not affected by our minimal container.
7474
$this->priorFacadeApp = \Illuminate\Support\Facades\Facade::getFacadeApplication();
7575
\Illuminate\Support\Facades\Facade::clearResolvedInstances();
76-
// @phpstan-ignore-next-line argument.type — Facade accepts any bound container at runtime.
7776
\Illuminate\Support\Facades\Facade::setFacadeApplication($container);
7877
}
7978

0 commit comments

Comments
 (0)