Cake5: Infinite loop for annotate command
LordSimal opened this issue · 1 comments
LordSimal commented
For the current state of cake5
596bf69
bin/cake annotate all -p AlfredMaintenances
causes the following infinite loop
/Users/kevinpfeifer/Documents/Sunlime/alfred/vendor/cakephp/cakephp/src/Utility/Inflector.php - CORE/src/Utility/Inflector.php, line 402
Cake\Utility\Inflector::underscore() - CORE/src/Console/ConsoleOptionParser.php, line 271
Cake\Console\ConsoleOptionParser->setCommand() - CORE/src/Console/ConsoleOptionParser.php, line 148
Cake\Console\ConsoleOptionParser->__construct() - CORE/src/Console/BaseCommand.php, line 116
Cake\Console\BaseCommand->getOptionParser() - ROOT/vendor/dereuromark/cakephp-ide-helper/src/Command/AnnotateCommand.php, line 117
IdeHelper\Command\AnnotateCommand->buildOptionParser() - CORE/src/Console/BaseCommand.php, line 120
Cake\Console\BaseCommand->getOptionParser() - ROOT/vendor/dereuromark/cakephp-ide-helper/src/Command/AnnotateCommand.php, line 117
IdeHelper\Command\AnnotateCommand->buildOptionParser() - CORE/src/Console/BaseCommand.php, line 120
............ last 2 repeats ............
Cake\Console\BaseCommand->getOptionParser() - ROOT/vendor/dereuromark/cakephp-ide-helper/src/Command/AnnotateCommand.php, line 117
IdeHelper\Command\AnnotateCommand->buildOptionParser() - CORE/src/Console/BaseCommand.php, line 120
Cake\Console\BaseCommand->getOptionParser() - ROOT/vendor/dereuromark/cakephp-ide-helper/src/Command/AnnotateCommand.php, line 117
IdeHelper\Command\AnnotateCommand->buildOptionParser() - CORE/src/Console/BaseCommand.php, line 120
Cake\Console\BaseCommand->getOptionParser() - CORE/src/Console/BaseCommand.php, line 156
Cake\Console\BaseCommand->run() - CORE/src/Console/CommandRunner.php, line 323
Cake\Console\CommandRunner->runCommand() - CORE/src/Console/CommandRunner.php, line 168
Cake\Console\CommandRunner->run() - ROOT/bin/cake.php, line 12
[main] - [main], line 0
LordSimal commented
But it seems the annotate shell hasn't been fully ported to Cake5 commands so this is expected I guess.