all options
bullseye-backports  ] [  bookworm  ] [  trixie  ] [  sid  ] [  experimental  ]
[ Source: php-mock  ]

Package: php-mock (2.3.1-1)

Links for php-mock

Screenshot

Debian Resources:

Download Source Package php-mock:

Maintainers:

External Resources:

Similar packages:

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).

Other Packages Related to php-mock

  • depends
  • recommends
  • suggests
  • enhances

Download php-mock

Download for all available architectures
Architecture Package Size Installed Size Files
all 20.2 kB135.0 kB [list of files]