Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class EcondaToLocaleBridge implements EcondaToLocaleInterface |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @var \Spryker\Zed\Locale\Business\LocaleFacadeInterface |
||
|
|||
15 | */ |
||
16 | protected $localeFacade; |
||
17 | |||
18 | /** |
||
19 | * @param \Spryker\Zed\Locale\Business\LocaleFacadeInterface $localeFacade |
||
20 | */ |
||
21 | public function __construct($localeFacade) |
||
22 | { |
||
23 | $this->localeFacade = $localeFacade; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @return \Generated\Shared\Transfer\LocaleTransfer |
||
28 | */ |
||
29 | public function getCurrentLocale() |
||
30 | { |
||
31 | return $this->localeFacade->getCurrentLocale(); |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param string $localeName |
||
36 | * |
||
37 | * @return \Generated\Shared\Transfer\LocaleTransfer |
||
38 | */ |
||
39 | public function getLocale($localeName) |
||
42 | } |
||
43 | |||
44 | } |
||
45 |
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