How to Install and Uninstall php-mock Package on Kali Linux
Last updated: December 23,2024
1. Install "php-mock" package
Please follow the instructions below to install php-mock on Kali Linux
$
sudo apt update
Copied
$
sudo apt install
php-mock
Copied
2. Uninstall "php-mock" package
This is a short guide on how to uninstall php-mock on Kali Linux:
$
sudo apt remove
php-mock
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-mock package on Kali Linux
Package: php-mock
Version: 2.3.1-1
Installed-Size: 135
Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Depends: php-common, php-text-template
Suggests: php-mock-phpunit
Size: 20712
SHA256: 7bb3f7f3967126765ff86aed8515e58c8b39186e13acc1def570c31182a21651
SHA1: 3314771c606e9a840770e906e00eaf831b0c9c1b
MD5sum: 989d68155214c522312fad8258f2ea0d
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).
Description-md5:
Multi-Arch: foreign
Homepage: https://github.com/php-mock/php-mock
Section: php
Priority: optional
Filename: pool/main/p/php-mock/php-mock_2.3.1-1_all.deb
Version: 2.3.1-1
Installed-Size: 135
Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Depends: php-common, php-text-template
Suggests: php-mock-phpunit
Size: 20712
SHA256: 7bb3f7f3967126765ff86aed8515e58c8b39186e13acc1def570c31182a21651
SHA1: 3314771c606e9a840770e906e00eaf831b0c9c1b
MD5sum: 989d68155214c522312fad8258f2ea0d
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).
Description-md5:
Multi-Arch: foreign
Homepage: https://github.com/php-mock/php-mock
Section: php
Priority: optional
Filename: pool/main/p/php-mock/php-mock_2.3.1-1_all.deb