diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 6a76594..3ee856b 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,41 +1,377 @@ parameters: ignoreErrors: + - + message: '#^Method BulkJoomlaTemplate\:\:findTemplateRepos\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_joomla_template.php + - message: '#^Comparison operation "\>" between 30 and 0 is always true\.$#' identifier: greater.alwaysTrue count: 1 path: automation/bulk_sync.php + - + message: '#^Method BulkSync\:\:createFailureIssue\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + + - + message: '#^Method BulkSync\:\:createSyncIssue\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + + - + message: '#^Method BulkSync\:\:displayResults\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + + - + message: '#^Method BulkSync\:\:executeSynchronization\(\) has parameter \$alreadyProcessed with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + + - + message: '#^Method BulkSync\:\:executeSynchronization\(\) has parameter \$repositories with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + + - + message: '#^Method BulkSync\:\:executeSynchronization\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + + - + message: '#^Method BulkSync\:\:filterRepositories\(\) has parameter \$exclude with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + + - + message: '#^Method BulkSync\:\:filterRepositories\(\) has parameter \$include with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + + - + message: '#^Method BulkSync\:\:filterRepositories\(\) has parameter \$repositories with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + + - + message: '#^Method BulkSync\:\:filterRepositories\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + + - + message: '#^Method BulkSync\:\:parseRepositoryList\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + - message: '#^Method BulkSync\:\:prioritizeRepositories\(\) is unused\.$#' identifier: method.unused count: 1 path: automation/bulk_sync.php + - + message: '#^Method BulkSync\:\:refsContain\(\) has parameter \$refs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + + - + message: '#^Method BulkSync\:\:saveInterruptCheckpoint\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + + - + message: '#^Method BulkSync\:\:writeStepSummary\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/bulk_sync.php + + - + message: '#^Function enrichManifestXml\(\) has parameter \$enrichment with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/enrich_mokostandards_xml.php + + - + message: '#^Function fetchRepos\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/enrich_mokostandards_xml.php + + - + message: '#^Function gitCmd\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/enrich_mokostandards_xml.php + + - + message: '#^Function inspectRepo\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/enrich_mokostandards_xml.php + + - + message: '#^Function safeExec\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/enrich_mokostandards_xml.php + + - + message: '#^Method PushFiles\:\:createFailureIssue\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/push_files.php + + - + message: '#^Method PushFiles\:\:parseList\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/push_files.php + + - + message: '#^Function detectPlatform\(\) has parameter \$repo with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/push_mokostandards_xml.php + + - + message: '#^Function fetchRepos\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/push_mokostandards_xml.php + + - + message: '#^Method RepoCleanup\:\:checkLabels\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/repo_cleanup.php + + - + message: '#^Method RepoCleanup\:\:checkVersionDrift\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/repo_cleanup.php + + - + message: '#^Method RepoCleanup\:\:cleanBranches\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/repo_cleanup.php + + - + message: '#^Method RepoCleanup\:\:cleanOldLogs\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/repo_cleanup.php + + - + message: '#^Method RepoCleanup\:\:cleanWorkflowRuns\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/repo_cleanup.php + + - + message: '#^Method RepoCleanup\:\:closeResolvedIssues\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/repo_cleanup.php + + - + message: '#^Method RepoCleanup\:\:deleteRetiredWorkflows\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/repo_cleanup.php + + - + message: '#^Method RepoCleanup\:\:fetchRepositories\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/repo_cleanup.php + + - + message: '#^Method RepoCleanup\:\:lockOldIssues\(\) has parameter \$results with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: automation/repo_cleanup.php + - message: '#^Right side of \|\| is always false\.$#' identifier: booleanOr.rightAlwaysFalse count: 1 path: automation/repo_cleanup.php + - + message: '#^Method BulkWorkflowPush\:\:apiRequest\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/bulk_workflow_push.php + + - + message: '#^Method BulkWorkflowPush\:\:fetchOrgRepos\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/bulk_workflow_push.php + + - + message: '#^Method BulkWorkflowTrigger\:\:apiRequest\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/bulk_workflow_trigger.php + + - + message: '#^Method BulkWorkflowTrigger\:\:buildRepoList\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/bulk_workflow_trigger.php + - message: '#^Method ClientDashboard\:\:discoverClients\(\) never returns null so it can be removed from the return type\.$#' identifier: return.unusedType count: 1 path: cli/client_dashboard.php + - + message: '#^Method ClientInventory\:\:apiRequest\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/client_inventory.php + + - + message: '#^Method ClientInventory\:\:checkVariables\(\) has parameter \$requiredVars with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/client_inventory.php + + - + message: '#^Method ClientInventory\:\:fetchOrgRepos\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/client_inventory.php + + - + message: '#^Method ClientInventory\:\:fetchOrgs\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/client_inventory.php + + - + message: '#^Method ClientProvision\:\:giteaApi\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/client_provision.php + + - + message: '#^Method ClientProvision\:\:grafanaApi\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/client_provision.php + + - + message: '#^Method ClientProvision\:\:httpRequest\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/client_provision.php + - message: '#^Negated boolean expression is always false\.$#' identifier: booleanNot.alwaysFalse count: 1 path: cli/client_provision.php + - + message: '#^Function createProject\(\) has parameter \$template with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/create_project.php + + - + message: '#^Function graphql\(\) has parameter \$variables with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/create_project.php + + - + message: '#^Function parseTemplate\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 2 + path: cli/create_project.php + + - + message: '#^Method GrafanaDashboard\:\:apiRequest\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/grafana_dashboard.php + + - + message: '#^Function parseManifest\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/joomla_build.php + + - + message: '#^Function typePrefix\(\) has parameter \$meta with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/joomla_build.php + - message: '#^Offset 1 on array\{list\, list\\} on left side of \?\? always exists and is not nullable\.$#' identifier: nullCoalesce.offset count: 1 path: cli/joomla_compat_check.php + - + message: '#^Method JoomlaRelease\:\:buildUpdateEntry\(\) has parameter \$meta with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/joomla_release.php + + - + message: '#^Method JoomlaRelease\:\:parseManifest\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/joomla_release.php + + - + message: '#^Method JoomlaRelease\:\:typePrefix\(\) has parameter \$meta with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/joomla_release.php + + - + message: '#^Function addDirectoryToZip\(\) has parameter \$excludes with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/package_build.php + + - + message: '#^Function getReleaseByTag\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/release_manage.php + + - + message: '#^Function releaseGiteaApi\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/release_manage.php + - message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#' identifier: greater.alwaysFalse @@ -60,12 +396,24 @@ parameters: count: 1 path: cli/release_verify.php + - + message: '#^Method ScaffoldClient\:\:apiRequest\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/scaffold_client.php + - message: '#^Call to function is_array\(\) with array\ will always evaluate to true\.$#' identifier: function.alreadyNarrowedType count: 1 path: cli/sync_rulesets.php + - + message: '#^Function findFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/theme_lint.php + - message: '#^Offset ''alpha''\|''beta''\|''development''\|''rc''\|''stable'' on array\{stable\: '''', rc\: ''\-rc'', beta\: ''\-beta'', alpha\: ''\-alpha'', development\: ''\-dev''\} on left side of \?\? always exists and is not nullable\.$#' identifier: nullCoalesce.offset @@ -78,30 +426,636 @@ parameters: count: 1 path: cli/updates_xml_build.php + - + message: '#^Function apiCall\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/updates_xml_sync.php + + - + message: '#^Function apiCall\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/updates_xml_sync.php + + - + message: '#^Function giteaApi\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: cli/version_bump_remote.php + + - + message: '#^Method CliBase\:\:exec\(\) has parameter \$output with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/CliBase.php + + - + message: '#^Property CliBase\:\:\$args type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/CliBase.php + + - + message: '#^Property CliBase\:\:\$options type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/CliBase.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:__construct\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:checkReadiness\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:checkReadiness\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:collectMetrics\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:findFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:getBestPractices\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:getCommands\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:getConfigSchema\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:getRecommendedFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:getRequiredFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:healthCheck\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:healthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:initializeProject\(\) has parameter \$options with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:initializeProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:log\(\) has parameter \$context with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:parseJsonFile\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:recordMetric\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:validateProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Method MokoEnterprise\\AbstractProjectPlugin\:\:validateProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + + - + message: '#^Property MokoEnterprise\\AbstractProjectPlugin\:\:\$config type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AbstractProjectPlugin.php + - message: '#^Constructor of class MokoEnterprise\\ApiClient has an unused parameter \$logger\.$#' identifier: constructor.unusedParameter count: 1 path: lib/Enterprise/ApiClient.php + - + message: '#^Method MokoEnterprise\\ApiClient\:\:delete\(\) has parameter \$body with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ApiClient.php + + - + message: '#^Method MokoEnterprise\\AuditLogger\:\:logError\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Method MokoEnterprise\\AuditLogger\:\:logEvent\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Method MokoEnterprise\\AuditLogger\:\:logInfo\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Method MokoEnterprise\\AuditLogger\:\:logMessage\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Method MokoEnterprise\\AuditLogger\:\:logSecurityEvent\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Method MokoEnterprise\\AuditLogger\:\:logSystemEvent\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Method MokoEnterprise\\AuditLogger\:\:logWarning\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Method MokoEnterprise\\AuditLogger\:\:startTransaction\(\) has parameter \$context with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Method MokoEnterprise\\AuditLogger\:\:writeLogEntry\(\) has parameter \$entry with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Method MokoEnterprise\\AuditTransaction\:\:__construct\(\) has parameter \$context with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Method MokoEnterprise\\AuditTransaction\:\:end\(\) has parameter \$result with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Method MokoEnterprise\\AuditTransaction\:\:logEvent\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Method MokoEnterprise\\AuditTransaction\:\:logSecurityEvent\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + - message: '#^Property MokoEnterprise\\AuditLogger\:\:\$retentionDays is never read, only written\.$#' identifier: property.onlyWritten count: 1 path: lib/Enterprise/AuditLogger.php + - + message: '#^Property MokoEnterprise\\AuditLogger\:\:\$transactionStack type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Property MokoEnterprise\\AuditTransaction\:\:\$context type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/AuditLogger.php + + - + message: '#^Property MokoEnterprise\\CLIApp\:\:\$arguments type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/CliFramework.php + + - + message: '#^Property MokoEnterprise\\CLIApp\:\:\$options type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/CliFramework.php + + - + message: '#^Method MokoEnterprise\\EnterpriseReadinessValidator\:\:getFailedChecks\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/EnterpriseReadinessValidator.php + + - + message: '#^Method MokoEnterprise\\EnterpriseReadinessValidator\:\:getPassedChecks\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/EnterpriseReadinessValidator.php + + - + message: '#^Method MokoEnterprise\\EnterpriseReadinessValidator\:\:getResults\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/EnterpriseReadinessValidator.php + + - + message: '#^Method MokoEnterprise\\EnterpriseReadinessValidator\:\:validate\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/EnterpriseReadinessValidator.php + + - + message: '#^Property MokoEnterprise\\EnterpriseReadinessValidator\:\:\$results type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/EnterpriseReadinessValidator.php + - message: '#^Expression on left side of \?\? is not nullable\.$#' identifier: nullCoalesce.expr count: 1 path: lib/Enterprise/GitHubAdapter.php + - + message: '#^Method MokoEnterprise\\MetricsTimer\:\:__construct\(\) has parameter \$labels with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MetricsCollector.php + + - + message: '#^Property MokoEnterprise\\MetricsCollector\:\:\$counters type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MetricsCollector.php + + - + message: '#^Property MokoEnterprise\\MetricsCollector\:\:\$gauges type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MetricsCollector.php + + - + message: '#^Property MokoEnterprise\\MetricsCollector\:\:\$histograms type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MetricsCollector.php + + - + message: '#^Property MokoEnterprise\\MetricsTimer\:\:\$labels type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MetricsCollector.php + - message: '#^Call to function is_int\(\) with string will always evaluate to false\.$#' identifier: function.impossibleType count: 1 path: lib/Enterprise/MokoGiteaAdapter.php + - + message: '#^Method MokoEnterprise\\MokoStandardsParser\:\:generate\(\) has parameter \$params with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MokoStandardsParser.php + + - + message: '#^Method MokoEnterprise\\MokoStandardsParser\:\:parse\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 4 + path: lib/Enterprise/MokoStandardsParser.php + + - + message: '#^Method MokoEnterprise\\MokoStandardsParser\:\:parseBuild\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MokoStandardsParser.php + + - + message: '#^Method MokoEnterprise\\MokoStandardsParser\:\:parseDeploy\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MokoStandardsParser.php + + - + message: '#^Method MokoEnterprise\\MokoStandardsParser\:\:parseGovernance\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MokoStandardsParser.php + + - + message: '#^Method MokoEnterprise\\MokoStandardsParser\:\:parseIdentity\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MokoStandardsParser.php + + - + message: '#^Method MokoEnterprise\\MokoStandardsParser\:\:parseLegacy\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MokoStandardsParser.php + + - + message: '#^Method MokoEnterprise\\MokoStandardsParser\:\:parseOverrides\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MokoStandardsParser.php + + - + message: '#^Method MokoEnterprise\\MokoStandardsParser\:\:parseScripts\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MokoStandardsParser.php + + - + message: '#^Method MokoEnterprise\\MokoStandardsParser\:\:tryParse\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/MokoStandardsParser.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:__construct\(\) has parameter \$defaultConfig with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:checkReadiness\(\) has parameter \$projectConfig with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:checkReadiness\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:collectMetrics\(\) has parameter \$projectConfig with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:create\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:createAll\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:createAndValidate\(\) has parameter \$projectConfig with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:createAndValidate\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:createForProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:createMultiple\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:createMultiple\(\) has parameter \$projectTypes with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:getAvailablePlugins\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:getDefaultConfig\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:getStatistics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:runHealthCheck\(\) has parameter \$projectConfig with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:runHealthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginFactory\:\:setDefaultConfig\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Property MokoEnterprise\\PluginFactory\:\:\$defaultConfig type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginFactory.php + + - + message: '#^Method MokoEnterprise\\PluginRegistry\:\:findPluginsByFeature\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginRegistry.php + + - + message: '#^Method MokoEnterprise\\PluginRegistry\:\:getAllPlugins\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginRegistry.php + + - + message: '#^Method MokoEnterprise\\PluginRegistry\:\:getAllPluginsInfo\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginRegistry.php + + - + message: '#^Method MokoEnterprise\\PluginRegistry\:\:getPlugin\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginRegistry.php + + - + message: '#^Method MokoEnterprise\\PluginRegistry\:\:getPluginInfo\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginRegistry.php + + - + message: '#^Method MokoEnterprise\\PluginRegistry\:\:getRegisteredTypes\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginRegistry.php + + - + message: '#^Method MokoEnterprise\\PluginRegistry\:\:getStatistics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/PluginRegistry.php + + - + message: '#^Method MokoEnterprise\\Plugins\\ApiPlugin\:\:collectMetrics\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/ApiPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\ApiPlugin\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/ApiPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\ApiPlugin\:\:getBestPractices\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/ApiPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\ApiPlugin\:\:getConfigSchema\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/ApiPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\ApiPlugin\:\:getRecommendedFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/ApiPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\ApiPlugin\:\:getRequiredFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/ApiPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\ApiPlugin\:\:healthCheck\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/ApiPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\ApiPlugin\:\:healthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/ApiPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\ApiPlugin\:\:validateProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/ApiPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\ApiPlugin\:\:validateProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/ApiPlugin.php + - message: '#^Offset ''go''\|''java''\|''js''\|''php''\|''py''\|''ts'' on array\{js\: ''JavaScript'', ts\: ''TypeScript'', py\: ''Python'', java\: ''Java'', go\: ''Go'', php\: ''PHP''\} on left side of \?\? always exists and is not nullable\.$#' identifier: nullCoalesce.offset @@ -114,12 +1068,396 @@ parameters: count: 1 path: lib/Enterprise/Plugins/ApiPlugin.php + - + message: '#^Method MokoEnterprise\\Plugins\\DocumentationPlugin\:\:collectMetrics\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DocumentationPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DocumentationPlugin\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DocumentationPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DocumentationPlugin\:\:getBestPractices\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DocumentationPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DocumentationPlugin\:\:getConfigSchema\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DocumentationPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DocumentationPlugin\:\:getRecommendedFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DocumentationPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DocumentationPlugin\:\:getRequiredFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DocumentationPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DocumentationPlugin\:\:healthCheck\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DocumentationPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DocumentationPlugin\:\:healthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DocumentationPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DocumentationPlugin\:\:validateProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DocumentationPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DocumentationPlugin\:\:validateProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DocumentationPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DolibarrPlugin\:\:collectMetrics\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DolibarrPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DolibarrPlugin\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DolibarrPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DolibarrPlugin\:\:getBestPractices\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DolibarrPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DolibarrPlugin\:\:getConfigSchema\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DolibarrPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DolibarrPlugin\:\:getRecommendedFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DolibarrPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DolibarrPlugin\:\:getRequiredFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DolibarrPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DolibarrPlugin\:\:healthCheck\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DolibarrPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DolibarrPlugin\:\:healthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DolibarrPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DolibarrPlugin\:\:parseDescriptor\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DolibarrPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DolibarrPlugin\:\:validateProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DolibarrPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\DolibarrPlugin\:\:validateProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/DolibarrPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\GenericPlugin\:\:collectMetrics\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/GenericPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\GenericPlugin\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/GenericPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\GenericPlugin\:\:countByExtension\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/GenericPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\GenericPlugin\:\:getBestPractices\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/GenericPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\GenericPlugin\:\:getConfigSchema\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/GenericPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\GenericPlugin\:\:getDominantFileType\(\) has parameter \$extensions with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/GenericPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\GenericPlugin\:\:getRecommendedFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/GenericPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\GenericPlugin\:\:getRequiredFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/GenericPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\GenericPlugin\:\:healthCheck\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/GenericPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\GenericPlugin\:\:healthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/GenericPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\GenericPlugin\:\:validateProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/GenericPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\GenericPlugin\:\:validateProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/GenericPlugin.php + - message: '#^Right side of \|\| is always false\.$#' identifier: booleanOr.rightAlwaysFalse count: 2 path: lib/Enterprise/Plugins/GenericPlugin.php + - + message: '#^Method MokoEnterprise\\Plugins\\JoomlaPlugin\:\:collectMetrics\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/JoomlaPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\JoomlaPlugin\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/JoomlaPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\JoomlaPlugin\:\:getBestPractices\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/JoomlaPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\JoomlaPlugin\:\:getConfigSchema\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/JoomlaPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\JoomlaPlugin\:\:getRecommendedFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/JoomlaPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\JoomlaPlugin\:\:getRequiredFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/JoomlaPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\JoomlaPlugin\:\:healthCheck\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/JoomlaPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\JoomlaPlugin\:\:healthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/JoomlaPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\JoomlaPlugin\:\:parseManifest\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/JoomlaPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\JoomlaPlugin\:\:validateProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/JoomlaPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\JoomlaPlugin\:\:validateProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/JoomlaPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\McpServerPlugin\:\:collectMetrics\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/McpServerPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\McpServerPlugin\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/McpServerPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\McpServerPlugin\:\:getBestPractices\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/McpServerPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\McpServerPlugin\:\:getConfigSchema\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/McpServerPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\McpServerPlugin\:\:getRecommendedFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/McpServerPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\McpServerPlugin\:\:getRequiredFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/McpServerPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\McpServerPlugin\:\:healthCheck\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/McpServerPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\McpServerPlugin\:\:healthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/McpServerPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\McpServerPlugin\:\:validateProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/McpServerPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\McpServerPlugin\:\:validateProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/McpServerPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\MobilePlugin\:\:collectMetrics\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/MobilePlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\MobilePlugin\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/MobilePlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\MobilePlugin\:\:getBestPractices\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/MobilePlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\MobilePlugin\:\:getConfigSchema\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/MobilePlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\MobilePlugin\:\:getRecommendedFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/MobilePlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\MobilePlugin\:\:getRequiredFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/MobilePlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\MobilePlugin\:\:healthCheck\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/MobilePlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\MobilePlugin\:\:healthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/MobilePlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\MobilePlugin\:\:validateProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/MobilePlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\MobilePlugin\:\:validateProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/MobilePlugin.php + - message: '#^Right side of \|\| is always false\.$#' identifier: booleanOr.rightAlwaysFalse @@ -127,8 +1465,98 @@ parameters: path: lib/Enterprise/Plugins/MobilePlugin.php - - message: '#^Right side of \|\| is always false\.$#' - identifier: booleanOr.rightAlwaysFalse + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:collectMetrics\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:countDependencies\(\) has parameter \$packageData with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:countScripts\(\) has parameter \$packageData with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:detectFramework\(\) has parameter \$packageData with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:getBestPractices\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:getConfigSchema\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:getNodeVersion\(\) has parameter \$packageData with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:getRecommendedFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:getRequiredFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:hasOldDependencies\(\) has parameter \$packageData with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:hasTests\(\) has parameter \$packageData with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:healthCheck\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:healthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:validateProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\NodeJsPlugin\:\:validateProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue count: 1 path: lib/Enterprise/Plugins/NodeJsPlugin.php @@ -136,8 +1564,260 @@ parameters: message: '#^Right side of \|\| is always false\.$#' identifier: booleanOr.rightAlwaysFalse count: 1 + path: lib/Enterprise/Plugins/NodeJsPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\PythonPlugin\:\:collectMetrics\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 path: lib/Enterprise/Plugins/PythonPlugin.php + - + message: '#^Method MokoEnterprise\\Plugins\\PythonPlugin\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/PythonPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\PythonPlugin\:\:getBestPractices\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/PythonPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\PythonPlugin\:\:getConfigSchema\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/PythonPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\PythonPlugin\:\:getRecommendedFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/PythonPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\PythonPlugin\:\:getRequiredFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/PythonPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\PythonPlugin\:\:healthCheck\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/PythonPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\PythonPlugin\:\:healthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/PythonPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\PythonPlugin\:\:parsePyprojectToml\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/PythonPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\PythonPlugin\:\:validateProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/PythonPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\PythonPlugin\:\:validateProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/PythonPlugin.php + + - + message: '#^Right side of \|\| is always false\.$#' + identifier: booleanOr.rightAlwaysFalse + count: 1 + path: lib/Enterprise/Plugins/PythonPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\TerraformPlugin\:\:collectMetrics\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/TerraformPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\TerraformPlugin\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/TerraformPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\TerraformPlugin\:\:detectProviders\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/TerraformPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\TerraformPlugin\:\:getBestPractices\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/TerraformPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\TerraformPlugin\:\:getConfigSchema\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/TerraformPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\TerraformPlugin\:\:getRecommendedFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/TerraformPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\TerraformPlugin\:\:getRequiredFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/TerraformPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\TerraformPlugin\:\:healthCheck\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/TerraformPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\TerraformPlugin\:\:healthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/TerraformPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\TerraformPlugin\:\:validateProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/TerraformPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\TerraformPlugin\:\:validateProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/TerraformPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\WordPressPlugin\:\:collectMetrics\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/WordPressPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\WordPressPlugin\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/WordPressPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\WordPressPlugin\:\:getBestPractices\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/WordPressPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\WordPressPlugin\:\:getConfigSchema\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/WordPressPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\WordPressPlugin\:\:getRecommendedFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/WordPressPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\WordPressPlugin\:\:getRequiredFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/WordPressPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\WordPressPlugin\:\:healthCheck\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/WordPressPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\WordPressPlugin\:\:healthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/WordPressPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\WordPressPlugin\:\:parseHeader\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/WordPressPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\WordPressPlugin\:\:validateProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/WordPressPlugin.php + + - + message: '#^Method MokoEnterprise\\Plugins\\WordPressPlugin\:\:validateProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/Plugins/WordPressPlugin.php + + - + message: '#^Method MokoEnterprise\\ProjectConfigValidator\:\:getResults\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectConfigValidator.php + + - + message: '#^Method MokoEnterprise\\ProjectConfigValidator\:\:validate\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectConfigValidator.php + + - + message: '#^Method MokoEnterprise\\ProjectConfigValidator\:\:validateNodeJSFields\(\) has parameter \$fields with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectConfigValidator.php + + - + message: '#^Method MokoEnterprise\\ProjectConfigValidator\:\:validateProjectFields\(\) has parameter \$fields with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectConfigValidator.php + + - + message: '#^Method MokoEnterprise\\ProjectConfigValidator\:\:validatePythonFields\(\) has parameter \$fields with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectConfigValidator.php + + - + message: '#^Method MokoEnterprise\\ProjectConfigValidator\:\:validateRecommendedFiles\(\) has parameter \$files with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectConfigValidator.php + + - + message: '#^Method MokoEnterprise\\ProjectConfigValidator\:\:validateRequiredFiles\(\) has parameter \$files with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectConfigValidator.php + + - + message: '#^Method MokoEnterprise\\ProjectConfigValidator\:\:validateWordPressFields\(\) has parameter \$fields with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectConfigValidator.php + - message: '#^Offset ''recommended_files'' on array\{required_files\: array\{''\*\.php''\}, recommended_files\: array\{''README\.md'', ''readme\.txt''\}, required_fields\: array\{''Plugin Name\|Theme…'', ''Version''\}\}\|array\{required_files\: array\{''\*\.tf''\}, recommended_files\: array\{''README\.md'', ''variables\.tf'', ''outputs\.tf''\}, required_fields\: array\{\}\}\|array\{required_files\: array\{''package\.json''\}\|array\{''package\.json…''\}, recommended_files\: array\{0\: ''README\.md'', 1\: ''\.gitignore'', 2\?\: ''tsconfig\.json''\}, required_fields\: array\{0\: ''name'', 1\: ''version'', 2\?\: ''description''\}\}\|array\{required_files\: array\{''setup\.py\|pyproject…''\}, recommended_files\: array\{''README\.md'', ''requirements\.txt'', ''\.gitignore''\}, required_fields\: array\{''name'', ''version''\}\}\|array\{required_files\: array\{\}, recommended_files\: array\{''README\.md'', ''openapi\.yaml…'', ''Dockerfile''\}, required_fields\: array\{\}\} on left side of \?\? always exists and is not nullable\.$#' identifier: nullCoalesce.offset @@ -156,24 +1836,288 @@ parameters: count: 1 path: lib/Enterprise/ProjectConfigValidator.php + - + message: '#^Property MokoEnterprise\\ProjectConfigValidator\:\:\$validationResults type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectConfigValidator.php + + - + message: '#^Method MokoEnterprise\\ProjectMetricsCollector\:\:collect\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectMetricsCollector.php + + - + message: '#^Method MokoEnterprise\\ProjectMetricsCollector\:\:getMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectMetricsCollector.php + + - + message: '#^Property MokoEnterprise\\ProjectMetricsCollector\:\:\$collectedMetrics type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectMetricsCollector.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:checkReadiness\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:checkReadiness\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:collectMetrics\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:collectMetrics\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:getBestPractices\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:getCommands\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:getConfigSchema\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:getRecommendedFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:getRequiredFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:healthCheck\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:healthCheck\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:initializeProject\(\) has parameter \$options with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:initializeProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:validateProject\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectPluginInterface\:\:validateProject\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectPluginInterface.php + + - + message: '#^Method MokoEnterprise\\ProjectTypeDetector\:\:detect\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectTypeDetector.php + + - + message: '#^Method MokoEnterprise\\ProjectTypeDetector\:\:fileExists\(\) has parameter \$contains with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectTypeDetector.php + + - + message: '#^Method MokoEnterprise\\ProjectTypeDetector\:\:getAllScores\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectTypeDetector.php + + - + message: '#^Property MokoEnterprise\\ProjectTypeDetector\:\:\$detectionResults type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/ProjectTypeDetector.php + - message: '#^Constructor of class MokoEnterprise\\RepositoryHealthChecker has an unused parameter \$validator\.$#' identifier: constructor.unusedParameter count: 1 path: lib/Enterprise/RepositoryHealthChecker.php + - + message: '#^Method MokoEnterprise\\RepositoryHealthChecker\:\:check\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositoryHealthChecker.php + + - + message: '#^Method MokoEnterprise\\RepositoryHealthChecker\:\:getFailedChecks\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositoryHealthChecker.php + + - + message: '#^Method MokoEnterprise\\RepositoryHealthChecker\:\:getPassedChecks\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositoryHealthChecker.php + + - + message: '#^Property MokoEnterprise\\RepositoryHealthChecker\:\:\$results type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositoryHealthChecker.php + - message: '#^Call to function is_array\(\) with non\-empty\-array\ will always evaluate to true\.$#' identifier: function.alreadyNarrowedType count: 1 path: lib/Enterprise/RepositorySynchronizer.php + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:createSyncPR\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:detectPlatform\(\) has parameter \$repoInfo with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:detectPlatformByHeuristics\(\) has parameter \$repoInfo with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:ensureComposerEnterprise\(\) has parameter \$summary with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + - message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:fetchModuleId\(\) is unused\.$#' identifier: method.unused count: 1 path: lib/Enterprise/RepositorySynchronizer.php + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:generateMokoStandardsXml\(\) has parameter \$repoInfo with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:generatePRBody\(\) has parameter \$summary with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:generateRepositoryDefinition\(\) has parameter \$repoInfo with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:generateRepositoryDefinition\(\) has parameter \$summary with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:getRepositories\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:getSharedWorkflows\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:migrateMokoStandards\(\) has parameter \$repoInfo with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:migrateMokoStandards\(\) has parameter \$summary with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:processTemplateContent\(\) has parameter \$repoInfo with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:syncFilesToBranch\(\) has parameter \$filesToSync with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:syncFilesToBranch\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:synchronize\(\) has parameter \$options with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + + - + message: '#^Method MokoEnterprise\\RepositorySynchronizer\:\:synchronize\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/RepositorySynchronizer.php + - message: '#^Offset ''summary'' on array\{number\: int\|null, summary\: array\} on left side of \?\? always exists and is not nullable\.$#' identifier: nullCoalesce.offset @@ -192,24 +2136,132 @@ parameters: count: 1 path: lib/Enterprise/RepositorySynchronizer.php + - + message: '#^Property MokoEnterprise\\SecurityValidator\:\:\$findings type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/SecurityValidator.php + + - + message: '#^Property MokoEnterprise\\TransactionStep\:\:\$executeFunc has no type specified\.$#' + identifier: missingType.property + count: 1 + path: lib/Enterprise/TransactionManager.php + + - + message: '#^Property MokoEnterprise\\TransactionStep\:\:\$result has no type specified\.$#' + identifier: missingType.property + count: 1 + path: lib/Enterprise/TransactionManager.php + + - + message: '#^Property MokoEnterprise\\TransactionStep\:\:\$rollbackFunc has no type specified\.$#' + identifier: missingType.property + count: 1 + path: lib/Enterprise/TransactionManager.php + + - + message: '#^Method MokoEnterprise\\ValidationResult\:\:__construct\(\) has parameter \$details with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/UnifiedValidation.php + + - + message: '#^Property MokoEnterprise\\ValidationResult\:\:\$details type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/Enterprise/UnifiedValidation.php + + - + message: '#^Method MokoStandards\\Plugins\\Joomla\\UpdateXmlGenerator\:\:addUpdateEntry\(\) has parameter \$release with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/plugins/Joomla/UpdateXmlGenerator.php + + - + message: '#^Method MokoStandards\\Plugins\\Joomla\\UpdateXmlGenerator\:\:extractFromManifest\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/plugins/Joomla/UpdateXmlGenerator.php + + - + message: '#^Method MokoStandards\\Plugins\\Joomla\\UpdateXmlGenerator\:\:generate\(\) has parameter \$release with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/plugins/Joomla/UpdateXmlGenerator.php + + - + message: '#^Method MokoStandards\\Plugins\\Joomla\\UpdateXmlGenerator\:\:update\(\) has parameter \$release with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/plugins/Joomla/UpdateXmlGenerator.php + + - + message: '#^Method MokoStandards\\Plugins\\Joomla\\UpdateXmlGenerator\:\:validate\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: lib/plugins/Joomla/UpdateXmlGenerator.php + + - + message: '#^Method AutoDetectPlatform\:\:findFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/auto_detect_platform.php + + - + message: '#^Property AutoDetectPlatform\:\:\$detectionResults type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/auto_detect_platform.php + - message: '#^Method EnterpriseReadinessChecker\:\:displayResults\(\) is unused\.$#' identifier: method.unused count: 1 path: validate/check_enterprise_readiness.php + - + message: '#^Property EnterpriseReadinessChecker\:\:\$results type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/check_enterprise_readiness.php + - message: '#^Unreachable statement \- code above always terminates\.$#' identifier: deadCode.unreachable count: 1 path: validate/check_enterprise_readiness.php + - + message: '#^Method CheckFileIntegrity\:\:buildDeployMappings\(\) has parameter \$manifest with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/check_file_integrity.php + + - + message: '#^Method CheckFileIntegrity\:\:buildDeployMappings\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/check_file_integrity.php + + - + message: '#^Method CheckFileIntegrity\:\:findManifest\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/check_file_integrity.php + - message: '#^Method CheckFileIntegrity\:\:rsyncDryRun\(\) never returns null so it can be removed from the return type\.$#' identifier: return.unusedType count: 1 path: validate/check_file_integrity.php + - + message: '#^Method RepoHealthChecker\:\:apiFetch\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/check_repo_health.php + - message: '#^Property RepoHealthChecker\:\:\$logger is never read, only written\.$#' identifier: property.onlyWritten @@ -222,12 +2274,96 @@ parameters: count: 1 path: validate/check_repo_health.php + - + message: '#^Property RepoHealthChecker\:\:\$results type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/check_repo_health.php + + - + message: '#^Method CheckWikiHealth\:\:apiGet\(\) has parameter \$headers with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/check_wiki_health.php + + - + message: '#^Method CheckWikiHealth\:\:apiGet\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/check_wiki_health.php + - message: '#^Match expression does not handle remaining value\: mixed$#' identifier: match.unhandled count: 1 path: validate/scan_drift.php + - + message: '#^Method DriftScanner\:\:calculateDriftScore\(\) has parameter \$drift with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/scan_drift.php + + - + message: '#^Method DriftScanner\:\:checkFileCategory\(\) has parameter \$drift with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/scan_drift.php + + - + message: '#^Method DriftScanner\:\:checkFileCategory\(\) has parameter \$protectedFiles with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/scan_drift.php + + - + message: '#^Method DriftScanner\:\:checkFileCategory\(\) has parameter \$syncExclusions with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/scan_drift.php + + - + message: '#^Method DriftScanner\:\:checkFileCategory\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/scan_drift.php + + - + message: '#^Method DriftScanner\:\:createDriftIssue\(\) has parameter \$drift with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/scan_drift.php + + - + message: '#^Method DriftScanner\:\:getOverrideConfig\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/scan_drift.php + + - + message: '#^Method DriftScanner\:\:getRepositories\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/scan_drift.php + + - + message: '#^Method DriftScanner\:\:scanTemplateDirectory\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/scan_drift.php + + - + message: '#^Property DriftScanner\:\:\$driftResults type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/scan_drift.php + + - + message: '#^Property DriftScanner\:\:\$templates type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: validate/scan_drift.php + - message: '#^Unreachable statement \- code above always terminates\.$#' identifier: deadCode.unreachable diff --git a/phpstan.neon b/phpstan.neon index deb4e38..f799f3c 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -6,7 +6,7 @@ # PHPStan configuration for moko-platform projects parameters: - level: 5 + level: 6 paths: - lib - validate