How to Install and Uninstall php-mock-phpunit Package on Kali Linux

Last updated: April 27,2024

1. Install "php-mock-phpunit" package

Please follow the instructions below to install php-mock-phpunit on Kali Linux

$ sudo apt update $ sudo apt install php-mock-phpunit

2. Uninstall "php-mock-phpunit" package

This is a short guide on how to uninstall php-mock-phpunit on Kali Linux:

$ sudo apt remove php-mock-phpunit $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-mock-phpunit package on Kali Linux

Package: php-mock-phpunit
Version: 2.6.0-3
Installed-Size: 55
Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Depends: php-common, phpunit, php-mock-integration (>= 2.1), php-mock-integration (<< 3~~)
Size: 8012
SHA256: 94754fd4222507be9fa237cbbe3ddce5f6ecaa9b198ed20359dfe65421fa858e
SHA1: 4b23e43c03ffa20cd4a89565295e6757e7e8c0e8
MD5sum: 9cc6da3e86a0d98a7eee448555d7f2d0
Description: mock built-in PHP functions with PHPUnit
Provides a trait for PHPUnit test cases to integrate with PHP-Mock, a
function mock library.
Description-md5:
Homepage: https://github.com/php-mock/php-mock-phpunit
Section: php
Priority: optional
Filename: pool/main/p/php-mock-phpunit/php-mock-phpunit_2.6.0-3_all.deb