|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/** |
|
4
|
|
|
* This file is part of the Spryker Commerce OS. |
|
5
|
|
|
* For full license information, please view the LICENSE file that was distributed with this source code. |
|
6
|
|
|
*/ |
|
7
|
|
|
|
|
8
|
|
|
declare(strict_types = 1); |
|
9
|
|
|
|
|
10
|
|
|
namespace Pyz\Zed\Quote; |
|
11
|
|
|
|
|
12
|
|
|
use Spryker\Zed\Currency\Communication\Plugin\Quote\DefaultCurrencyQuoteExpandBeforeCreatePlugin; |
|
13
|
|
|
use Spryker\Zed\Currency\Communication\Plugin\Quote\QuoteCurrencyValidatorPlugin; |
|
14
|
|
|
use Spryker\Zed\OrderCustomReference\Communication\Plugin\Quote\OrderCustomReferenceQuoteFieldsAllowedForSavingProviderPlugin; |
|
15
|
|
|
use Spryker\Zed\Price\Communication\Plugin\Quote\QuotePriceModeValidatorPlugin; |
|
16
|
|
|
use Spryker\Zed\Quote\QuoteDependencyProvider as SprykerQuoteDependencyProvider; |
|
17
|
|
|
use Spryker\Zed\SalesOrderAmendmentOms\Communication\Plugin\Quote\CancelOrderAmendmentQuoteDeleteAfterPlugin; |
|
18
|
|
|
use Spryker\Zed\Store\Communication\Plugin\Quote\QuoteStoreValidatorPlugin; |
|
19
|
|
|
|
|
20
|
|
|
class QuoteDependencyProvider extends SprykerQuoteDependencyProvider |
|
21
|
|
|
{ |
|
22
|
|
|
/** |
|
23
|
|
|
* @return list<\Spryker\Zed\QuoteExtension\Dependency\Plugin\QuoteDeleteAfterPluginInterface> |
|
|
|
|
|
|
24
|
|
|
*/ |
|
25
|
|
|
protected function getQuoteDeleteAfterPlugins(): array |
|
26
|
|
|
{ |
|
27
|
|
|
return [ |
|
|
|
|
|
|
28
|
|
|
new CancelOrderAmendmentQuoteDeleteAfterPlugin(), |
|
29
|
|
|
]; |
|
30
|
|
|
} |
|
31
|
|
|
|
|
32
|
|
|
/** |
|
33
|
|
|
* @return array<\Spryker\Zed\QuoteExtension\Dependency\Plugin\QuoteValidatorPluginInterface> |
|
34
|
|
|
*/ |
|
35
|
|
|
protected function getQuoteValidatorPlugins(): array |
|
36
|
|
|
{ |
|
37
|
|
|
return [ |
|
38
|
|
|
new QuoteCurrencyValidatorPlugin(), |
|
39
|
|
|
new QuotePriceModeValidatorPlugin(), |
|
40
|
|
|
new QuoteStoreValidatorPlugin(), |
|
41
|
|
|
]; |
|
42
|
|
|
} |
|
43
|
|
|
|
|
44
|
|
|
/** |
|
45
|
|
|
* @return array<\Spryker\Zed\QuoteExtension\Dependency\Plugin\QuoteExpandBeforeCreatePluginInterface> |
|
46
|
|
|
*/ |
|
47
|
|
|
protected function getQuoteExpandBeforeCreatePlugins(): array |
|
48
|
|
|
{ |
|
49
|
|
|
return [ |
|
50
|
|
|
new DefaultCurrencyQuoteExpandBeforeCreatePlugin(), |
|
51
|
|
|
]; |
|
52
|
|
|
} |
|
53
|
|
|
|
|
54
|
|
|
/** |
|
55
|
|
|
* @return array<\Spryker\Zed\QuoteExtension\Dependency\Plugin\QuoteFieldsAllowedForSavingProviderPluginInterface> |
|
56
|
|
|
*/ |
|
57
|
|
|
protected function getQuoteFieldsAllowedForSavingProviderPlugins(): array |
|
58
|
|
|
{ |
|
59
|
|
|
return [ |
|
60
|
|
|
new OrderCustomReferenceQuoteFieldsAllowedForSavingProviderPlugin(), |
|
61
|
|
|
]; |
|
62
|
|
|
} |
|
63
|
|
|
} |
|
64
|
|
|
|
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