Download the PHP package awesomite/mock-finals without Composer
On this page you can find all versions of the php package awesomite/mock-finals. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download awesomite/mock-finals
More information about awesomite/mock-finals
Files in awesomite/mock-finals
Download awesomite/mock-finals
More information about awesomite/mock-finals
Files in awesomite/mock-finals
Vendor awesomite
Package mock-finals
Short Description Mocking final classes and methods
License MIT
Package mock-finals
Short Description Mocking final classes and methods
License MIT
Please rate this library. Is it a good library?
Informations about the package mock-finals
Mock Finals
Mock final classes and methods in your tests. Library overrides existing class loaders and removes all final
occurrences in runtime using uopz_flags
.
Installation
Requirements
- PHP ^7.1
- uopz (
pecl install uopz
)
Use cases
In general, it's a bad practice to do so. However it may be helpful when you have to deal with legacy code or third party libraries.
Please read the following article to understand how to properly deal with final
keyword in your code.
Example
All versions of mock-finals with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1
ext-uopz Version *
ext-uopz Version *
The package awesomite/mock-finals contains the following files
Loading the files please wait ....