Passed
Push — master ( b50490...348e80 )
by Serhii
46:14
created

TransferConfig   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 3
Bugs 1 Features 0
Metric Value
wmc 4
eloc 6
c 3
b 1
f 0
dl 0
loc 25
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getEntitiesSourceDirectories() 0 4 1
A isTransferSuffixCheckStrict() 0 3 1
A isTransferXmlValidationEnabled() 0 3 1
A isArrayRequireValidationEnabled() 0 3 1
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\Transfer;
11
12
use Spryker\Zed\Transfer\TransferConfig as SprykerTransferConfig;
13
14
class TransferConfig extends SprykerTransferConfig
15
{
16
    /**
17
     * @return array<string>
18
     */
19
    public function getEntitiesSourceDirectories(): array
20
    {
21
        return [
22
            APPLICATION_SOURCE_DIR . '/Orm/Propel/*/Schema/',
23
        ];
24
    }
25
26
    public function isTransferXmlValidationEnabled(): bool
27
    {
28
        return true;
29
    }
30
31
    public function isTransferSuffixCheckStrict(): bool
32
    {
33
        return true;
34
    }
35
36
    public function isArrayRequireValidationEnabled(): bool
37
    {
38
        return true;
39
    }
40
}
41