php-mock/php-mock-mockery
Mock built-in PHP functions (e.g. time()) with Mockery. This package relies on PHP's namespace fallback policy. No further extension is needed.
1.5.0
2.4M downloads/mo
#2807 most downloaded on Packagist
php-mock/php-mock-mockery
What this package is like to depend on
Last release 1 years ago
08 Mar 2025
Ships unpredictably
gaps range from 2 weeks to 4.9 years
Most releases are documented
notes for 8 of 10 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
10 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
10 releases · Apr 2015 to Mar 2025Releases
latest 10-
1.5.008 Mar 2025Release notes
Open source →What's Changed
- qa: Run unit tests on PHP 8.3 by @michalbundyra in #16
- chore: Update workflows by @michalbundyra in #17
- chore: squizlabs/php_codesniffer 3.8.0 by @michalbundyra in #18
- qa: Run unit tests on PHP 8.4 by @michalbundyra in #19
- qa: Allow php-mock/php-mock-integration 3.0 by @michalbundyra in #20
Full Changelog: 1.4.1...1.5.0
-
1.4.113 Jun 2023Release notes
Open source →What's Changed
- qa: Update workflows - test with Mockery ~1.6.0 by @michalbundyra in #14
- qa: Add "testing" keyword to composer.json by @michalbundyra in #15
Full Changelog: 1.4.0...1.4.1
-
1.4.014 Feb 2023Release notes
Open source →What's Changed
- GHA Workflow instead of TravisCI by @michalbundyra in #11
- qa: Update workflows and bump deps, run tests on PHP 8.2 by @michalbundyra in #13
Full Changelog: 1.3.0...1.4.0
-
1.3.027 Mar 2018Release notes
Open source →Added:
- #9 adds ability to mock multiple calls of the same function with different arguments
-
1.2.013 Oct 2017 -
1.1.011 Nov 2015 -
1.0.026 Oct 2015 -
0.320 Sep 2015 -
0.202 Apr 2015Nothing published for this version
-
0.101 Apr 2015Nothing published for this version