mockery/mockery
Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).
PHPBSD-3-Clause
Issues
- 0
- 2
1.6.12 typehint issue with spy methods
#1421 opened by brettmc - 1
- 5
Error when mocking anonymous classes
#1414 opened by lew-tfli - 1
- 1
- 14
Latest release totally broken
#1394 opened by taylorotwell - 6
- 1
Issues with partial construction trait methods on 1.6.10 - change in behaviour
#1402 opened by adnweedon - 1
- 1
PHPStan error with mock method in 1.6.8
#1395 opened by sakarikl - 2
- 2
Cannot use 'false' as class name as it is reserved
#1404 opened by herndlm - 1
Typings for setConstantsMap does not allow array
#1405 opened by gready-hub - 3
Cannot mock readonly class
#1317 opened by Gyalomalom - 2
PHP return type mismatch error when mocking method with static return type
#1358 opened by alexandre-da-costa - 0
- 1
Add "set property" method to mock object?
#1341 opened by iwasherefirst2 - 2
[New feature] Running code after mock method was called
#1345 opened by szymonmil - 0
Disabled travis-ci and sensiolabs webhooks
#1344 opened by ghostwriter - 2
support for PHPUnit constraints
#1337 opened by ghostwriter - 1
Factory methods for `IsEqual` and `IsSame` matchers
#1335 opened by ghostwriter - 3
mockery/mockery: 1.4.x-dev not found
#1334 opened by prathna124 - 0
Type declarations and Generics
#1330 opened by ghostwriter - 1
- 2
- 2
Error in type declaration for iterable|object.
#1323 opened by pistej - 0
Fix PHP 7.3 issues
#1315 opened by ghostwriter - 3
Interpreting iterable|object as array|Traversable|object results in a runtime error.
#1311 opened by fuwasegu - 3
Can't accurately mock Disjunctive Normal Form Type
#1310 opened by fuwasegu - 0
Support PHP `8.3`
#1291 opened by ghostwriter - 2
Bugfix release for breaking changes ???
#1306 opened by ruester - 2
Mock classes with new in methods on PHP 8.1
#1300 opened by jesperbeisner - 1
- 0
Update License and Copyright Information
#1281 opened by ghostwriter - 1
I need to mock a php function
#1292 opened by MrEko - 15
- 0
The default branch has been renamed!
#1273 opened by ghostwriter - 2
- 4
- 5
Tag could not be created
#1247 opened by ghostwriter - 2
Cleanup mock's expects
#1265 opened by hound672 - 1
Move code from `library` directory to `src` directory
#1263 opened by ghostwriter - 3
Integrate PHP-Parser in Mockery
#1248 opened by ghostwriter - 6
A never-returning function must not return
#1240 opened by michaelw85 - 2
Enable and configure tag protection
#1229 opened by ghostwriter - 3
Enable and configure branch protection
#1228 opened by ghostwriter - 1
- 1
Remove support for PHP `<= 8.0`
#1255 opened by ghostwriter - 1
Deprecate `PHP <=8.0`
#1250 opened by ghostwriter