Skip to content

Releases: badoo/soft-mocks

3.1.1

08 Feb 12:54
Compare
Choose a tag to compare

There are next changes:

  • upgrade php-parser to 4.10.2
  • fix travis ci composer 2 problem

3.1.0

08 Feb 12:54
Compare
Choose a tag to compare

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

20 Mar 10:32
Compare
Choose a tag to compare

There are next changes:

  • PHP 7.2, 7.3 and 7.4 language features support

3.0.3

20 Mar 10:31
Compare
Choose a tag to compare

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

20 Mar 10:30
Compare
Choose a tag to compare

There are next changes:

  • fix patches for phpunit 8.x

3.0.1

29 Nov 13:04
Compare
Choose a tag to compare

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

28 Nov 19:58
Compare
Choose a tag to compare

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

29 May 13:19
Compare
Choose a tag to compare

There are next changes:

  • fix for 2-element-array callable

2.0.5

16 Apr 08:23
Compare
Choose a tag to compare

There are next changes:

  • fix is_callable method which fails on malformed arrays

2.0.4

26 Mar 12:13
Compare
Choose a tag to compare

There are next changes:

  • make more unique rewritten files paths depends on php internals