API Platform version(s) affected: 4.2.6
Description

$classes = ReflectionClassRecursiveIterator::getReflectionClassesFromDirectories([$directory], '(?!.*Test\.php$)');
ApiPlatform\Laravel\ApiPlatformDeferredProvider:103
The call to ReflectionClassRecursiveIterator, inside its logic, it does a require_once of all the files provided in the path, even if the files are not PHP classes. In my case, I have some blade files, and they are being output in the response body.
How to reproduce
Create any file with the .php extension, and the content of the file with HTML or Blade
Possible Solution
Provide a way to add more ignore regex, maybe on the config file?