first commit

This commit is contained in:
2024-11-05 12:22:50 +01:00
commit e5682a3912
19641 changed files with 2948548 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
includes:
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
parameters:
ignoreErrors:
- '#Access to an undefined property Cookie::\$id_employee.#'
- '#Call to private method add\(\) of parent class ObjectModel.#'
- '#Call to private method delete\(\) of parent class ObjectModel.#'
- '#Call to private method hydrate\(\) of parent class ObjectModel.#'
- '#Call to private method update\(\) of parent class ObjectModel.#'
- '#Call to private method save\(\) of parent class ObjectModel.#'
- '#Class Advice does not have a constructor and must be instantiated without any parameters.#'
- '#Class Badge does not have a constructor and must be instantiated without any parameters.#'
- '#Class Condition does not have a constructor and must be instantiated without any parameters.#'
- '#Constant _PS_CREATION_DATE_ not found.#'

View File

@@ -0,0 +1,15 @@
includes:
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
parameters:
ignoreErrors:
- '#Access to an undefined property Cookie::\$id_employee.#'
- '#Call to private method add\(\) of parent class ObjectModel.#'
- '#Call to private method delete\(\) of parent class ObjectModel.#'
- '#Call to private method hydrate\(\) of parent class ObjectModel.#'
- '#Call to private method update\(\) of parent class ObjectModel.#'
- '#Call to private method save\(\) of parent class ObjectModel.#'
- '#Class Advice does not have a constructor and must be instantiated without any parameters.#'
- '#Class Badge does not have a constructor and must be instantiated without any parameters.#'
- '#Class Condition does not have a constructor and must be instantiated without any parameters.#'
- '#Constant _PS_CREATION_DATE_ not found.#'

View File

@@ -0,0 +1,15 @@
includes:
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
parameters:
ignoreErrors:
- '#Access to an undefined property Cookie::\$id_employee.#'
- '#Call to private method add\(\) of parent class ObjectModel.#'
- '#Call to private method delete\(\) of parent class ObjectModel.#'
- '#Call to private method hydrate\(\) of parent class ObjectModel.#'
- '#Call to private method update\(\) of parent class ObjectModel.#'
- '#Call to private method save\(\) of parent class ObjectModel.#'
- '#Class Advice does not have a constructor and must be instantiated without any parameters.#'
- '#Class Badge does not have a constructor and must be instantiated without any parameters.#'
- '#Class Condition does not have a constructor and must be instantiated without any parameters.#'
- '#Constant _PS_CREATION_DATE_ not found.#'

View File

@@ -0,0 +1,15 @@
includes:
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
parameters:
ignoreErrors:
- '#Access to an undefined property Cookie::\$id_employee.#'
- '#Call to private method add\(\) of parent class ObjectModel.#'
- '#Call to private method delete\(\) of parent class ObjectModel.#'
- '#Call to private method hydrate\(\) of parent class ObjectModel.#'
- '#Call to private method update\(\) of parent class ObjectModel.#'
- '#Call to private method save\(\) of parent class ObjectModel.#'
- '#Class Advice does not have a constructor and must be instantiated without any parameters.#'
- '#Class Badge does not have a constructor and must be instantiated without any parameters.#'
- '#Class Condition does not have a constructor and must be instantiated without any parameters.#'
- '#Constant _PS_CREATION_DATE_ not found.#'

View File

@@ -0,0 +1,15 @@
includes:
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
parameters:
ignoreErrors:
- '#Access to an undefined property Cookie::\$id_employee.#'
- '#Call to private method add\(\) of parent class ObjectModel.#'
- '#Call to private method delete\(\) of parent class ObjectModel.#'
- '#Call to private method hydrate\(\) of parent class ObjectModel.#'
- '#Call to private method update\(\) of parent class ObjectModel.#'
- '#Call to private method save\(\) of parent class ObjectModel.#'
- '#Class Advice does not have a constructor and must be instantiated without any parameters.#'
- '#Class Badge does not have a constructor and must be instantiated without any parameters.#'
- '#Class Condition does not have a constructor and must be instantiated without any parameters.#'
- '#Constant _PS_CREATION_DATE_ not found.#'

View File

@@ -0,0 +1,15 @@
includes:
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
parameters:
ignoreErrors:
- '#Access to an undefined property Cookie::\$id_employee.#'
- '#Call to private method add\(\) of parent class ObjectModel.#'
- '#Call to private method delete\(\) of parent class ObjectModel.#'
- '#Call to private method hydrate\(\) of parent class ObjectModel.#'
- '#Call to private method update\(\) of parent class ObjectModel.#'
- '#Call to private method save\(\) of parent class ObjectModel.#'
- '#Class Advice does not have a constructor and must be instantiated without any parameters.#'
- '#Class Badge does not have a constructor and must be instantiated without any parameters.#'
- '#Class Condition does not have a constructor and must be instantiated without any parameters.#'
- '#Constant _PS_CREATION_DATE_ not found.#'

View File

@@ -0,0 +1,15 @@
includes:
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
parameters:
ignoreErrors:
- '#Access to an undefined property Cookie::\$id_employee.#'
- '#Call to private method add\(\) of parent class ObjectModel.#'
- '#Call to private method delete\(\) of parent class ObjectModel.#'
- '#Call to private method hydrate\(\) of parent class ObjectModel.#'
- '#Call to private method update\(\) of parent class ObjectModel.#'
- '#Call to private method save\(\) of parent class ObjectModel.#'
- '#Class Advice does not have a constructor and must be instantiated without any parameters.#'
- '#Class Badge does not have a constructor and must be instantiated without any parameters.#'
- '#Class Condition does not have a constructor and must be instantiated without any parameters.#'
- '#Constant _PS_CREATION_DATE_ not found.#'

View File

@@ -0,0 +1,15 @@
includes:
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon
parameters:
ignoreErrors:
- '#Access to an undefined property Cookie::\$id_employee.#'
- '#Call to private method add\(\) of parent class ObjectModel.#'
- '#Call to private method delete\(\) of parent class ObjectModel.#'
- '#Call to private method hydrate\(\) of parent class ObjectModel.#'
- '#Call to private method update\(\) of parent class ObjectModel.#'
- '#Call to private method save\(\) of parent class ObjectModel.#'
- '#Class Advice does not have a constructor and must be instantiated without any parameters.#'
- '#Class Badge does not have a constructor and must be instantiated without any parameters.#'
- '#Class Condition does not have a constructor and must be instantiated without any parameters.#'
- '#Constant _PS_CREATION_DATE_ not found.#'

View File

@@ -0,0 +1,16 @@
includes:
- %currentWorkingDirectory%/vendor/prestashop/php-dev-tools/phpstan/ps-module-extension.neon
parameters:
paths:
# From PHPStan 0.12, paths to check are relative to the neon file
- ../../gamification.php
- ../../sql_install.php
- ../../classes/
- ../../controllers/
- ../../data/
- ../../tests/
- ../../translations/
- ../../upgrade/
reportUnmatchedIgnoredErrors: false
level: 5