awslabs / aws-crt-php

Apache License 2.0
322 stars 13 forks source link

conflict "phpunit/php-timer": ">=2" #47

Closed pascallap closed 2 years ago

pascallap commented 2 years ago

Confirm by changing [ ] to [x] below:

Describe the question This module is now used by aws-sdk-php (version 3.192.0). Is there a good reason why phpunit/php-timer is listed has a conflict for version higher than 2?

Phpunit 8 and Phpunit 9 are the supported versions for current version of php and they require newer version of phpunit/php-timer.

Logs/output composer update on our project that require aws-php-sdk:

Problem 1

kevinpurwito commented 2 years ago

as a temporary solution, you can instead use the previous version of AWS SDK

composer require aws/aws-sdk-php:~3.191
pascallap commented 2 years ago

Thanks @kevinpurwito this is exactly what we are doing right now.

But we have a system that checks that all our dependencies are updated to the minor patch level. composer outdated -m --direct --locked --no-dev And in this case, it always flags this dependency as lagging behind.

So for the time being, we are manually skipping this check...

pascallap commented 2 years ago

The problem is solved with version 1.0.2 thanks!