Skip to content

Fix registering a service from another sub-package#1317

Open
wouterj wants to merge 2 commits intophpDocumentor:mainfrom
wouterj:fix-registering-undefined-class
Open

Fix registering a service from another sub-package#1317
wouterj wants to merge 2 commits intophpDocumentor:mainfrom
wouterj:fix-registering-undefined-class

Conversation

@wouterj
Copy link
Contributor

@wouterj wouterj commented Mar 15, 2026

The guides-restructured-text package registered a service for a class living in the guides-graphs package. This creates an invalid service when using the package without guides-graphs.

The Symfony DI container is more strict in newer versions, causing this invalid service to create a compile time error.

The UML directive is already correctly registered by the guides-graphs package:

->set(UmlDirective::class)
->tag('phpdoc.guides.directive')

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