Tests for issue with unexpected injection.
Remove invalid docblocks.
Merge branch 'hotfix/4978'

Close #4978
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' into develop

Forward port #4868