Skip to content

feat: migrate all classes to CrazyGoat\ZVec namespace with PSR-4 autoloading#147

Merged
s2x merged 3 commits into
mainfrom
feature/94-namespace-migration
May 30, 2026
Merged

feat: migrate all classes to CrazyGoat\ZVec namespace with PSR-4 autoloading#147
s2x merged 3 commits into
mainfrom
feature/94-namespace-migration

Conversation

@s2x

@s2x s2x commented May 30, 2026

Copy link
Copy Markdown
Contributor

No description provided.

s2x added 3 commits May 30, 2026 13:08
…loading

- Add namespace CrazyGoat\ZVec to all source files in src/
- Add class_alias() BC layer in ZVec.php barrel file for backward compatibility
- Add interface_alias() is not available; use class_alias() for interfaces too
- Remove classmap from composer.json (PSR-4 handles everything now)
- Update embedding tests to use namespaced class references
- Add tests/test_namespace_bc.phpt verifying both namespace styles work
- Update CHANGELOG.md with SMELL-013 entry

All 137 existing tests pass (0 failures, 2 pre-existing XFAIL).
Fixes #94
@s2x s2x merged commit 1fd823e into main May 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant