Skip to content

Releases: ReeceM/mocker

Laravel 10

03 Apr 13:19
e51ad25
Compare
Choose a tag to compare

v1.2.0 - L9

07 Feb 20:30
Compare
Choose a tag to compare

[1.2.0] - 08.02.22

Added

  • Add support for Laravel 9

v1.1.5 - wondering around

10 Sep 13:21
7cf5c04
Compare
Choose a tag to compare

Changes

  • Add support for Laravel 8 #16

v1.1.4 - tree stumps

14 Jun 19:41
Compare
Choose a tag to compare

1.1.4

Fixed

  • Variables are no longer polluted between variable calls. #6

  • When calling an object that has an array assigned it will return whole the array as a string, see for more #5

  • See pull request #15

Note

There is a slight bug introduced with this version as to the fact that the arrays returned after the first step are arrays and not instances of Mocked. Cannot assign values after assigning the first time.

v1.1.3 laravel 7 support

09 Mar 15:28
6ab5c91
Compare
Choose a tag to compare

Feature

Add support for laravel 7.0
See merge #13, @blakehooks

v1.1.2

09 Sep 14:00
Compare
Choose a tag to compare

Update requirements to support Laravel 6

Update tests to use latest methods for phpunit

v1.1.1

08 May 21:54
34bdd68
Compare
Choose a tag to compare

Adds array functionality to mocked objects see PR #4

Features

  • adds ArrayObject type to the mocked class
  • functionality to do $mocked->obj['assoc']['array']->calls

v1.1.0

04 May 17:23
17eb8b6
Compare
Choose a tag to compare

This release adds a more readable output to the __toString() magic method, this is from #1 feature request.

This came in by means of PR #2

Features

  • Readable output e.g. {{ $mocked->value->name }} == mocked->value->name
    • If the value is set in the class its from it would be mocked->value->name => ["value set"]
  • The values set persists during the calls even if it traverses back and forth in the calling of magic __get()

Misc

  • Testing added

v1.0.2

30 Apr 07:07
Compare
Choose a tag to compare

Provides backwards compatibility with Laravel projects ^5.6 for the illuminate/support and illuminate/filesystem packages

v1.0.1 - psr-4 fix

29 Apr 11:53
Compare
Choose a tag to compare

Fix

fix the psr-4 namespacing issue cause special