How to Install and Uninstall php-phpspec-prophecy-phpunit Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 26,2024

1. Install "php-phpspec-prophecy-phpunit" package

Here is a brief guide to show you how to install php-phpspec-prophecy-phpunit on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-phpspec-prophecy-phpunit

2. Uninstall "php-phpspec-prophecy-phpunit" package

Please follow the step by step instructions below to uninstall php-phpspec-prophecy-phpunit on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove php-phpspec-prophecy-phpunit $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-phpspec-prophecy-phpunit package on Ubuntu 21.10 (Impish Indri)

Package: php-phpspec-prophecy-phpunit
Architecture: all
Version: 2.0.1-2
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 18
Depends: php-common, php-phpspec-prophecy (>= 1.3), php-phpspec-prophecy (<< 2~~), phpunit (>= 9.1), phpunit (<< 10~~)
Filename: pool/universe/p/php-phpspec-prophecy-phpunit/php-phpspec-prophecy-phpunit_2.0.1-2_all.deb
Size: 4400
MD5sum: 49ae09bfa67708444cf3853477671e72
SHA1: 48df49b1ef8e20bcb807779b5050537d6833ce9f
SHA256: 3297c9535e9bf89ae53038f73bb040bc458357a6d450f79c878a8174fcd7a0e0
SHA512: c218192dc244e338456195e7f595efc5783f04db04377d717a7f941c8886d277c1f1f86ff8cd03246359dd50379b6826ccbc009c78da20b687d02937d701e5f1
Homepage: https://github.com/phpspec/prophecy-phpunit
Description-en: Integrating the Prophecy mocking library in PHPUnit test cases
Prophecy PhpUnit integrates the Prophecy mocking library with PHPUnit to
provide an easier mocking in testsuite.
.
phpspec can help write clean and working PHP code using behaviour driven
development or BDD. BDD is a technique derived from test-first development.
Description-md5: 713125ec9ba4bee4a9b7cbc04866ea3f