Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieu-rolland committed Oct 11, 2024
1 parent 091c4c6 commit 0f857f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions config/services/front/services_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,8 @@ services:
class: PrestaShop\PrestaShop\Core\Hook\HookModuleFilter
arguments:
- !tagged core.hook_module_exec_filter

PrestaShop\PrestaShop\Core\Module\ModuleOverrideChecker:
arguments:
- '@prestashop.translation.translator_language_loader'
- !php/const _PS_OVERRIDE_DIR_
2 changes: 1 addition & 1 deletion src/Adapter/ContainerFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function getContainer()

$container = CustomContainerBuilder::getContainer('front', _PS_MODE_DEV_);

if (null !== $container) {
if (!empty($container)) {

Check failure on line 80 in src/Adapter/ContainerFinder.php

View workflow job for this annotation

GitHub Actions / PHP Static Analysis (7.2)

Variable $container in empty() always exists and is not falsy.

Check failure on line 80 in src/Adapter/ContainerFinder.php

View workflow job for this annotation

GitHub Actions / PHP Static Analysis (7.3)

Variable $container in empty() always exists and is not falsy.

Check failure on line 80 in src/Adapter/ContainerFinder.php

View workflow job for this annotation

GitHub Actions / PHP Static Analysis (7.4)

Variable $container in empty() always exists and is not falsy.

Check failure on line 80 in src/Adapter/ContainerFinder.php

View workflow job for this annotation

GitHub Actions / PHP Static Analysis (8.0)

Variable $container in empty() always exists and is not falsy.

Check failure on line 80 in src/Adapter/ContainerFinder.php

View workflow job for this annotation

GitHub Actions / PHP Static Analysis (8.1)

Variable $container in empty() always exists and is not falsy.
return $container;
}

Expand Down

0 comments on commit 0f857f0

Please sign in to comment.