Skip to content

[DependencyInjection] Document the different types of service arguments #21048

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 4 commits into
base: 6.4
Choose a base branch
from

Conversation

javiereguiluz
Copy link
Member

This is needed so we can configure #20167 later.

- !php/const true
- !php/const E_ALL
- !php/const PDO::FETCH_NUM
- !php/const App\Service\AnotherService::SOME_CONSTANT
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid this error, can we use a real constant from the codebase? 😄

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added it to the DOCtor-RST allow list

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not work, the error comes from the code-blocks checker

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants