The type Generated\Shared\Transfer\QuoteTransfer was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. excluded_paths:["lib/*"],
you can move it to the dependency path list as follows:
The expression return $this->zedStub->c...n-pay', $quoteTransfer) returns the type Spryker\Shared\Kernel\Transfer\TransferInterface which is incompatible with the return type mandated by SprykerEco\Client\Amazon...ndleCartWithAmazonPay() of Generated\Shared\Transfer\QuoteTransfer.
In the issue above, the returned value is violating the contract defined by the
mentioned interface.
Let's take a look at an example:
interfaceHasName{/** @return string */publicfunctiongetName();}className{public$name;}classUserimplementsHasName{/** @return string|Name */publicfunctiongetName(){returnnewName('foo');// This is a violation of the ``HasName`` interface// which only allows a string value to be returned.}}
The expression return $this->zedStub->c...quote', $quoteTransfer) returns the type Spryker\Shared\Kernel\Transfer\TransferInterface which is incompatible with the return type mandated by SprykerEco\Client\Amazon...electedAddressToQuote() of Generated\Shared\Transfer\QuoteTransfer.
In the issue above, the returned value is violating the contract defined by the
mentioned interface.
Let's take a look at an example:
interfaceHasName{/** @return string */publicfunctiongetName();}className{public$name;}classUserimplementsHasName{/** @return string|Name */publicfunctiongetName(){returnnewName('foo');// This is a violation of the ``HasName`` interface// which only allows a string value to be returned.}}
The expression return $this->zedStub->c...quote', $quoteTransfer) returns the type Spryker\Shared\Kernel\Transfer\TransferInterface which is incompatible with the return type mandated by SprykerEco\Client\Amazon...ShipmentMethodToQuote() of Generated\Shared\Transfer\QuoteTransfer.
In the issue above, the returned value is violating the contract defined by the
mentioned interface.
Let's take a look at an example:
interfaceHasName{/** @return string */publicfunctiongetName();}className{public$name;}classUserimplementsHasName{/** @return string|Name */publicfunctiongetName(){returnnewName('foo');// This is a violation of the ``HasName`` interface// which only allows a string value to be returned.}}
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths