Fixed CI
This commit is contained in:
@@ -13,11 +13,9 @@ jobs:
|
||||
- name: Clean-up project
|
||||
uses: PrestaShopCorp/github-action-clean-before-deploy@v1.0
|
||||
- name: Prepare auto-index tool
|
||||
run: |
|
||||
composer global require prestashop/autoindex
|
||||
run: composer global require prestashop/autoindex
|
||||
- name: Generate index.php
|
||||
run: |
|
||||
~/.composer/vendor/bin/autoindex
|
||||
run: ~/.composer/vendor/bin/autoindex
|
||||
- name: Create & upload artifact
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
@@ -59,4 +57,4 @@ jobs:
|
||||
upload_url: ${{ steps.release_info.outputs.upload_url }}
|
||||
asset_path: ./${{ github.event.repository.name }}/${{ github.event.repository.name }}.zip
|
||||
asset_name: ${{ github.event.repository.name }}.zip
|
||||
asset_content_type: application/zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
presta-versions: ['1.7.1.2', '1.7.2.5', '1.7.3.4', '1.7.4.4', '1.7.5.1', '1.7.6.9', '1.7.7.3', 'latest']
|
||||
presta-versions: ['1.7.1.2', '1.7.2.5', '1.7.3.4', '1.7.4.4', '1.7.5.1', '1.7.6.9', '1.7.7.4', 'latest']
|
||||
steps:
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/config_*.xml
|
||||
/translations/*.php
|
||||
/vendor/
|
||||
/.php_cs.cache
|
||||
/.php_cs.cache
|
||||
|
||||
+1
-1
@@ -8,4 +8,4 @@ $config
|
||||
->in(__DIR__)
|
||||
->exclude('vendor');
|
||||
|
||||
return $config;
|
||||
return $config;
|
||||
|
||||
+1
-1
@@ -24,5 +24,5 @@
|
||||
"classmap": [
|
||||
"ps_mainmenu.php"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+8
-8
@@ -620,20 +620,20 @@
|
||||
},
|
||||
{
|
||||
"name": "psr/cache",
|
||||
"version": "3.0.0",
|
||||
"version": "1.0.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/php-fig/cache.git",
|
||||
"reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf"
|
||||
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf",
|
||||
"reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf",
|
||||
"url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
|
||||
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0.0"
|
||||
"php": ">=5.3.0"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
@@ -653,7 +653,7 @@
|
||||
"authors": [
|
||||
{
|
||||
"name": "PHP-FIG",
|
||||
"homepage": "https://www.php-fig.org/"
|
||||
"homepage": "http://www.php-fig.org/"
|
||||
}
|
||||
],
|
||||
"description": "Common interface for caching libraries",
|
||||
@@ -663,9 +663,9 @@
|
||||
"psr-6"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/php-fig/cache/tree/3.0.0"
|
||||
"source": "https://github.com/php-fig/cache/tree/master"
|
||||
},
|
||||
"time": "2021-02-03T23:26:27+00:00"
|
||||
"time": "2016-08-06T20:24:11+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/container",
|
||||
|
||||
@@ -23,13 +23,12 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
header('Location: ../');
|
||||
exit;
|
||||
|
||||
+332
-320
File diff suppressed because it is too large
Load Diff
+38
-39
@@ -23,17 +23,16 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
class Ps_MenuTopLinks
|
||||
{
|
||||
public static function gets($id_lang, $id_linksmenutop = null, $id_shop)
|
||||
{
|
||||
$sql = 'SELECT l.id_linksmenutop, l.new_window, s.name, ll.link, ll.label
|
||||
FROM '._DB_PREFIX_.'linksmenutop l
|
||||
LEFT JOIN '._DB_PREFIX_.'linksmenutop_lang ll ON (l.id_linksmenutop = ll.id_linksmenutop AND ll.id_lang = '.(int)$id_lang.' AND ll.id_shop='.(int)$id_shop.')
|
||||
LEFT JOIN '._DB_PREFIX_.'shop s ON l.id_shop = s.id_shop
|
||||
WHERE 1 '.((!is_null($id_linksmenutop)) ? ' AND l.id_linksmenutop = "'.(int)$id_linksmenutop.'"' : '').'
|
||||
AND l.id_shop IN (0, '.(int)$id_shop.')';
|
||||
FROM ' . _DB_PREFIX_ . 'linksmenutop l
|
||||
LEFT JOIN ' . _DB_PREFIX_ . 'linksmenutop_lang ll ON (l.id_linksmenutop = ll.id_linksmenutop AND ll.id_lang = ' . (int) $id_lang . ' AND ll.id_shop=' . (int) $id_shop . ')
|
||||
LEFT JOIN ' . _DB_PREFIX_ . 'shop s ON l.id_shop = s.id_shop
|
||||
WHERE 1 ' . ((!is_null($id_linksmenutop)) ? ' AND l.id_linksmenutop = "' . (int) $id_linksmenutop . '"' : '') . '
|
||||
AND l.id_shop IN (0, ' . (int) $id_shop . ')';
|
||||
|
||||
return Db::getInstance()->executeS($sql);
|
||||
}
|
||||
@@ -47,24 +46,24 @@ class Ps_MenuTopLinks
|
||||
{
|
||||
$ret = Db::getInstance()->executeS('
|
||||
SELECT l.id_linksmenutop, l.new_window, ll.link, ll.label, ll.id_lang
|
||||
FROM '._DB_PREFIX_.'linksmenutop l
|
||||
LEFT JOIN '._DB_PREFIX_.'linksmenutop_lang ll ON (l.id_linksmenutop = ll.id_linksmenutop AND ll.id_shop='.(int)$id_shop.')
|
||||
FROM ' . _DB_PREFIX_ . 'linksmenutop l
|
||||
LEFT JOIN ' . _DB_PREFIX_ . 'linksmenutop_lang ll ON (l.id_linksmenutop = ll.id_linksmenutop AND ll.id_shop=' . (int) $id_shop . ')
|
||||
WHERE 1
|
||||
'.((!is_null($id_linksmenutop)) ? ' AND l.id_linksmenutop = "'.(int)$id_linksmenutop.'"' : '').'
|
||||
AND l.id_shop IN (0, '.(int)$id_shop.')
|
||||
' . ((!is_null($id_linksmenutop)) ? ' AND l.id_linksmenutop = "' . (int) $id_linksmenutop . '"' : '') . '
|
||||
AND l.id_shop IN (0, ' . (int) $id_shop . ')
|
||||
');
|
||||
|
||||
$link = array();
|
||||
$label = array();
|
||||
$link = [];
|
||||
$label = [];
|
||||
$new_window = false;
|
||||
|
||||
foreach ($ret as $line) {
|
||||
$link[$line['id_lang']] = Tools::safeOutput($line['link']);
|
||||
$label[$line['id_lang']] = Tools::safeOutput($line['label']);
|
||||
$new_window = (bool)$line['new_window'];
|
||||
$new_window = (bool) $line['new_window'];
|
||||
}
|
||||
|
||||
return array('link' => $link, 'label' => $label, 'new_window' => $new_window);
|
||||
return ['link' => $link, 'label' => $label, 'new_window' => $new_window];
|
||||
}
|
||||
|
||||
public static function add($link, $label, $newWindow = 0, $id_shop)
|
||||
@@ -78,25 +77,25 @@ class Ps_MenuTopLinks
|
||||
|
||||
Db::getInstance()->insert(
|
||||
'linksmenutop',
|
||||
array(
|
||||
'new_window'=>(int)$newWindow,
|
||||
'id_shop' => (int)$id_shop
|
||||
)
|
||||
[
|
||||
'new_window' => (int) $newWindow,
|
||||
'id_shop' => (int) $id_shop,
|
||||
]
|
||||
);
|
||||
$id_linksmenutop = Db::getInstance()->Insert_ID();
|
||||
|
||||
$result = true;
|
||||
|
||||
foreach ($label as $id_lang=>$label) {
|
||||
foreach ($label as $id_lang => $label) {
|
||||
$result &= Db::getInstance()->insert(
|
||||
'linksmenutop_lang',
|
||||
array(
|
||||
'id_linksmenutop'=>(int)$id_linksmenutop,
|
||||
'id_lang'=>(int)$id_lang,
|
||||
'id_shop'=>(int)$id_shop,
|
||||
'label'=>pSQL($label),
|
||||
'link'=>pSQL($link[$id_lang])
|
||||
)
|
||||
[
|
||||
'id_linksmenutop' => (int) $id_linksmenutop,
|
||||
'id_lang' => (int) $id_lang,
|
||||
'id_shop' => (int) $id_shop,
|
||||
'label' => pSQL($label),
|
||||
'link' => pSQL($link[$id_lang]),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
@@ -114,22 +113,22 @@ class Ps_MenuTopLinks
|
||||
|
||||
Db::getInstance()->update(
|
||||
'linksmenutop',
|
||||
array(
|
||||
'new_window'=>(int)$newWindow,
|
||||
'id_shop' => (int)$id_shop
|
||||
),
|
||||
'id_linksmenutop = '.(int)$id_link
|
||||
[
|
||||
'new_window' => (int) $newWindow,
|
||||
'id_shop' => (int) $id_shop,
|
||||
],
|
||||
'id_linksmenutop = ' . (int) $id_link
|
||||
);
|
||||
|
||||
foreach ($labels as $id_lang => $label) {
|
||||
Db::getInstance()->update(
|
||||
'linksmenutop_lang',
|
||||
array(
|
||||
'id_shop'=>(int)$id_shop,
|
||||
'label'=>pSQL($label),
|
||||
'link'=>pSQL($link[$id_lang])
|
||||
),
|
||||
'id_linksmenutop = '.(int)$id_link.' AND id_lang = '.(int)$id_lang
|
||||
[
|
||||
'id_shop' => (int) $id_shop,
|
||||
'label' => pSQL($label),
|
||||
'link' => pSQL($link[$id_lang]),
|
||||
],
|
||||
'id_linksmenutop = ' . (int) $id_link . ' AND id_lang = ' . (int) $id_lang
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -137,8 +136,8 @@ class Ps_MenuTopLinks
|
||||
public static function remove($id_linksmenutop, $id_shop)
|
||||
{
|
||||
$result = true;
|
||||
$result &= Db::getInstance()->delete('linksmenutop', 'id_linksmenutop = '.(int)$id_linksmenutop.' AND id_shop = '.(int)$id_shop);
|
||||
$result &= Db::getInstance()->delete('linksmenutop_lang', 'id_linksmenutop = '.(int)$id_linksmenutop);
|
||||
$result &= Db::getInstance()->delete('linksmenutop', 'id_linksmenutop = ' . (int) $id_linksmenutop . ' AND id_shop = ' . (int) $id_shop);
|
||||
$result &= Db::getInstance()->delete('linksmenutop_lang', 'id_linksmenutop = ' . (int) $id_linksmenutop);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
+8
-9
@@ -23,13 +23,12 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
|
||||
@@ -23,13 +23,12 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
|
||||
@@ -1,2 +1,14 @@
|
||||
includes:
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
- '#Access to an undefined property HelperList\:\:\$shopLinkType.#'
|
||||
- '#Access to protected property HelperForm\:\:\$fields_form.#'
|
||||
- '#Call to method assign\(\) on an unknown class Smarty_Data.#'
|
||||
- '#Parameter \#1 \$id of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#1 \$idCategory of class Category constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Category constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$selection of static method CMSCore\:\:getLinks\(\) expects null, array<int, int> given.#'
|
||||
- '#Parameter \#2 \$value of static method CacheCore\:\:store\(\) expects string, array<int\|string, mixed> given.#'
|
||||
|
||||
@@ -1,2 +1,14 @@
|
||||
includes:
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
- '#Access to an undefined property HelperList\:\:\$shopLinkType.#'
|
||||
- '#Access to protected property HelperForm\:\:\$fields_form.#'
|
||||
- '#Call to method assign\(\) on an unknown class Smarty_Data.#'
|
||||
- '#Parameter \#1 \$id of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#1 \$idCategory of class Category constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Category constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$selection of static method CMSCore\:\:getLinks\(\) expects null, array<int, int> given.#'
|
||||
- '#Parameter \#2 \$value of static method CacheCore\:\:store\(\) expects string, array<int\|string, mixed> given.#'
|
||||
|
||||
@@ -1,2 +1,14 @@
|
||||
includes:
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
- '#Access to an undefined property HelperList\:\:\$shopLinkType.#'
|
||||
- '#Access to protected property HelperForm\:\:\$fields_form.#'
|
||||
- '#Call to method assign\(\) on an unknown class Smarty_Data.#'
|
||||
- '#Parameter \#1 \$id of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#1 \$idCategory of class Category constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Category constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$selection of static method CMSCore\:\:getLinks\(\) expects null, array<int, int> given.#'
|
||||
- '#Parameter \#2 \$value of static method CacheCore\:\:store\(\) expects string, array<int\|string, mixed> given.#'
|
||||
|
||||
@@ -1,2 +1,14 @@
|
||||
includes:
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
- '#Access to an undefined property HelperList\:\:\$shopLinkType.#'
|
||||
- '#Access to protected property HelperForm\:\:\$fields_form.#'
|
||||
- '#Call to method assign\(\) on an unknown class Smarty_Data.#'
|
||||
- '#Parameter \#1 \$id of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#1 \$idCategory of class Category constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Category constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$selection of static method CMSCore\:\:getLinks\(\) expects null, array<int, int> given.#'
|
||||
- '#Parameter \#2 \$value of static method CacheCore\:\:store\(\) expects string, array<int\|string, mixed> given.#'
|
||||
|
||||
@@ -1,2 +1,13 @@
|
||||
includes:
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
- '#Access to an undefined property HelperList\:\:\$shopLinkType.#'
|
||||
- '#Access to protected property HelperForm\:\:\$fields_form.#'
|
||||
- '#Parameter \#1 \$id of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#1 \$idCategory of class Category constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Category constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$selection of static method CMSCore\:\:getLinks\(\) expects null, array<int, int> given.#'
|
||||
- '#Parameter \#2 \$value of static method CacheCore\:\:store\(\) expects string, array<int\|string, mixed> given.#'
|
||||
|
||||
@@ -1,2 +1,13 @@
|
||||
includes:
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
- '#Access to an undefined property HelperList\:\:\$shopLinkType.#'
|
||||
- '#Access to protected property HelperForm\:\:\$fields_form.#'
|
||||
- '#Parameter \#1 \$id of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#1 \$idCategory of class Category constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Category constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$selection of static method CMSCore\:\:getLinks\(\) expects null, array<int, int> given.#'
|
||||
- '#Parameter \#2 \$value of static method CacheCore\:\:store\(\) expects string, array<int\|string, mixed> given.#'
|
||||
@@ -1,2 +0,0 @@
|
||||
includes:
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
@@ -0,0 +1,10 @@
|
||||
includes:
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
- '#Access to an undefined property HelperList\:\:\$shopLinkType.#'
|
||||
- '#Access to protected property HelperForm\:\:\$fields_form.#'
|
||||
- '#Parameter \#1 \$id of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$selection of static method CMSCore\:\:getLinks\(\) expects null, array<int, int> given.#'
|
||||
@@ -1,2 +1,10 @@
|
||||
includes:
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
|
||||
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
- '#Access to an undefined property HelperList\:\:\$shopLinkType.#'
|
||||
- '#Access to protected property HelperForm\:\:\$fields_form.#'
|
||||
- '#Parameter \#1 \$id of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$idLang of class Supplier constructor expects null, int given.#'
|
||||
- '#Parameter \#2 \$selection of static method CMSCore\:\:getLinks\(\) expects null, array<int, int> given.#'
|
||||
|
||||
@@ -9,4 +9,5 @@ parameters:
|
||||
- ../../translations/
|
||||
- ../../views/
|
||||
reportUnmatchedIgnoredErrors: false
|
||||
level: 5
|
||||
level: 5
|
||||
|
||||
@@ -23,13 +23,12 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
|
||||
+8
-9
@@ -23,13 +23,12 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
|
||||
@@ -23,13 +23,12 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
|
||||
@@ -23,13 +23,12 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
|
||||
@@ -23,13 +23,12 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
|
||||
@@ -23,13 +23,12 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
|
||||
@@ -23,13 +23,12 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
|
||||
@@ -23,13 +23,12 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user