Download the PHP package phpunitgoodpractices/traits without Composer
On this page you can find all versions of the php package phpunitgoodpractices/traits. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download phpunitgoodpractices/traits
More information about phpunitgoodpractices/traits
Files in phpunitgoodpractices/traits
Download phpunitgoodpractices/traits
More information about phpunitgoodpractices/traits
Files in phpunitgoodpractices/traits
Vendor phpunitgoodpractices
Package traits
Short Description Highly opinionated PHPUnit good practices enforcer.
License MIT
Package traits
Short Description Highly opinionated PHPUnit good practices enforcer.
License MIT
Please rate this library. Is it a good library?
Informations about the package traits
❗ THIS PACKAGE IS DEPRECATED ❗
With great shape of PHPUnit itself and Static Code Analysers supporting it, this package is no longer needed.
PHPUnit Good Practices
Highly opinionated PHPUnit good practices enforcer.
Available traits
ExpectationViaCodeOverAnnotationTrait
Expected exception shall be set up via code, not annotations.
ExpectOverSetExceptionTrait
Expectation shall be set directly over via setter.
IdentityOverEqualityTrait
Identity assertion (===
) shall be used over equality ones (==
).
ProphecyOverMockObjectTrait
Prophecy shall be used over Mock Objects.
ProphesizeOnlyInterfaceTrait
Prophecy shall be created only for (existing) interfaces.
Example usage
All versions of traits with dependencies
PHP Build Version
Package Version
Requires
php Version
^5.5 || ^7.0 || ^8.0
phpunit/phpunit Version ^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ~8.5 || ~9.4
phpunit/phpunit Version ^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ~8.5 || ~9.4
The package phpunitgoodpractices/traits contains the following files
Loading the files please wait ....