-
Notifications
You must be signed in to change notification settings - Fork 351
Removed remaining Symfony 5.4 BC layer #7743
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
base: 3.0
Are you sure you want to change the base?
Conversation
15e0bd7
to
8b2c6a2
Compare
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; | ||
use Symfony\Component\DependencyInjection\ContainerBuilder; | ||
|
||
class AliasForSecurityEncoderCompilerPass implements CompilerPassInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically the class is not deprecated, but the contents of the method is. Should I still remove it?
@@ -39,6 +39,7 @@ | |||
</parameters> | |||
|
|||
<services> | |||
<service id="sulu_security.encoder_factory" alias="security.password_hasher_factory" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could remove the sulu_security.encoder_factory
and replace it with security.password_hasher_factory
as the bc layer between encoder and hasher is not longer required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And type it now as PasswordHasherFactoryInterface:
protected $passwordHasherFactory, |
967f4ae
to
97deaca
Compare
This also means the entire functionality around the Salt can be removed. As the modern Symfony algorithms don't use that. |
55b9140
to
e2008e7
Compare
@alexander-schranz The UserManager changes seem to cause problems in the tests but in the dev container the service exists. |
lets revert that and keep the |
e2008e7
to
978e770
Compare
Done |
978e770
to
d556401
Compare
9485163
to
34c6715
Compare
db1b28d
to
7c6ed9a
Compare
7c6ed9a
to
2c342bb
Compare
2c342bb
to
767eb71
Compare
c66af5b
to
11a0dfa
Compare
1dd29e6
to
12f87f0
Compare
What's in this PR?
Removing old configurations of Symfony 5.4 since we don't support the version anyways.
Why?
In Sulu 3 the minimum version is 6.4.
Less things we need to port and maintain.