Download the PHP package nunomaduro/mock-final-classes without Composer
On this page you can find all versions of the php package nunomaduro/mock-final-classes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package mock-final-classes
Created by, and is maintained by Nuno Maduro, and once installed it automatically allows mocking of final methods and classes.
💡 Installation & Usage
Requires PHP 7.1+
First, install the package using Composer:
That's it! You can now mock final methods and classes. 🏄♂️
🤯 How it works?
- First, we run the file autoload.php using Composer Autoload.
- Then, we determine if you are running a supported test framework
- Then, we use the library dg/bypass-finals to remove final keywords from source code on-the-fly: https://github.com/nunomaduro/mock-final-classes/src/Runner.php#L31.
👏🏻 Credits
Most of the work is done by the library dg/bypass-finals, so make sure you support the maintainer here: Donate. Thank you!
Mock Final Classes is an open-sourced software licensed under the MIT license.
All versions of mock-final-classes with dependencies
PHP Build Version
Package Version
The package nunomaduro/mock-final-classes contains the following files
Loading the files please wait ....