Source: php-mock Section: php Maintainer: Debian PHP PEAR Maintainers Uploaders: James Valleroy Build-Depends: debhelper-compat (= 14), dh-sequence-phpcomposer, php-text-template, phpab, phpunit Standards-Version: 4.7.4 Homepage: https://github.com/php-mock/php-mock Vcs-Browser: https://salsa.debian.org/php-team/pear/php-mock Vcs-Git: https://salsa.debian.org/php-team/pear/php-mock.git Package: php-mock Architecture: all Multi-Arch: foreign Depends: ${misc:Depends}, ${phpcomposer:Debian-require} Recommends: ${phpcomposer:Debian-recommend} Suggests: ${phpcomposer:Debian-suggest} Description: mock built-in PHP functions PHP-Mock is a testing library which mocks non deterministic built-in PHP functions like time() or rand(). This is achieved by PHP's namespace fallback policy. Therefore it is required to be in a non global namespace context and call the function unqualified. . PHP-Mock has integrations for PHPUnit, Mockery, and Prophecy (phpspec).