Commit graph

2 commits

Author SHA1 Message Date
Snider
5a1be07c2b fix(static-analysis): drop missing src/Core/Service/Tests path, suppress pending Service module
PHPStan + Psalm CI both failed at config-load on dAppCore/php#2 because
src/Core/Service/Tests doesn't exist. Removed that exclude entry from both
configs.

Knock-on: BunnyStorageService implements Core\Service\Contracts\HealthCheckable
which lives in a not-yet-built Core\Service module. PHPStan flagged it via
non-ignorable interface.notFound, Psalm via MissingDependency. Excluded the
file from PHPStan and added directory-scoped MissingDependency suppression to
Psalm covering src/Core/Cdn until the Service module lands.

Also added Front\Client\Boot to the UndefinedClass suppression list (pending
Front\Client frontage subpackage).

Local verification:
  vendor/bin/phpstan analyse --no-progress    → No errors
  vendor/bin/psalm --no-progress              → No errors found
  composer test                                → 245 tests pass

Tracked under core/lint RFC migration: plans/code/core/lint/RFC.md

Co-Authored-By: Cladius Maximus <claude@anthropic.com>
2026-04-27 15:54:09 +01:00
Snider
28d004ff61 feat: replace Go CLI with PHP framework
Some checks failed
CI / PHP 8.4 (push) Failing after 1m54s
CI / PHP 8.3 (push) Failing after 1m58s
Go CLI commands moved to core/go-php. This repo now contains
the Laravel modular monolith framework (previously php-framework).

- Remove all Go files (now in core/go-php)
- Add PHP framework: event-driven module loading, lifecycle events
- Composer package: core/php
- core/php-framework remains as-is for backward compat

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 08:49:51 +00:00