Tests for issue with unexpected injection.
Remove invalid docblocks.
Fixing an issue, use namespaced attributes for requestedClasses.
Merge pull request #4868 from Spalax/test_di_strange_behavior

Tests for issue with unexpected injection.
[#4868] CS fixes

- braces
Merge branch 'hotfix/4868'

Close #4868