Inconsistency in Spryker dependencies


#1

Looking at:


and both:
“spryker-shop/shop-application”: “^1.0.0”,

and
“spryker/application”: “^3.0.0”,

are not compatible with eachother due to this commit:

mainly due to ^3.0.0 requiring different type in

The issue is seen right on the homepage:

TypeError - Argument 1 passed to Spryker\Shared\Application\Application::__construct() must be an instance of Spryker\Service\Container\ContainerInterface, instance of Spryker\Yves\Kernel\Application given, called in /data/shop/development/current/vendor/spryker-shop/shop-application/src/SprykerShop/Yves/ShopApplication/YvesBootstrap.php on line 39
in /data/shop/development/current/vendor/spryker/application/src/Spryker/Shared/Application/Application.php (44)

Url:/

Trace:

#0 /data/shop/development/current/vendor/spryker-shop/shop-application/src/SprykerShop/Yves/ShopApplication/YvesBootstrap.php(39): Spryker\Shared\Application\Application->__construct(Object(Spryker\Yves\Kernel\Application))
#1 /data/shop/development/current/public/Yves/index.php(19): SprykerShop\Yves\ShopApplication\YvesBootstrap->__construct()
#2 {main}

#2

Hi Jan,

Thank you for the report. As per our development, there is a patch in preparation ATM for this case.
I’m sorry for this inconvenience.

Best regards,
Valerii