phpcr / phpcr-shell

PHPCR Shell
MIT License
68 stars 19 forks source link

Update phpcr-shell to Symfony 7 #224

Closed alexander-schranz closed 6 months ago

alexander-schranz commented 9 months ago

Build on top of: https://github.com/phpcr/phpcr-shell/pull/223

Still on Symfony 6 instead of 7:

symfony/config                     v6.4.0  Helps you find, load, combine, autofill and validate ...
symfony/console                    v6.4.0  Eases the creation of beautiful and testable command ...
symfony/dependency-injection       v6.4.0  Allows you to standardize and centralize the way obje...
symfony/event-dispatcher           v6.4.0  Provides tools that allow your application components...
symfony/finder                     v6.4.0  Finds files and directories via an intuitive fluent i...
symfony/process                    v6.4.0  Executes commands in sub-processes
symfony/translation                v6.4.0  Provides tools to internationalize your application
symfony/yaml                       v6.4.0  Loads and dumps YAML files

Following deps blocking this updates:

behat/behat       v3.13.0 requires symfony/console (^4.4 || ^5.0 || ^6.0)
phpcr/phpcr-utils 1.8.1   requires symfony/console (^2.3 || ^3.0 || ^4.0 || ^5.0 || ^6.0)
phpspec/phpspec   7.4.0   requires symfony/console (^3.4 || ^4.4 || ^5.0 || ^6.0)

TODO

dbu commented 6 months ago

the ContainerAware concept has been removed in symfony 7. we should define the interface in the phpcr-shell and use that in BaseCommand and ShellApplication, at least for now.

dbu commented 6 months ago

continue in #225