nextcloud-libraries / nextcloud-libraries/rector
Implement rule for migration \OCP\Security\ISecureRandom::generate to \Random\Randomizer::getBytesFromString
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- PHP
- Stars
- 3
- Forks
- 1
- Avg merge
- 11m
- Merged PRs (30d)
- 1
Description
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the linked pull request at https://github.com/nextcloud/server/pull/61538 first, then inspect the Rector rule structure and its tests. The work is complete when a rule migrates OCP\Security\ISecureRandom::generate usage to Random\Randomizer::getBytesFromString with corresponding tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100