Files
codebase-memory-mcp/tests
Martin Vogel 149d2831b8 test(php-lsp): 50 more edge-case tests (200 → 248)
Real-world PHP patterns covered:
  - Constructor property promotion + chain
  - Enum method dispatch with backed values
  - assert + 2-level chain
  - Negative narrowing through throw
  - Closure::fromCallable via [\$this, 'method']
  - Late assignment chain ($a = null; $a = new A(); $a->go())
  - Callable typed parameter
  - Nullable param chain via if-truthy narrowing
  - Attribute (#[...]) above class
  - Method with reference param
  - Abstract methods (no body)
  - Interface only (no impl)
  - Nested match expressions
  - Long static chain (Carbon)
  - Iterable typed parameter
  - array<T> via @var
  - Two traits in one class
  - Enum implementing interface
  - Constructor with readonly + private + promotion
  - Anonymous class (graceful no-resolve)
  - Arrow function implicit capture
  - 5-deep namespace path
  - PSR-7 full lifecycle
  - DateTimeImmutable chain
  - Throwable getMessage/getCode/getFile/getLine
  - PSR Container has/get
  - Long nullsafe chain
  - self/static in constructor
  - parent:: method dispatch
  - private/protected/public method visibility
  - final class
  - Property with default value
  - Private static factory + chain

Total: 3013 → 3061 / 0 failed (php_lsp 200 → 248).
2026-05-09 15:02:12 +02:00
..
2026-04-15 23:56:03 +02:00