docs: fix incorrect namespace in README.md usage examples #28

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

Problem

README.md shows usage examples with the namespace Core\Mod\Tenant\Services\...:

use Core\Mod\Tenant\Services\WorkspaceManager;
use Core\Mod\Tenant\Services\WorkspaceService;
use Core\Mod\Tenant\Services\EntitlementService;

However, composer.json defines the actual namespace as Core\Tenant\ (autoloaded from root). The correct namespace is Core\Tenant\Services\....

Impact

  • New users following the README will get class not found errors
  • Incorrect documentation undermines trust in the package

Acceptance Criteria

  • Update all Core\Mod\Tenant\ references in README.md to Core\Tenant\
  • Verify all code examples compile correctly against the actual autoload mapping

Discovered during automated scan (issue #3)

## Problem `README.md` shows usage examples with the namespace `Core\Mod\Tenant\Services\...`: ```php use Core\Mod\Tenant\Services\WorkspaceManager; use Core\Mod\Tenant\Services\WorkspaceService; use Core\Mod\Tenant\Services\EntitlementService; ``` However, `composer.json` defines the actual namespace as `Core\Tenant\` (autoloaded from root). The correct namespace is `Core\Tenant\Services\...`. ## Impact - New users following the README will get class not found errors - Incorrect documentation undermines trust in the package ## Acceptance Criteria - Update all `Core\Mod\Tenant\` references in README.md to `Core\Tenant\` - Verify all code examples compile correctly against the actual autoload mapping _Discovered during automated scan (issue #3)_
Clotho added the
discovery
docs
labels 2026-02-20 16:39:47 +00:00
Clotho was assigned by Charon 2026-02-20 23:46:44 +00:00
Charon added the
agent-ready
label 2026-02-21 01:31:53 +00:00
Sign in to join this conversation.
No description provided.