includes: - phpstan-baseline.neon parameters: fileExtensions: - php reportUnmatchedIgnoredErrors: false inferPrivatePropertyTypeFromConstructor: true checkMissingIterableValueType: false checkGenericClassInNonGenericObjectType: false treatPhpDocTypesAsCertain: false excludePaths: - *.tpl.php - */tests/* - */Modules/Media/Files/* - */omsSetup/* - */demoSetup/* - */d0cbb361b14ac3ef32486f0a09ab937d/* - */test/* - */Tools/* - *Test.php - *Routes.php - *Hooks.php - *ObjLoader.js - */vendor/* - *vendor* - */Demo/* - */Build/* - */Cache/* - */Docs/* - */Documentation/* - */Resources/* - */Libraries/* - */Routes/* - */Hooks/* - */DataStorage/Database/* - */Message/Mail/* - */Auth/OAuth2/* - */Markdown/Markdown.php - */Socket/* - */node_modules/* - */Modules/Shop/Admin/Install/Application/* - */Install/Application* - */Web/* - */Modules/**/Application/* - */Modules/Organization/Controller/BackendController.php - *Model/CoreSettings.php ignoreErrors: - '#[.]*tag @var for constant .* is not subtype of value array[.]*#' - '#[.]*Offset .* on array.* always exists[.]*#' - '#[.]*separator of function explode expects non-empty-string[.]*#' - '#[.]*PhpOffice\\PhpSpreadsheet\\[.]*#' - '#^Call to an undefined method phpOMS\\Module\\ModuleAbstract::[.]*#' - '#^Strict comparison using === between[.]*#' - '#[.]*jsonSerialize\(\) has no return typehint specified#' - '#expects phpOMS\\Algorithm\\PathFinding\\JumpPointNode\|null, phpOMS\\Algorithm\\PathFinding\\Node\|null given#' - '#should return array but returns array