1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* MIT License |
5
|
|
|
* For full license information, please view the LICENSE file that was distributed with this source code. |
6
|
|
|
*/ |
7
|
|
|
|
8
|
|
|
namespace SprykerEco\Zed\Braintree\Persistence; |
9
|
|
|
|
10
|
|
|
use Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeOrderItemQuery; |
|
|
|
|
11
|
|
|
use Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeQuery; |
|
|
|
|
12
|
|
|
use Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeTransactionOrderItem; |
|
|
|
|
13
|
|
|
use Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeTransactionOrderItemQuery; |
|
|
|
|
14
|
|
|
use Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeTransactionRequestLogQuery; |
|
|
|
|
15
|
|
|
use Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeTransactionStatusLogQuery; |
|
|
|
|
16
|
|
|
use Spryker\Zed\Kernel\Persistence\AbstractPersistenceFactory; |
17
|
|
|
use SprykerEco\Zed\Braintree\Persistence\Mapper\BraintreePersistenceMapper; |
18
|
|
|
use SprykerEco\Zed\Braintree\Persistence\Mapper\BraintreePersistenceMapperInterface; |
19
|
|
|
|
20
|
|
|
/** |
21
|
|
|
* @method \SprykerEco\Zed\Braintree\BraintreeConfig getConfig() |
22
|
|
|
* @method \SprykerEco\Zed\Braintree\Persistence\BraintreeQueryContainerInterface getQueryContainer() |
23
|
|
|
* @method \SprykerEco\Zed\Braintree\Persistence\BraintreeEntityManagerInterface getEntityManager() |
24
|
|
|
* @method \SprykerEco\Zed\Braintree\Persistence\BraintreeRepositoryInterface getRepository() |
25
|
|
|
*/ |
26
|
|
|
class BraintreePersistenceFactory extends AbstractPersistenceFactory |
27
|
|
|
{ |
28
|
|
|
/** |
29
|
|
|
* @return \SprykerEco\Zed\Braintree\Persistence\Mapper\BraintreePersistenceMapperInterface |
30
|
|
|
*/ |
31
|
|
|
public function createBraintreePersistenceMapper(): BraintreePersistenceMapperInterface |
32
|
|
|
{ |
33
|
|
|
return new BraintreePersistenceMapper(); |
34
|
|
|
} |
35
|
|
|
|
36
|
|
|
/** |
37
|
|
|
* @return \Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeQuery |
38
|
|
|
*/ |
39
|
|
|
public function createPaymentBraintreeQuery() |
40
|
|
|
{ |
41
|
|
|
return SpyPaymentBraintreeQuery::create(); |
42
|
|
|
} |
43
|
|
|
|
44
|
|
|
/** |
45
|
|
|
* @return \Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeTransactionStatusLogQuery |
46
|
|
|
*/ |
47
|
|
|
public function createPaymentBraintreeTransactionStatusLogQuery() |
48
|
|
|
{ |
49
|
|
|
return SpyPaymentBraintreeTransactionStatusLogQuery::create(); |
50
|
|
|
} |
51
|
|
|
|
52
|
|
|
/** |
53
|
|
|
* @return \Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeTransactionRequestLogQuery |
54
|
|
|
*/ |
55
|
|
|
public function createPaymentBraintreeTransactionRequestLogQuery() |
56
|
|
|
{ |
57
|
|
|
return SpyPaymentBraintreeTransactionRequestLogQuery::create(); |
58
|
|
|
} |
59
|
|
|
|
60
|
|
|
/** |
61
|
|
|
* @return SpyPaymentBraintreeOrderItemQuery |
62
|
|
|
*/ |
63
|
|
|
public function createPaymentBraintreeOrderItemQuery(): SpyPaymentBraintreeOrderItemQuery |
64
|
|
|
{ |
65
|
|
|
return SpyPaymentBraintreeOrderItemQuery::create(); |
66
|
|
|
} |
67
|
|
|
} |
68
|
|
|
|
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