fix composer compatibility issues with Laravel framework updates and phpunit