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

Deprecate the default signed cookie algorithm #355

Merged
merged 2 commits into from
Jul 5, 2024

Conversation

martijnc
Copy link
Contributor

@martijnc martijnc commented Jul 4, 2024

Deprecate the default value for the signed_cookie.hash_algo configuration value (currently "sha256") in preparation for a change in 4.0.

Relates to #324.

Deprecate the default value for the `signed_cookie.hash_algo` configuration value (currently "sha256") in preparation for a change in 4.0.
@martijnc martijnc force-pushed the feature/deprecate-sha256-default branch from 0f2790d to 2731d70 Compare July 4, 2024 19:10
use Symfony\Component\DependencyInjection\ContainerBuilder;

final class NelmioSecurityExtensionTest extends TestCase
{
use ExpectDeprecationTrait {
ExpectDeprecationTrait::expectDeprecation as bridgeExpectDeprecation;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHPstan (incorrectly) flags the expectDeprecation method from the trait as deprecated because TestCase::expectDeprecation is deprecated. Renaming it works around this.

@Seldaek Seldaek merged commit 2958114 into nelmio:master Jul 5, 2024
14 checks passed
@Seldaek
Copy link
Member

Seldaek commented Jul 5, 2024

Thanks

@martijnc martijnc deleted the feature/deprecate-sha256-default branch July 5, 2024 07:52
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

Successfully merging this pull request may close these issues.

2 participants