[pkg-php-pear] Bug#1001909: ITP: php-mock -- mock built-in PHP functions
James Valleroy
jvalleroy at mailbox.org
Sat Dec 18 19:26:55 GMT 2021
Package: wnpp
Severity: wishlist
Owner: James Valleroy <jvalleroy at mailbox.org>
X-Debbugs-Cc: debian-devel at lists.debian.org, jvalleroy at mailbox.org, pkg-php-pear at lists.alioth.debian.org
* Package name : php-mock
Version : 2.3.0
Upstream Author : Michał Bundyra <contact at webimpress.com>
* URL : https://github.com/php-mock/php-mock
* License : WTFPL
Programming Lang: PHP
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
amespace 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).
This is a dependency for the latest release of Shaarli. It will be
maintained in php-team.
More information about the pkg-php-pear
mailing list