first commit

This commit is contained in:
2024-10-28 22:14:22 +01:00
commit b65352c452
40581 changed files with 5712079 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
drwxr-xr-x 2 30094 users 5 Oct 6 10:16 .
drwxr-xr-x 4 30094 users 5 Oct 6 10:16 ..
-rw-r--r-- 1 30094 users 1083 Oct 14 2021 index.php
-rw-r--r-- 1 30094 users 2863 Oct 14 2021 phpstan-PS-1.6.neon
-rw-r--r-- 1 30094 users 3162 Oct 14 2021 phpstan-PS-1.7.neon

View File

@@ -0,0 +1,28 @@
<?php
/**
* 2007-2020 PrestaShop and Contributors
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA and Contributors
* @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: ../');
exit;

View File

@@ -0,0 +1,39 @@
includes:
- %currentWorkingDirectory%/vendor/prestashop/php-dev-tools/phpstan/ps-module-extension.neon
parameters:
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
paths:
- ../../src
- ../../controllers
- ../../ps_eventbus.php
dynamicConstantNames:
- _PS_VERSION_
ignoreErrors:
- '#Property TabCore::\$name \(string\) does not accept array.#'
- '#Parameter \#1 \$value of method ControllerCore::ajaxDie\(\) expects string\|null, string\|false given.#'
- '#Parameter \#4 \$ssl of method LinkCore::getModuleLink\(\) expects null, true given.#'
- '#Parameter \#6 \$idShop of method LinkCore::getModuleLink\(\) expects null, int given.#'
- '#Parameter \#1 \$json of function json_decode expects string, string\|false given.#'
- '#Parameter \#2 \$message of method PrestaShop\\Module\\PsEventbus\\WebHook\\Validator::getError\(\) expects string, string\|false given.#'
- '#Parameter \#1 \$hook_name of method ModuleCore::registerHook\(\) expects string, array given.#'
- '#Access to an undefined property AdminController\|FrontController::\$controller_name.#'
- '#Call to static method getAvailable\(\) on an unknown class Theme.#'
- '#Call to static method getByDirectory\(\) on an unknown class Theme.#'
- '#Call to static method getThemeInfo\(\) on an unknown class Theme.#'
- '#Access to an undefined property Context::\$theme.#'
- '#Access to an undefined property Shop::\$theme.#'
- '#Call to method buildRepository\(\) on an unknown class PrestaShop\\PrestaShop\\Core\\Addon\\Theme\\ThemeManagerBuilder.#'
- '#Instantiated class PrestaShop\\PrestaShop\\Core\\Addon\\Theme\\ThemeManagerBuilder not found.#'
- '#Property Ps_eventbus::\$serviceContainer has unknown class PrestaShop\\ModuleLibServiceContainer\\DependencyInjection\\ServiceContainer as its type.#'
- '#Instantiated class PrestaShop\\ModuleLibServiceContainer\\DependencyInjection\\ServiceContainer not found.#'
- '#Call to method getService\(\) on an unknown class PrestaShop\\ModuleLibServiceContainer\\DependencyInjection\\ServiceContainer.#'
- '#Parameter \#1 \$id of class Currency constructor expects null, string given.#'
- '#Static method ConfigurationCore::get\(\) invoked with 5 parameters, 1-4 required.#'
- '#Parameter \#1 \$id of class Currency constructor expects null, bool\|string given.#'
- '#Property PrestaShop\\Module\\PsEventbus\\Controller\\AbstractApiController::\$psAccountsService has unknown class PrestaShop\\AccountsAuth\\Service\\PsAccountsService as its type.#'
- '#Call to method getOrRefreshToken\(\) on an unknown class PrestaShop\\AccountsAuth\\Service\\PsAccountsService.#'
- '#Property PrestaShop\\Module\\PsEventbus\\Repository\\ServerInformationRepository::\$psAccountsService has unknown class PrestaShop\\AccountsAuth\\Service\\PsAccountsService as its type.#'
level: 5

View File

@@ -0,0 +1,44 @@
includes:
- %currentWorkingDirectory%/vendor/prestashop/php-dev-tools/phpstan/ps-module-extension.neon
parameters:
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
paths:
- ../../src
- ../../controllers
- ../../ps_eventbus.php
dynamicConstantNames:
- _PS_VERSION_
ignoreErrors:
- '#Property TabCore::\$name \(string\) does not accept array.#'
- '#Parameter \#1 \$value of method ControllerCore::ajaxDie\(\) expects string\|null, string\|false given.#'
- '#Parameter \#4 \$ssl of method LinkCore::getModuleLink\(\) expects null, true given.#'
- '#Parameter \#6 \$idShop of method LinkCore::getModuleLink\(\) expects null, int given.#'
- '#Parameter \#1 \$json of function json_decode expects string, string\|false given.#'
- '#Parameter \#2 \$message of method PrestaShop\\Module\\PsEventbus\\WebHook\\Validator::getError\(\) expects string, string\|false given.#'
- '#Parameter \#1 \$hook_name of method ModuleCore::registerHook\(\) expects string, array given.#'
- '#Access to an undefined property AdminController\|FrontController::\$controller_name.#'
- '#Call to static method getAvailable\(\) on an unknown class Theme.#'
- '#Call to static method getByDirectory\(\) on an unknown class Theme.#'
- '#Call to static method getThemeInfo\(\) on an unknown class Theme.#'
- '#Access to an undefined property Context::\$theme.#'
- '#Access to an undefined property Shop::\$theme.#'
- '#Call to method buildRepository\(\) on an unknown class PrestaShop\\PrestaShop\\Core\\Addon\\Theme\\ThemeManagerBuilder.#'
- '#Instantiated class PrestaShop\\PrestaShop\\Core\\Addon\\Theme\\ThemeManagerBuilder not found.#'
- '#Class Theme not found.#'
- '#Access to property \$id on an unknown class Theme.#'
- '#Instantiated class PrestaShop\\ModuleLibServiceContainer\\DependencyInjection\\ServiceContainer not found.#'
- '#Call to method getService\(\) on an unknown class PrestaShop\\ModuleLibServiceContainer\\DependencyInjection\\ServiceContainer.#'
- '#Cannot access property \$id on Module\|false.#'
- '#Class Theme not found.#'
- '#Parameter \#1 \$id of class Currency constructor expects null, string given.#'
- '#Parameter \#1 \$id of class Language constructor expects int\|null, string given.#'
- '#Parameter \#1 \$id of class Currency constructor expects int\|null, string given.#'
- '#Parameter \#1 \$id of class Currency constructor expects null, bool\|string given.#'
- '#Parameter \#1 \$id of class Language constructor expects int\|null, bool\|string given.#'
- '#Parameter \#1 \$id of class Currency constructor expects int\|null, bool\|string given.#'
- '#Property PrestaShop\\Module\\PsEventbus\\Controller\\AbstractApiController::\$psAccountsService has unknown class PrestaShop\\AccountsAuth\\Service\\PsAccountsService as its type.#'
- '#Call to method getOrRefreshToken\(\) on an unknown class PrestaShop\\AccountsAuth\\Service\\PsAccountsService.#'
- '#Property PrestaShop\\Module\\PsEventbus\\Repository\\ServerInformationRepository::\$psAccountsService has unknown class PrestaShop\\AccountsAuth\\Service\\PsAccountsService as its type.#'
level: 5