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\SalesOrderAmendment; |
11
|
|
|
|
12
|
|
|
use Spryker\Zed\CartNote\Communication\Plugin\SalesOrderAmendment\CartNoteSalesOrderItemCollectorPlugin; |
13
|
|
|
use Spryker\Zed\ConfigurableBundleNote\Communication\Plugin\SalesOrderAmendment\ConfigurableBundleNoteSalesOrderItemCollectorPlugin; |
14
|
|
|
use Spryker\Zed\SalesOrderAmendment\SalesOrderAmendmentDependencyProvider as SprykerSalesOrderAmendmentDependencyProvider; |
15
|
|
|
use Spryker\Zed\SalesOrderAmendmentOms\Communication\Plugin\SalesOrderAmendment\OrderSalesOrderAmendmentValidatorRulePlugin; |
16
|
|
|
use Spryker\Zed\SalesProductConfiguration\Communication\Plugin\SalesOrderAmendment\SalesProductConfigurationSalesOrderItemCollectorPlugin; |
17
|
|
|
use Spryker\Zed\Shipment\Communication\Plugin\SalesOrderAmendment\ShipmentGroupsSalesOrderAmendmentQuoteExpanderPlugin; |
18
|
|
|
use Spryker\Zed\Shipment\Communication\Plugin\SalesOrderAmendment\ShipmentSalesOrderItemCollectorPlugin; |
19
|
|
|
|
20
|
|
|
class SalesOrderAmendmentDependencyProvider extends SprykerSalesOrderAmendmentDependencyProvider |
21
|
|
|
{ |
22
|
|
|
/** |
23
|
|
|
* @return list<\Spryker\Zed\SalesOrderAmendmentExtension\Dependency\Plugin\SalesOrderAmendmentValidatorRulePluginInterface> |
|
|
|
|
24
|
|
|
*/ |
25
|
|
|
protected function getSalesOrderAmendmentCreateValidationRulePlugins(): array |
26
|
|
|
{ |
27
|
|
|
return [ |
|
|
|
|
28
|
|
|
new OrderSalesOrderAmendmentValidatorRulePlugin(), |
29
|
|
|
]; |
30
|
|
|
} |
31
|
|
|
|
32
|
|
|
/** |
33
|
|
|
* @return list<\Spryker\Zed\SalesOrderAmendmentExtension\Dependency\Plugin\SalesOrderItemCollectorPluginInterface> |
34
|
|
|
*/ |
35
|
|
|
protected function getSalesOrderItemCollectorPlugins(): array |
36
|
|
|
{ |
37
|
|
|
return [ |
38
|
|
|
new CartNoteSalesOrderItemCollectorPlugin(), |
39
|
|
|
new ShipmentSalesOrderItemCollectorPlugin(), |
40
|
|
|
new ConfigurableBundleNoteSalesOrderItemCollectorPlugin(), |
41
|
|
|
new SalesProductConfigurationSalesOrderItemCollectorPlugin(), |
42
|
|
|
]; |
43
|
|
|
} |
44
|
|
|
|
45
|
|
|
/** |
46
|
|
|
* @return list<\Spryker\Zed\SalesOrderAmendmentExtension\Dependency\Plugin\SalesOrderAmendmentQuoteExpanderPluginInterface> |
47
|
|
|
*/ |
48
|
|
|
protected function getSalesOrderAmendmentQuoteExpanderPlugins(): array |
49
|
|
|
{ |
50
|
|
|
return [ |
|
|
|
|
51
|
|
|
new ShipmentGroupsSalesOrderAmendmentQuoteExpanderPlugin(), |
52
|
|
|
]; |
53
|
|
|
} |
54
|
|
|
} |
55
|
|
|
|
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