nextcloud-libraries / nextcloud-libraries/rector
Replace OC jobs classes with OCP ones
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3
- Forks
- 1
- Avg merge
- 11m
- Merged PRs (30d)
- 1
Description
Jobs classes had both OC and OCP version between their introduction in 15 and the removal of the OC versions in 29.
Good candidate for a rector rule.
https://github.com/nextcloud/server/pull/43387
Also execute method call should be replaced to call start.
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
Start by reviewing the linked Nextcloud server pull request and the existing Rector upgrade rules and tests. Identify the OC-to-OCP job class replacements and the execute-to-start method change described in the issue. Done means the rule covers those migrations and its tests verify the transformed code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100