Releases: badoo/soft-mocks
Releases · badoo/soft-mocks
3.1.1
There are next changes:
- upgrade php-parser to 4.10.2
- fix travis ci composer 2 problem
3.1.0
There are next changes:
- add pause/resume:
- call method \Badoo\SoftMocks::pause to disable all mocks
more mocks can be added when SoftMocks are on pause
- call method \Badoo\SoftMocks::resume to enable all mocks
3.0.4
There are next changes:
- PHP 7.2, 7.3 and 7.4 language features support
3.0.3
There are next changes:
- fix refer to class const from named function declared in method
- add error handler for php parser errors
3.0.2
There are next changes:
- fix patches for phpunit 8.x
3.0.1
There are next changes:
- fix code generating for rewritten files for right stacktrace
- use \PhpParser\Lexer instead of \PhpParser\Lexer\Emulative and \PhpParser\Parser\Php7 instead of \PhpParser\Parser\Multiple (with both 7 and 5 versions), they are quite quicker
3.0.0
There are next changes:
- add support phpunit 7.x and 8.x
- update
nikic/php-parser
to ^4.3.0
, so now version isn't specific
- minimum php version now is
7.0
- now ext-json is required for get nikic/php-parser version for right rewritten files cache
- fixed error 'Unbinding $this of closure is deprecated'
2.0.6
There are next changes:
- fix for 2-element-array callable
2.0.5
There are next changes:
- fix
is_callable
method which fails on malformed arrays
2.0.4
There are next changes:
- make more unique rewritten files paths depends on php internals