I've cloned this repository but I got two deprecation warnings:
Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead.
guzzle/guzzle suggests installing guzzlehttp/guzzle (Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated.)
Then I got another deprecation warning:
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Ok. I sorted out this issue can be a duplicate of #11318 and #9531
I've digged in, also. Discovering a pretty fresh feedback from aws developers.
Maybe this problem with Guzzle promises can be solved somehow in Matomo project?
Did you install with development dependencies? the aws package is development only
@sgiehl Do you know what aws/aws-sdk-php
is used for? I think only https://github.com/matomo-org/matomo/tree/4.x-dev/plugins/TestRunner/Aws uses it which I don't think anyone uses anymore.
So maybe we could remove it with Matomo 4 or at least update the package to the latest version.
@sgiehl I ran composer install
then enabled php console development:enable
Thank you, good shot!
Would you like I file another issue splitting the two dependencies or we just fade out this issue?
I've digged into the container-interop deprecation and I discovered is about merging into PSR-11.
already tried updating php-di on a new branch, but tests are failing and there are some issues with having references in functions defined in configuration like here https://github.com/matomo-org/matomo/blob/0187b71729484a9f173d978239ff0a3cb37a5d7b/config/environment/test.php#L101
Don't have time to dig deeper into that right now. Feel free to simply rename this issue or create a new one for updating php-di
Be indeed good to create a new issue for the other one and we close this one.
We'll see when we look into the other one as it might not have highest priority right now while working on Matomo 4.
Thanks for bringing this up @tassoman
Created https://github.com/matomo-org/matomo/issues/15974 for this.