Skip to content

Release: fix Larastan in the analytics test - #133

Merged
StanBarrows merged 1 commit into
productionfrom
main
Oct 25, 2026
Merged

StanBarrows merged 1 commit into
productionfrom
main

Conversation

@StanBarrows

Copy link
Copy Markdown
Contributor

Summary

  • Test-only follow-up to Release: codebar analytics fixes #132: the zunscan analytics test used $this-> inside a Pest closure, which Larastan rejects (4 errors). It now uses Pest\Laravel\get() / withoutVite().

Test plan

  • vendor/bin/phpstan analyse: no errors
  • tests/Feature/Views/CodebarAnalyticsPartialTest.php: 4 passed
  • CI

🤖 Generated with Claude Code

Larastan analyses the tests and does not know $this inside the Pest
closure (4 errors in ci larastan on #132). Use Pest\Laravel\get() and
withoutVite() instead, as the rest of the suite does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@StanBarrows
StanBarrows merged commit b4d4d1a into production Oct 25, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant