Note I tried to use the classes in test-app, but they seem to not follow the PSR4 standard (each class should have its own file), so when using them to set up a ReflectionClass, it always failed with a "class not found" exception:
Roave\BetterReflection\Reflector\Exception\IdentifierNotFound: Roave\BetterReflection\Reflection\ReflectionClass "Test\App\Foo\Bar\Bar" could not be found in the located source
So I decided to use separate classes for testing this "feature" 🤓
As suggested in https://github.com/WyriHaximus/php-list-classes-in-directory/issues/8
Note I tried to use the classes in
test-app
, but they seem to not follow the PSR4 standard (each class should have its own file), so when using them to set up a ReflectionClass, it always failed with a "class not found" exception:So I decided to use separate classes for testing this "feature" 🤓