[5.0] Fix RoutingAnnotationScannerTest On Windows

Maybe just
```
$definition = str_replace(PHP_EOL, "\n", $scanner->getRouteDefinitions());
```