Skip to content

Releases: diloabininyeri/php-mock

v1.0.9

28 Feb 07:05
Compare
Choose a tag to compare

Added the ability to restore the mocked function and also added it to be called only once

v1.0.8

26 Feb 21:08
Compare
Choose a tag to compare

Added counter for mocked global function, outside scope, inside scope and grand total

v1.0.7

26 Feb 04:48
Compare
Choose a tag to compare

table feature and count method feature added in this version

v1.0.6

25 Feb 21:23
Compare
Choose a tag to compare

Added scenario for the onMockInstanceCreated method in the mockFactory,This comes into play when the mock object is created.

v1.0.5

23 Feb 05:29
Compare
Choose a tag to compare

Improvements have been made to the mock function object, especially the runWith Mock method.

v1.0.4

22 Feb 01:44
Compare
Choose a tag to compare

Created a MockFunction object that can mock php -in-built functions

v1.0.3

21 Feb 07:12
Compare
Choose a tag to compare

Added generateCode toMockFactory method for debug

v1.0.2

21 Feb 06:29
Compare
Choose a tag to compare

Improvement version
classes were made more organized and also variadic pass by reference parameters were taken into account

v1.0.1

19 Feb 04:30
Compare
Choose a tag to compare

Construct scenario was added for mock object, parameters were added to construct to be sent, and a bug in void methods was fixed.

v1.0.0

18 Feb 04:19
Compare
Choose a tag to compare

The first version that creates a mock object in its basic form