| Total Complexity | 7 |
| Total Lines | 62 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 14 | class TransferConfig extends SprykerTransferConfig |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @return list<string> |
||
| 18 | */ |
||
| 19 | public function getEntitiesSourceDirectories(): array |
||
| 20 | { |
||
| 21 | return [ |
||
|
|
|||
| 22 | APPLICATION_SOURCE_DIR . '/Orm/Propel/*/Schema/', |
||
| 23 | ]; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * We use strict name validation for core internal usage and enable this by default for all |
||
| 28 | * new projects. |
||
| 29 | * |
||
| 30 | * @return bool |
||
| 31 | */ |
||
| 32 | public function isTransferNameValidated(): bool |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * We use strict validation for case sensitive declaration for all new projects. |
||
| 39 | * |
||
| 40 | * @return bool |
||
| 41 | */ |
||
| 42 | public function isCaseValidated(): bool |
||
| 43 | { |
||
| 44 | return true; |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * We use strict validation for collections and singular definition for all new projects. |
||
| 49 | * |
||
| 50 | * @return bool |
||
| 51 | */ |
||
| 52 | public function isSingularRequired(): bool |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return bool |
||
| 59 | */ |
||
| 60 | public function isTransferXmlValidationEnabled(): bool |
||
| 61 | { |
||
| 62 | return true; |
||
| 63 | } |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return bool |
||
| 67 | */ |
||
| 68 | public function isTransferSuffixCheckStrict(): bool |
||
| 71 | } |
||
| 72 | |||
| 73 | public function isArrayRequireValidationEnabled(): bool |
||
| 74 | { |
||
| 78 |