adriansuter/php-autoload-override
Override fully qualified global function calls inside class methods so you can mock them in tests. Works with PHP 8.2+ and Composer PSR-4 autoloading; integrates via a PHPUnit bootstrap using OverrideFactory to map functions (e.g., rand) to real implementations.
|
Package
|
Constraint
|
|---|---|
| nikic/php-parser | ^5 |
|
Package
|
Constraint
|
|---|---|
| phpspec/prophecy-phpunit | ^2 |
| phpstan/phpstan | ^2 |
| phpunit/phpunit | ^11 | ^12 | ^13 |
| squizlabs/php_codesniffer | ^3.7 | ^4 |
How can I help you explore Laravel packages today?