Skip to content

Remove annotations support - #46

Merged
janlam7 merged 4 commits into
hostnet:masterfrom
janlam7:bye-annotations
Sep 14, 2026
Merged

janlam7 merged 4 commits into
hostnet:masterfrom
janlam7:bye-annotations

Conversation

@janlam7

@janlam7 janlam7 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor
  • Removes the doctrine/annotations dependency
  • Since this will be released as a BC break, the code has been rigorously cleaned up.

janlam7 and others added 4 commits September 9, 2026 16:38
Remove the unused Events::entityChanged BC alias, add native object/
?object parameter and return types throughout EntityChangedEvent,
EntityChangedListener and the metadata providers instead of leaning
on mixed plus docblocks, and fix a docblock on
EntityMutationMetadataProvider::hasAssociationChanged that documented
its association-value parameters as string instead of object.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Doctrine\ORM\Proxy\Proxy, Doctrine\ORM\Tools\Setup and
EntityManager::create() are all deprecated in the installed doctrine/orm
version. Switch to Doctrine\Persistence\Proxy (already used elsewhere
in this codebase), ORMSetup::createAttributeMetadataConfiguration(),
and DriverManager::getConnection() plus the EntityManager constructor.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
actions/checkout@v2 runs on the Node16 runtime GitHub is deprecating,
same class of issue already fixed for actions/cache in a prior commit.

src/Event/EntityChangedEvent.php extends Doctrine\Common\EventArgs and
tests use Doctrine\Common\EventManager, both of which live in the
doctrine/event-manager package; it was only ever installed as a
transitive dependency of doctrine/orm, so declare it directly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@janlam7
janlam7 merged commit 3a713b0 into hostnet:master Sep 14, 2026
2 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.

3 participants