Skip to content

Commit

Permalink
fix: cs fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
ga-devfront committed Dec 17, 2024
1 parent a3c4293 commit 155ab21
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,10 @@
use PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration;
use PrestaShop\Module\AutoUpgrade\Parameters\UpgradeFileNames;
use PrestaShop\Module\AutoUpgrade\Router\Routes;
use PrestaShop\Module\AutoUpgrade\Services\DistributionApiService;
use PrestaShop\Module\AutoUpgrade\Services\PhpVersionResolverService;
use PrestaShop\Module\AutoUpgrade\Twig\PageSelectors;
use PrestaShop\Module\AutoUpgrade\Twig\UpdateSteps;
use PrestaShop\Module\AutoUpgrade\Twig\ValidatorToFormFormater;
use PrestaShop\Module\AutoUpgrade\UpgradeContainer;
use PrestaShop\Module\AutoUpgrade\UpgradeSelfCheck;
use PrestaShop\Module\AutoUpgrade\VersionUtils;
use Symfony\Component\HttpFoundation\JsonResponse;

Expand Down Expand Up @@ -245,7 +242,7 @@ public function coreTemperedFilesDialog(): JsonResponse
'title' => $this->upgradeContainer->getTranslator()->trans('List of core alterations'),
'description' => $this->upgradeContainer->getTranslator()->trans('Some core files have been altered, customization made on these files will be lost during the update.'),
'missing_files' => $this->upgradeContainer->getUpgradeSelfCheck()->getCoreMissingFiles(),
'altered_files' => $this->upgradeContainer->getUpgradeSelfCheck()->getCoreAlteredFiles()
'altered_files' => $this->upgradeContainer->getUpgradeSelfCheck()->getCoreAlteredFiles(),
])
);
}
Expand All @@ -258,15 +255,15 @@ public function themeTemperedFilesDialog(): JsonResponse
'title' => $this->upgradeContainer->getTranslator()->trans('List of theme alterations'),
'description' => $this->upgradeContainer->getTranslator()->trans('Some theme files have been altered, customization made on these files will be lost during the update.'),
'missing_files' => $this->upgradeContainer->getUpgradeSelfCheck()->getThemeMissingFiles(),
'altered_files' => $this->upgradeContainer->getUpgradeSelfCheck()->getThemeAlteredFiles()
'altered_files' => $this->upgradeContainer->getUpgradeSelfCheck()->getThemeAlteredFiles(),
])
);
}

/**
* @param array<string,string|string[]> $params
*/
private function getTemperedFilesDialog($params)
private function getTemperedFilesDialog($params): string
{
return $this->getTwig()->render(
'@ModuleAutoUpgrade/dialogs/dialog-tempered-files.html.twig',
Expand Down

0 comments on commit 155ab21

Please sign in to comment.