bug #24199 [DI] Fix non-instantiables auto-discovery (nicolas-grekas)
bug #24199 [DI] Fix non-instantiables auto-discovery (nicolas-grekas)

This PR was merged into the 3.3 branch.

Discussion
----------

[DI] Fix non-instantiables auto-discovery

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #24195
| License       | MIT
| Doc PR        | -

Commits
-------

8b7c7c1 [DI] Fix non-instantiables auto-discovery

symfony/DependencyInjection,symfony/dependency-injection