Passed
Push — master ( a5f550...a404b9 )
by Denis
39:17 queued 15s
created

SynchronizationConfig   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 17
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A isSingleKeyFormatNormalized() 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\Service\Synchronization;
11
12
use Spryker\Service\Synchronization\SynchronizationConfig as SprykerSynchronizationConfig;
13
14
class SynchronizationConfig extends SprykerSynchronizationConfig
15
{
16
    /**
17
     * Specification:
18
     *  - Used for backward compatibility to switch to the new single-key format.
19
     *  - Defaults to `false`, using the `key:` name format.
20
     *  - When set to `true`, the single-key format is `key`.
21
     *
22
     * @api
23
     *
24
     * @deprecated Will be removed in the next major without replacement. Will be switched to normalized format.
25
     *
26
     * @return bool
27
     */
28
    public function isSingleKeyFormatNormalized(): bool
29
    {
30
        return true;
31
    }
32
}
33