Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Removed SecureRandom class#15880

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

pierredup
Copy link
Contributor

QA
Bug fix?no
New feature?yes
BC breaks?yes
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

Remove theSymfony\Component\Security\Core\Util\SecureRandom class and use therandom_bytes function instead. Also include theparagonie/random_compat library for non PHP 7 installs

Note This PR depends on#15879 to be merged first

@stof
Copy link
Member

We cannot remove it from the master branch without deprecating it first in 2.8 according to our policy. Otherwise it makes the upgrade to 3.0 painful

@pierredup
Copy link
ContributorAuthor

@stof the deprecation PR is pending here#15879

@stof
Copy link
Member

Which means this PR should not exist yet (merging the deprecation PR will make this PR unmergeable because of conflicts)

@pierredup
Copy link
ContributorAuthor

I'll fix the conflicts when the deprecation PR is merged, I also updated the description to say that this is dependant on the deprecation PR to be merged first.
Having this PR open already means I can get quicker feedback and fix any issues without having to wait for the other PR's to be merged first and then only start with the removal.

@stof
Copy link
Member

@pierredup most of the work done in this PR would become unnecessary once the deprecation PR is implemented the proper way though. The PR would just remove the class, thesecure_random service and the tests for the class. So getting feedback on the current state of this PR is useless.

@pierredup
Copy link
ContributorAuthor

Okay makes sense, I'll close this for now

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@pierredup@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp