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