Skip to content

latest 0.5.0 got error: Register at leats one command, so application can run error #34

@samsonasik

Description

@samsonasik

Ref issue https://github.com/rectorphp/getrector-com/actions/runs/20597866174/job/59156328068#step:5:10

on PR:

➜  getrector-com git:(automated-regenerated-composer-lock) php84 vendor/bin/jack breakpoint --limit 2
PHP Fatal error:  Uncaught Jack202512\Entropy\Console\Exception\InvalidCommandException: Register at leats one command, so application can run in /Users/samsonasik/www/getrector-com/vendor/rector/jack/vendor/entropy/entropy/src/Console/CommandRegistry.php:24

seems due to some prefixed

        $this->service(CommandRegistry::class, function (Container $container) : \Jack202512\Entropy\Console\CommandRegistry {
            $commands = $container->findByContract(CommandInterface::class);
            return new CommandRegistry($commands);
        });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions