How To Install php-phpunit-PHPUnit-SkeletonGenerator on Fedora 36

In this tutorial we learn how to install php-phpunit-PHPUnit-SkeletonGenerator in Fedora 36. php-phpunit-PHPUnit-SkeletonGenerator is Tool that can generate skeleton test classes

Introduction

In this tutorial we learn how to install php-phpunit-PHPUnit-SkeletonGenerator on Fedora 36.

What is php-phpunit-PHPUnit-SkeletonGenerator

Tool that can generate skeleton test classes from production code classes and vice versa.

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

Install php-phpunit-PHPUnit-SkeletonGenerator 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-phpunit-PHPUnit-SkeletonGenerator using dnf by running the following command:

sudo dnf -y install php-phpunit-PHPUnit-SkeletonGenerator

Install php-phpunit-PHPUnit-SkeletonGenerator 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-phpunit-PHPUnit-SkeletonGenerator using yum by running the following command:

sudo yum -y install php-phpunit-PHPUnit-SkeletonGenerator

How To Uninstall php-phpunit-PHPUnit-SkeletonGenerator on Fedora 36

To uninstall only the php-phpunit-PHPUnit-SkeletonGenerator package we can use the following command:

sudo dnf remove php-phpunit-PHPUnit-SkeletonGenerator

php-phpunit-PHPUnit-SkeletonGenerator Package Contents on Fedora 36

/usr/bin/phpunit-skelgen
/usr/share/doc/php-phpunit-PHPUnit-SkeletonGenerator
/usr/share/doc/php-phpunit-PHPUnit-SkeletonGenerator/README.md
/usr/share/doc/php-phpunit-PHPUnit-SkeletonGenerator/composer.json
/usr/share/licenses/php-phpunit-PHPUnit-SkeletonGenerator
/usr/share/licenses/php-phpunit-PHPUnit-SkeletonGenerator/LICENSE
/usr/share/php/SebastianBergmann
/usr/share/php/SebastianBergmann/PHPUnit
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/AbstractGenerator.php
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/CLI
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/CLI/Application.php
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/CLI/BaseCommand.php
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/CLI/GenerateClassCommand.php
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/CLI/GenerateTestCommand.php
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/ClassGenerator.php
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/TestGenerator.php
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/autoload.php
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/template
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/template/Class.tpl.dist
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/template/IncompleteTestMethod.tpl.dist
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/template/Method.tpl.dist
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/template/TestClass.tpl.dist
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/template/TestMethod.tpl.dist
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/template/TestMethodBool.tpl.dist
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/template/TestMethodBoolStatic.tpl.dist
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/template/TestMethodException.tpl.dist
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/template/TestMethodExceptionStatic.tpl.dist
/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/template/TestMethodStatic.tpl.dist

References

Summary

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