Remove unused ReflectionMethod in Scanners
Fix directory.
Working on middleware annotations.
Update test. Fix bug.
Merge pull request #6020 from aFreshMelon/patch-1

[5.0] Remove Unused Imports In Scanners