includes: - %currentWorkingDirectory%/tests/phpstan/phpstan.neon parameters: excludes_analyse: - ./../../classes/UpgradeTools/CoreUpgrader/CoreUpgrader80.php ignoreErrors: - '#Access to an undefined property Autoupgrade::\$bootstrap.#' - '#Access to an undefined property Module::\$installed.#' - '#Call to an undefined static method ConfigurationTest::test_memory_limit\(\).#' - '#Call to method boot\(\) on an unknown class AppKernel.#' - '#Call to method getContainer\(\) on an unknown class AppKernel.#' - '#Call to method getMessage\(\) on an unknown class PrestaShop\\PrestaShop\\Core\\Exception\\CoreException.#' - '#Call to method handle\(\) on an unknown class PrestaShop\\PrestaShop\\Core\\CommandBus\\CommandBusInterface.#' - '#Call to method loadClassCache\(\) on an unknown class AppKernel.#' - '#Caught class PrestaShop\\PrestaShop\\Core\\Exception\\CoreException not found.#' - '#Class AppKernel not found.#' - '#Instantiated class AppKernel not found.#' - '#Instantiated class PrestaShop\\PrestaShop\\Core\\Domain\\Theme\\ValueObject\\ThemeName not found.#' - '#PHPDoc tag @var for variable \$commandBus contains unknown class PrestaShop\\PrestaShop\\Core\\CommandBus\\CommandBusInterface.#' - '#Property ModuleCore::\$version \(float\) does not accept string.#' - '#Return typehint of method PrestaShop\\Module\\AutoUpgrade\\UpgradeTools\\ModuleAdapter::getCommandBus\(\) has invalid type PrestaShop\\PrestaShop\\Core\\CommandBus\\TacticianCommandBusAdapter.#' - '#Return typehint of method PrestaShop\\Module\\AutoUpgrade\\UpgradeTools\\SymfonyAdapter::initAppKernel\(\) has invalid type AppKernel.#'