Skip to content

Releases: badoo/soft-mocks

3.1.1

Choose a tag to compare

@Sannis Sannis released this 08 Feb 12:54

There are next changes:

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

3.1.0

Choose a tag to compare

@Sannis Sannis released this 08 Feb 12:54

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

Choose a tag to compare

@Sannis Sannis released this 20 Mar 10:32

There are next changes:

  • PHP 7.2, 7.3 and 7.4 language features support

3.0.3

Choose a tag to compare

@Sannis Sannis released this 20 Mar 10:31

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

Choose a tag to compare

@Sannis Sannis released this 20 Mar 10:30

There are next changes:

  • fix patches for phpunit 8.x

3.0.1

Choose a tag to compare

@mougrim mougrim released this 29 Nov 13:04

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

Choose a tag to compare

@mougrim mougrim released this 28 Nov 19:58

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

Choose a tag to compare

@Sannis Sannis released this 29 May 13:19

There are next changes:

  • fix for 2-element-array callable

2.0.5

Choose a tag to compare

@Sannis Sannis released this 16 Apr 08:23

There are next changes:

  • fix is_callable method which fails on malformed arrays

2.0.4

Choose a tag to compare

@Sannis Sannis released this 26 Mar 12:13

There are next changes:

  • make more unique rewritten files paths depends on php internals