Mockery::spy(function) should be callable
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the linked PHPStan report and then inspect the extension's handling of Mockery::spy(function). Done means the reported Closure::fromCallable() error is no longer produced while the callable behavior remains correctly recognized.
Written by the indexing model from the issue text.
Description
https://phpstan.org/r/4d0416f7-0b46-471e-b961-a685a5fab277
Current versions report an error
Parameter #1 $callback of static method Closure::fromCallable() expects callable(): mixed, Mockery\MockInterface given.
- Dominant language
- PHP
- Stars
- 109
- Forks
- 25
- Avg merge
- 1h 41m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from phpstan/phpstan-mockery
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
phpstan/phpstan-mockery#78 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
phpstan/phpstan-mockery#77 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
phpstan/phpstan-mockery#55 · 1 comment · 1 reaction ·
-
Dependency DashboardOpen
Difficulty 4/5 3-5 days Newbie friendliness 10/100
phpstan/phpstan-mockery#46 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
phpstan/phpstan-mockery#18 · 1 comment · 6 reactions ·
All issues in phpstan/phpstan-mockery
Similar issues
-
sync-en
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
sync-en
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 4 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
ProfessionalWiki/NeoWiki#1637 ·
Maintainers usually reply within 1 day
-
Перевод устарел
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
bug
Difficulty 2/5 Half a day Newbie friendliness 76/100
m3ue/m3u-editor#1604 ·
Maintainers usually reply within 1 day