How To Install php-phpunitgoodpractices-polyfill on Fedora 36

In this tutorial we learn how to install php-phpunitgoodpractices-polyfill in Fedora 36. php-phpunitgoodpractices-polyfill is Lacking future-compat polyfills for PHPUnit

Introduction

In this tutorial we learn how to install php-phpunitgoodpractices-polyfill on Fedora 36.

What is php-phpunitgoodpractices-polyfill

Lacking future-compat polyfills for PHPUnit. Autoloader

We can use yum or dnf to install php-phpunitgoodpractices-polyfill on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-phpunitgoodpractices-polyfill.

Install php-phpunitgoodpractices-polyfill on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install php-phpunitgoodpractices-polyfill using dnf by running the following command:

sudo dnf -y install php-phpunitgoodpractices-polyfill

Install php-phpunitgoodpractices-polyfill on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-phpunitgoodpractices-polyfill using yum by running the following command:

sudo yum -y install php-phpunitgoodpractices-polyfill

How To Uninstall php-phpunitgoodpractices-polyfill on Fedora 36

To uninstall only the php-phpunitgoodpractices-polyfill package we can use the following command:

sudo dnf remove php-phpunitgoodpractices-polyfill

php-phpunitgoodpractices-polyfill Package Contents on Fedora 36

/usr/share/doc/php-phpunitgoodpractices-polyfill
/usr/share/doc/php-phpunitgoodpractices-polyfill/composer-polyfill.json
/usr/share/doc/php-phpunitgoodpractices-polyfill/composer-traits.json
/usr/share/licenses/php-phpunitgoodpractices-polyfill
/usr/share/licenses/php-phpunitgoodpractices-polyfill/LICENSE-polyfill
/usr/share/licenses/php-phpunitgoodpractices-polyfill/LICENSE-traits
/usr/share/php/PHPUnitGoodPractices
/usr/share/php/PHPUnitGoodPractices/Polyfill
/usr/share/php/PHPUnitGoodPractices/Polyfill/PolyfillTrait.php
/usr/share/php/PHPUnitGoodPractices/Polyfill/PolyfillTrait6.php
/usr/share/php/PHPUnitGoodPractices/Polyfill/PolyfillTrait7.php
/usr/share/php/PHPUnitGoodPractices/Polyfill/aliases.php
/usr/share/php/PHPUnitGoodPractices/Polyfill/autoload.php
/usr/share/php/PHPUnitGoodPractices/Traits
/usr/share/php/PHPUnitGoodPractices/Traits/ExpectOverSetExceptionTrait.php
/usr/share/php/PHPUnitGoodPractices/Traits/ExpectationViaCodeOverAnnotationTrait.php
/usr/share/php/PHPUnitGoodPractices/Traits/ExpectationViaCodeOverAnnotationTrait7.php
/usr/share/php/PHPUnitGoodPractices/Traits/IdentityOverEqualityTrait.php
/usr/share/php/PHPUnitGoodPractices/Traits/IdentityOverEqualityTrait7.php
/usr/share/php/PHPUnitGoodPractices/Traits/PHPUnitVersionRetriever.php
/usr/share/php/PHPUnitGoodPractices/Traits/ProphecyOverMockObjectTrait.php
/usr/share/php/PHPUnitGoodPractices/Traits/ProphecyOverMockObjectTrait7.php
/usr/share/php/PHPUnitGoodPractices/Traits/ProphecyOverMockObjectTrait9.php
/usr/share/php/PHPUnitGoodPractices/Traits/ProphesizeOnlyInterfaceTrait.php
/usr/share/php/PHPUnitGoodPractices/Traits/ProphesizeOnlyInterfaceTrait7.php
/usr/share/php/PHPUnitGoodPractices/Traits/Reporter.php

References

Summary

In this tutorial we learn how to install php-phpunitgoodpractices-polyfill on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).