What happens
composer test:types fails on main at ca2a86c, with no change to the source, in all ten places the package renders one of its own views:
------ ---------------------------------------------------------------------
Line Filament/Widgets/FindingsList.php
40 Parameter #1 $view of static method Illuminate\View\Factory::make()
expects view-string, string given.
------ ---------------------------------------------------------------------
The same ten, in Filament/Widgets/{FindingsList,HealthTimeline,RunningVacuums}.php and Http/Controllers/{Console,Dashboard,History,Internals,Learn,Lesson,Table}Controller.php. [ERROR] Found 10 errors, exit 1 — which takes down the six postgres: 17 legs of the Tests workflow, the ones that run the full gate. The three SQL-only legs (PG 14/15/16) stay green, so the failure reads as if it were about one of those versions.
Why now
Nothing in the repository changed. larastan/larastan resolves to 3.12.2, published after the last green run on main (2026-09-09), and the CI installs dependencies unlocked. Its tightened view-string requires the argument to name a view the analyser can resolve, and a package's views are registered under the vacuum:: namespace at runtime by VacuumServiceProvider, so a literal like 'vacuum::dashboard' cannot be resolved statically and stays a plain string.
Reproducing
git checkout main && composer update && composer test:types
Note
I ran into this on #26, where it is the only thing red — I mention it there too so the two are not confused. That PR's own change is one line in IndexResource plus a test, neither of which this touches.
I have not sent a fix because the right one is a judgement call that is yours: teaching larastan where the package's views live, or ignoring the pattern in phpstan.neon.dist, or pinning larastan in the workflow. Happy to send whichever you prefer.
What happens
composer test:typesfails onmainatca2a86c, with no change to the source, in all ten places the package renders one of its own views:The same ten, in
Filament/Widgets/{FindingsList,HealthTimeline,RunningVacuums}.phpandHttp/Controllers/{Console,Dashboard,History,Internals,Learn,Lesson,Table}Controller.php.[ERROR] Found 10 errors, exit 1 — which takes down the sixpostgres: 17legs of the Tests workflow, the ones that run the full gate. The three SQL-only legs (PG 14/15/16) stay green, so the failure reads as if it were about one of those versions.Why now
Nothing in the repository changed.
larastan/larastanresolves to 3.12.2, published after the last green run onmain(2026-09-09), and the CI installs dependencies unlocked. Its tightenedview-stringrequires the argument to name a view the analyser can resolve, and a package's views are registered under thevacuum::namespace at runtime byVacuumServiceProvider, so a literal like'vacuum::dashboard'cannot be resolved statically and stays a plainstring.Reproducing
Note
I ran into this on #26, where it is the only thing red — I mention it there too so the two are not confused. That PR's own change is one line in
IndexResourceplus a test, neither of which this touches.I have not sent a fix because the right one is a judgement call that is yours: teaching larastan where the package's views live, or ignoring the pattern in
phpstan.neon.dist, or pinning larastan in the workflow. Happy to send whichever you prefer.