This commit is contained in:
Progi1984
2021-05-28 09:52:55 +02:00
parent 844ae6d5f5
commit a45ef5be57
29 changed files with 568 additions and 483 deletions
+8 -9
View File
@@ -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;
+13 -1
View File
@@ -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.#'
+13 -1
View File
@@ -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.#'
+13 -1
View File
@@ -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.#'
+13 -1
View File
@@ -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.#'
+12 -1
View File
@@ -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.#'
+12 -1
View File
@@ -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.#'
-2
View File
@@ -1,2 +0,0 @@
includes:
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
+10
View File
@@ -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.#'
+9 -1
View File
@@ -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.#'
+2 -1
View File
@@ -9,4 +9,5 @@ parameters:
- ../../translations/
- ../../views/
reportUnmatchedIgnoredErrors: false
level: 5
level: 5