Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer work with symfony 6 #42

Closed
timrasche opened this issue Apr 26, 2023 · 6 comments
Closed

No longer work with symfony 6 #42

timrasche opened this issue Apr 26, 2023 · 6 comments

Comments

@timrasche
Copy link

Uncaught Error: Class "Symfony\Component\HttpKernel\Bundle\AbstractBundle" not found in /vendor/specshaper/encrypt-bundle/src/SpecShaperEncryptBundle.php:16

@mogilvie
Copy link
Owner

Hi, which version are you using?
I'm currently running Encrypt bundle on three projects with "specshaper/encrypt-bundle": "^3.1.0", and "symfony/framework-bundle": "6.2.8"

@timrasche
Copy link
Author

Version 6.2.

Dont get it... how can this work? Since Symfony 6.1 the class Symfony\Component\HttpKernel\Bundle\AbstractBundle is not longer available.

@feymo
Copy link
Contributor

feymo commented May 3, 2023

I'm currently using this bundle on SF 6.2.9 and no error so far too
I thought, on the contrary, that extending the Symfony\Component\HttpKernel\Bundle\AbstractBundle was introduced in SF6.1 to make bundle configuration easier (ref) or am i missing something 🤔 ?

@timrasche
Copy link
Author

Ok guys, turns out that i really use 6.0 and there is some strange commit in this branch. Browse that repo (with branch 6.0) this class doesnt exist, but in 6.1 and 6.2 it exists.

seems weird...

thanks for support @ALL

@feymo
Copy link
Contributor

feymo commented May 3, 2023

Symfony\Component\HttpKernel\Bundle\AbstractBundle was introduced in 6.1 so in lower SF version this class indeed doesn't exist
But your issue raise something interesting, it seems like v3 of this bundle will only work for 6.1 & above versions instead of 5.4|6 as described in the README file 🤔

@timrasche
Copy link
Author

... to much this week. yes u'r right. sorry for that.

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

No branches or pull requests

3 participants