[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1001909: ITP: php-mock -- mock built-in PHP functions



Package: wnpp
Severity: wishlist
Owner: James Valleroy <jvalleroy@mailbox.org>
X-Debbugs-Cc: debian-devel@lists.debian.org, jvalleroy@mailbox.org, pkg-php-pear@lists.alioth.debian.org

* Package name    : php-mock
  Version         : 2.3.0
  Upstream Author : Michał Bundyra <contact@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.

Reply to: