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\SpyPaymentBraintreeTransactionRequestLogQuery; |
|
|
|
|
13
|
|
|
use Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeTransactionStatusLogQuery; |
|
|
|
|
14
|
|
|
use Spryker\Zed\Kernel\Persistence\AbstractPersistenceFactory; |
15
|
|
|
use SprykerEco\Zed\Braintree\Persistence\Mapper\BraintreePersistenceMapper; |
16
|
|
|
use SprykerEco\Zed\Braintree\Persistence\Mapper\BraintreePersistenceMapperInterface; |
17
|
|
|
|
18
|
|
|
/** |
19
|
|
|
* @method \SprykerEco\Zed\Braintree\BraintreeConfig getConfig() |
20
|
|
|
* @method \SprykerEco\Zed\Braintree\Persistence\BraintreeQueryContainerInterface getQueryContainer() |
21
|
|
|
* @method \SprykerEco\Zed\Braintree\Persistence\BraintreeEntityManagerInterface getEntityManager() |
22
|
|
|
* @method \SprykerEco\Zed\Braintree\Persistence\BraintreeRepositoryInterface getRepository() |
23
|
|
|
*/ |
24
|
|
|
class BraintreePersistenceFactory extends AbstractPersistenceFactory |
25
|
|
|
{ |
26
|
|
|
/** |
27
|
|
|
* @return \SprykerEco\Zed\Braintree\Persistence\Mapper\BraintreePersistenceMapperInterface |
28
|
|
|
*/ |
29
|
|
|
public function createBraintreePersistenceMapper(): BraintreePersistenceMapperInterface |
30
|
|
|
{ |
31
|
|
|
return new BraintreePersistenceMapper(); |
32
|
|
|
} |
33
|
|
|
|
34
|
|
|
/** |
35
|
|
|
* @return \Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeQuery |
36
|
|
|
*/ |
37
|
|
|
public function createPaymentBraintreeQuery() |
38
|
|
|
{ |
39
|
|
|
return SpyPaymentBraintreeQuery::create(); |
40
|
|
|
} |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* @return \Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeTransactionStatusLogQuery |
44
|
|
|
*/ |
45
|
|
|
public function createPaymentBraintreeTransactionStatusLogQuery() |
46
|
|
|
{ |
47
|
|
|
return SpyPaymentBraintreeTransactionStatusLogQuery::create(); |
48
|
|
|
} |
49
|
|
|
|
50
|
|
|
/** |
51
|
|
|
* @return \Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeTransactionRequestLogQuery |
52
|
|
|
*/ |
53
|
|
|
public function createPaymentBraintreeTransactionRequestLogQuery() |
54
|
|
|
{ |
55
|
|
|
return SpyPaymentBraintreeTransactionRequestLogQuery::create(); |
56
|
|
|
} |
57
|
|
|
|
58
|
|
|
/** |
59
|
|
|
* @return \Orm\Zed\Braintree\Persistence\SpyPaymentBraintreeOrderItemQuery |
60
|
|
|
*/ |
61
|
|
|
public function createPaymentBraintreeOrderItemQuery(): SpyPaymentBraintreeOrderItemQuery |
62
|
|
|
{ |
63
|
|
|
return SpyPaymentBraintreeOrderItemQuery::create(); |
64
|
|
|
} |
65
|
|
|
} |
66
|
|
|
|
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