framework icon indicating copy to clipboard operation
framework copied to clipboard

[9.x] Fixes `ensureDependenciesExist` runtime error

Open nunomaduro opened this issue 3 years ago • 0 comments

This pull request fixes a small regression introduced on https://github.com/laravel/framework/pull/43367, where installing the necessary composer dependencies for "db:show", "db:table", and "model:show" is not causing the command to terminate, consequentially displays a runtime exception:

Screenshot 2022-08-09 at 18 59 24

With this pull request, when doctrine/dbal is not installed for the current execution, we simply exit the command even if the user decides to install doctrine/dbal. Just like it was before https://github.com/laravel/framework/pull/43367.

Screenshot 2022-08-09 at 19 01 17

nunomaduro avatar Aug 09 '22 18:08 nunomaduro