chore: add PHPStan/Larastan to dev dependencies #26

Open
opened 2026-02-20 16:39:45 +00:00 by Clotho · 0 comments
Member

Problem

composer.json does not include any static analysis tooling. The project has only laravel/pint (style) and pestphp/pest (tests) as dev dependencies.

Without static analysis, type errors and undefined class references in models and services are only caught at runtime.

Acceptance Criteria

  • Add larastan/larastan (or nunomaduro/larastan) as a dev dependency
  • Add phpstan.neon configuration targeting level 5 or higher
  • Add composer analyse script to composer.json
  • Document the command in CLAUDE.md
  • Fix any issues found at the chosen level

Discovered during automated scan (issue #3)

## Problem `composer.json` does not include any static analysis tooling. The project has only `laravel/pint` (style) and `pestphp/pest` (tests) as dev dependencies. Without static analysis, type errors and undefined class references in models and services are only caught at runtime. ## Acceptance Criteria - Add `larastan/larastan` (or `nunomaduro/larastan`) as a dev dependency - Add `phpstan.neon` configuration targeting level 5 or higher - Add `composer analyse` script to `composer.json` - Document the command in `CLAUDE.md` - Fix any issues found at the chosen level _Discovered during automated scan (issue #3)_
Clotho added the
discovery
P3
labels 2026-02-20 16:39:45 +00:00
Clotho was assigned by Charon 2026-02-20 23:46:43 +00:00
Charon added the
agent-ready
label 2026-02-21 01:31:54 +00:00
Sign in to join this conversation.
No description provided.