Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Symfony 7 support #79

Open
aszenz opened this issue Dec 4, 2023 · 5 comments · May be fixed by #80
Open

Symfony 7 support #79

aszenz opened this issue Dec 4, 2023 · 5 comments · May be fixed by #80

Comments

@aszenz
Copy link

aszenz commented Dec 4, 2023

I get these deprecation's from Symfony 6.4:

  • Method "Symfony\Component\Console\Application::configureIO()" might add "void" as a native return type declaration in the future. Do the same in child class "Psy\Shell" now to avoid errors or add an explicit @return annotation to suppress this message.
  • The "Fidry\PsyshBundle\PsyshFacade" class implements "Symfony\Component\DependencyInjection\ContainerAwareInterface" that is deprecated since Symfony 6.4, use dependency injection instead.
@aszenz
Copy link
Author

aszenz commented Dec 9, 2023

The first deprecation seems to be fixed already in bobthecow/psysh@d26e5b1.

Once a new release of psysh is create we could also just allow Symfony 7

@pedroresende
Copy link

@aszenz a new version of https://github.com/bobthecow/psysh was release, could do it for Symfony 7 😉

@aszenz
Copy link
Author

aszenz commented Feb 7, 2024

@aszenz a new version of https://github.com/bobthecow/psysh was release, could do it for Symfony 7 😉

Already done in #80

@pedroresende
Copy link

Thanks

@arjenzwerver
Copy link

I just hacked something together to use the psysh console in a Symfony project. It should work on Symfony 7.

https://gist.github.com/arjenzwerver/6cb414e3f166dde27e3dbe95e77bab49

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants