Closed MilanPala closed 5 years ago
I've got the same problem. I would redefine the problem not CliRouter child of CliRouter, etc. But rather RouteList child of RouteList, etc...
Ive narrowed the problem to this line: https://github.com/Kdyby/Console/blob/master/src/DI/ConsoleExtension.php#L218
Where the console extension picks the default routelist and replaces it with new one, but at the same time it appends the routelist to itself.
This causes the router to enter infinite loop.
https://github.com/Kdyby/Console/blob/v2.7.1/src/DI/ConsoleExtension.php#L206
This issue is resolved by this PR https://github.com/Kdyby/Console/pull/85 @MilanPala reported this was working fix. Thank you 👍