phpunit-injector
phpunit-injector copied to clipboard
Injects services from a PSR-11 dependency injection container to PHPUnit test cases
Booting the kernel is slow. It may sometimes be desirable to reuse a kernel across several related tests, especially when they rely upon the same container's configuration.
> 1x: The "Zalas\Injector\PHPUnit\TestListener\ServiceInjectorListener" class implements "PHPUnit\Framework\TestListener" that is deprecated Use the `TestHook` interfaces instead. > > 1x: The "Zalas\Injector\PHPUnit\TestListener\ServiceInjectorListener" class uses "PHPUnit\Framework\TestListenerDefaultImplementation" that is deprecated The `TestListener` interface is...
``` You are running PHP CS Fixer v2, which is not maintained anymore. Please update to v3. You may find an UPGRADE guide at https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v3.3.0/UPGRADE-v3.md . If you need help...
``` [WARNING] The format and default location of the depfile have changed. If you have already changed this, then you can ignore this warning. Otherwise please: * Update your depfile...