Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] Use
getRealPath
to ensure class name is resolved (#34653)
When trying to register a new path in the `Kernel` class of your application, and the path contains `..`, the classname isn't generated correctly in https://github.com/laravel/framework/blob/8.x/src/Illuminate/Foundation/Console/Kernel.php#L223-L227 By using `getRealPath`, the real path is resolved and the classname can be generated correctly.
- Loading branch information