Download the PHP package citruslab/mokkd without Composer
On this page you can find all versions of the php package citruslab/mokkd. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download citruslab/mokkd
More information about citruslab/mokkd
Files in citruslab/mokkd
Download citruslab/mokkd
More information about citruslab/mokkd
Files in citruslab/mokkd
Vendor citruslab
Package mokkd
Short Description A library for mocking free-standing functions in PHP
License Apache-2.0
Package mokkd
Short Description A library for mocking free-standing functions in PHP
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package mokkd
Mokkd
Mokkd is pre-release software.
Mokkd is licensed under the Apache License 2.0. See the LICENSE file.
Aims to do for free functions what Mockery does for classes. Test doubles for functions can be quickly built using a
fluent interface. For example, to mock the time() built-in function so that it returns 0, use:
Basic usage scenarios are covered in this readme. See the documentation for more.
Return successive array elements
Return a mapped value
Completely replace a function
Setting expectations
Control call count
Convenience once() and twice()
Expect specified arguments
Matching arguments
Allowing unmatched calls
All versions of mokkd with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
ext-dom Version *
ext-mbstring Version *
ext-uopz Version *
ext-dom Version *
ext-mbstring Version *
ext-uopz Version *
The package citruslab/mokkd contains the following files
Loading the files please wait ...