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)_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
core/php-tenant#28
No description provided.