10000 Make Serializable implementation internal and final by derrabus · Pull Request #41096 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Make Serializable implementation internal and final #41096

N 8000 ew 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

Merged
merged 1 commit into from
May 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Symfony/Component/Security/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ The CHANGELOG for version 5.4 and newer can be found in the security sub-package
* Deprecate using `SessionTokenStorage` outside a request context, it will throw a `SessionNotFoundException` in Symfony 6.0
* Randomize CSRF tokens to harden BREACH attacks
* Deprecated voters that do not return a valid decision when calling the `vote` method.
* Flag `Serializable` implementation of `NullToken` as `@internal` and `@final`

5.2.0
-----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ public function __unserialize(array $data): void

/**
* @return string
*
* @internal in 5.3
* @final in 5.3
*/
public function serialize()
{
Expand All @@ -111,6 +114,9 @@ public function serialize()

/**
* @return void
*
* @internal in 5.3
* @final in 5.3
*/
public function unserialize($serialized)
{
Expand Down
0