PHPackages                             lstrojny/phpunit-function-mocker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. lstrojny/phpunit-function-mocker

ActiveLibrary[Testing &amp; Quality](/categories/testing)

lstrojny/phpunit-function-mocker
================================

Allows mocking otherwise untestable PHP functions through the use of namespaces

1.1.0(5y ago)53345.8k↓36%4[2 PRs](https://github.com/lstrojny/phpunit-function-mocker/pulls)8MITPHPPHP ~7CI failing

Since Jan 19Pushed 5y ago3 watchersCompare

[ Source](https://github.com/lstrojny/phpunit-function-mocker)[ Packagist](https://packagist.org/packages/lstrojny/phpunit-function-mocker)[ RSS](/packages/lstrojny-phpunit-function-mocker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (10)Used By (8)

PHPUnit function mocker extension
=================================

[](#phpunit-function-mocker-extension)

Allows mocking otherwise untestable PHP functions through the use of namespaces.

[![Build Status](https://camo.githubusercontent.com/8dec495c627c1416e78d6014fc18e6371c57aa796fbb46004ab7262ee39a6524/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6c7374726f6a6e792f706870756e69742d66756e6374696f6e2d6d6f636b65722e737667)](http://travis-ci.org/lstrojny/phpunit-function-mocker)

```
