phpDocumentor / phpDocumentor/phpDocumentor
Rewrite Mockery calls to Prophecy
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 4.3k
- Forks
- 648
- Avg merge
- 28m
- Merged PRs (30d)
- 13
Description
Many phpDocumentor tests use Mockery as a mocking/stubbing library but with the advent of prophecy, we are now working to adopt that as our library or method of choice.
To reduce the number of dependencies that we have and simplify our tests, we need all mockery uses to be rewritten to use prophecy.
Any help here is much appreciated. Please issue a PR per test as that will help in reviewing and merging.
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 searching the phpDocumentor test suite for Mockery usage and reviewing existing Prophecy-based tests to understand the expected style. Convert one test at a time, keeping each change in a separate pull request as requested. Done means that test no longer uses Mockery and its tests still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100