diff --git a/composer.json b/composer.json index 2269458..a94ecde 100644 --- a/composer.json +++ b/composer.json @@ -22,9 +22,10 @@ "mintyphp/tools": "*", "mintyphp/debugger": "*", "phpunit/phpunit": "*", - "phpstan/phpstan": "^1.9", + "phpstan/phpstan": "^2.1", "icanhazstring/composer-unused": "^0.9.6", - "friendsofphp/php-cs-fixer": "^3.66" + "friendsofphp/php-cs-fixer": "^3.66", + "tomasvotruba/unused-public": "^2.2" }, "autoload-dev": { "psr-4": { diff --git a/composer.lock b/composer.lock index 6b046c9..3d4671f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0926942d029bad48009daddfa3a97395", + "content-hash": "0191d3acf35a8d4f2200f7efb11283a6", "packages": [ { "name": "bacon/bacon-qr-code", @@ -2708,20 +2708,15 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.19", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "c42ba9bab7a940ed00092ecb1c77bad98896d789" - }, + "version": "2.1.47", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c42ba9bab7a940ed00092ecb1c77bad98896d789", - "reference": "c42ba9bab7a940ed00092ecb1c77bad98896d789", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/79015445d8bd79e62b29140f12e5bfced1dcca65", + "reference": "79015445d8bd79e62b29140f12e5bfced1dcca65", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -2762,7 +2757,7 @@ "type": "github" } ], - "time": "2025-02-19T15:42:21+00:00" + "time": "2026-04-13T15:49:08+00:00" }, { "name": "phpunit/php-code-coverage", @@ -5298,16 +5293,16 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.33.0", + "version": "v1.34.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" + "reference": "141046a8f9477948ff284fa65be2095baafb94f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/141046a8f9477948ff284fa65be2095baafb94f2", + "reference": "141046a8f9477948ff284fa65be2095baafb94f2", "shasum": "" }, "require": { @@ -5357,7 +5352,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.34.0" }, "funding": [ { @@ -5377,7 +5372,7 @@ "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-04-10T16:19:22+00:00" }, { "name": "symfony/polyfill-intl-grapheme", @@ -6575,17 +6570,74 @@ "time": "2024-03-03T12:36:25+00:00" }, { - "name": "webmozart/assert", - "version": "2.1.5", + "name": "tomasvotruba/unused-public", + "version": "2.2.0", "source": { "type": "git", - "url": "https://github.com/webmozarts/assert.git", - "reference": "79155f94852fa27e2f73b459f6503f5e87e2c188" + "url": "https://github.com/TomasVotruba/unused-public.git", + "reference": "ec82a9a1e3216eb5db174430a740ad8d9ac1dfc2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/79155f94852fa27e2f73b459f6503f5e87e2c188", - "reference": "79155f94852fa27e2f73b459f6503f5e87e2c188", + "url": "https://api.github.com/repos/TomasVotruba/unused-public/zipball/ec82a9a1e3216eb5db174430a740ad8d9ac1dfc2", + "reference": "ec82a9a1e3216eb5db174430a740ad8d9ac1dfc2", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0", + "phpstan/phpstan": "^2.1.33", + "webmozart/assert": "^1.11|^2.0" + }, + "type": "phpstan-extension", + "extra": { + "phpstan": { + "includes": [ + "config/extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "TomasVotruba\\UnusedPublic\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Detect unused public properties, constants and methods in your code", + "keywords": [ + "phpstan-extension", + "static analysis" + ], + "support": { + "issues": "https://github.com/TomasVotruba/unused-public/issues", + "source": "https://github.com/TomasVotruba/unused-public/tree/2.2.0" + }, + "funding": [ + { + "url": "https://www.paypal.me/rectorphp", + "type": "custom" + }, + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2026-01-07T22:23:06+00:00" + }, + { + "name": "webmozart/assert", + "version": "2.3.0", + "source": { + "type": "git", + "url": "https://github.com/webmozarts/assert.git", + "reference": "eb0d790f735ba6cff25c683a85a1da0eadeff9e4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/eb0d790f735ba6cff25c683a85a1da0eadeff9e4", + "reference": "eb0d790f735ba6cff25c683a85a1da0eadeff9e4", "shasum": "" }, "require": { @@ -6632,9 +6684,9 @@ ], "support": { "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/2.1.5" + "source": "https://github.com/webmozarts/assert/tree/2.3.0" }, - "time": "2026-02-18T14:09:36+00:00" + "time": "2026-04-11T10:33:05+00:00" }, { "name": "webmozart/glob", @@ -6695,5 +6747,5 @@ "php": "^8.5" }, "platform-dev": {}, - "plugin-api-version": "2.9.0" + "plugin-api-version": "2.6.0" } diff --git a/pages/auth/login().php b/pages/auth/login().php index 6615b01..944d77e 100644 --- a/pages/auth/login().php +++ b/pages/auth/login().php @@ -119,7 +119,6 @@ $resolveLoginCandidates = static function (string $inputEmail) use ($userReadRep if ($tenantSlug === '') { continue; } - /** @phpstan-ignore ternary.alwaysFalse ($discovery is set to true inside the !$tenants branch that also reassigns $tenants) */ $methods = $discovery ? ($discoveryMethodsByTenantId[$tenantId] ?? ['local' => false, 'microsoft' => false, 'microsoft_reason' => '', 'ldap' => false, 'ldap_reason' => '']) : $tenantSsoService->resolveTenantLoginMethods($tenantId); diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon new file mode 100644 index 0000000..95d0091 --- /dev/null +++ b/phpstan-baseline.neon @@ -0,0 +1,2719 @@ +parameters: + ignoreErrors: + - + message: '#^Public method "MintyPHP\\App\\Bootstrap\\EnvValidator\:\:isValidationEnabled\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/App/Bootstrap/EnvValidator.php + + - + message: '#^Public method "MintyPHP\\App\\Bootstrap\\EnvValidator\:\:validateArray\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/App/Bootstrap/EnvValidator.php + + - + message: '#^Call to function is_string\(\) with class\-string will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 4 + path: core/App/Module/ModuleRegistry.php + + - + message: '#^Parameter \#1 \$array \(list\\) of array_values is already a list, call has no effect\.$#' + identifier: arrayValues.list + count: 2 + path: core/App/Module/ModuleRegistry.php + + - + message: '#^Public method "MintyPHP\\App\\Module\\ModuleRegistry\:\:getModule\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/App/Module/ModuleRegistry.php + + - + message: '#^Public method "MintyPHP\\App\\Module\\ModuleRegistry\:\:getPublicPaths\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/App/Module/ModuleRegistry.php + + - + message: '#^Public method "MintyPHP\\App\\Module\\ModuleRegistry\:\:getSlotContributions\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/App/Module/ModuleRegistry.php + + - + message: '#^Public method "MintyPHP\\App\\Module\\ModuleRegistry\:\:hasModule\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/App/Module/ModuleRegistry.php + + - + message: '#^Instanceof between MintyPHP\\App\\Module\\ModuleManifest and MintyPHP\\App\\Module\\ModuleManifest will always evaluate to true\.$#' + identifier: instanceof.alwaysTrue + count: 1 + path: core/App/Module/ModuleRuntimeAssetPublisher.php + + - + message: '#^Public method "MintyPHP\\App\\Module\\ModuleRuntimePageBuilder\:\:expectedFingerprint\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/App/Module/ModuleRuntimePageBuilder.php + + - + message: '#^Public method "MintyPHP\\App\\Module\\ModuleRuntimePageBuilder\:\:readFingerprint\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/App/Module/ModuleRuntimePageBuilder.php + + - + message: '#^Public method "MintyPHP\\Console\\ConsoleApplication\:\:discoverCommands\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Console/ConsoleApplication.php + + - + message: '#^Public method "MintyPHP\\Console\\ConsoleApplication\:\:run\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Console/ConsoleApplication.php + + - + message: '#^Instanceof between MintyPHP\\App\\AppContainer and MintyPHP\\App\\AppContainer will always evaluate to true\.$#' + identifier: instanceof.alwaysTrue + count: 1 + path: core/Console/Runner/Doctor/DoctorRunner.php + + - + message: '#^Public method "MintyPHP\\Console\\Support\\ModuleCliRuntime\:\:bootstrap\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Console/Support/ModuleCliRuntime.php + + - + message: '#^Public method "MintyPHP\\Console\\Support\\ModuleCliRuntime\:\:vendorWarningsIgnoredTotal\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Console/Support/ModuleCliRuntime.php + + - + message: '#^Public method "MintyPHP\\Domain\\Taxonomy\\ScheduledJobTriggerType\:\:badgeVariant\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Domain/Taxonomy/ScheduledJobTriggerType.php + + - + message: '#^Public method "MintyPHP\\Domain\\Taxonomy\\SchedulerRuntimeResult\:\:badgeVariant\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Domain/Taxonomy/SchedulerRuntimeResult.php + + - + message: '#^Public method "MintyPHP\\Domain\\Taxonomy\\SchedulerRuntimeResult\:\:labelToken\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Domain/Taxonomy/SchedulerRuntimeResult.php + + - + message: '#^Public method "MintyPHP\\Http\\AccessControl\:\:requireAuthOrRedirect\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/AccessControl.php + + - + message: '#^Public method "MintyPHP\\Http\\ApiAuth\:\:canSelfManageTokens\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/ApiAuth.php + + - + message: '#^Public method "MintyPHP\\Http\\ApiAuth\:\:requireTokenTenantAccess\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/ApiAuth.php + + - + message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 4 + path: core/Http/ApiBootstrap.php + + - + message: '#^Offset 0 on non\-empty\-list\ on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 1 + path: core/Http/ApiBootstrap.php + + - + message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 3 + path: core/Http/ApiResponse.php + + - + message: '#^Instanceof between MintyPHP\\Service\\Access\\AuthorizationService and MintyPHP\\Service\\Access\\AuthorizationService will always evaluate to true\.$#' + identifier: instanceof.alwaysTrue + count: 1 + path: core/Http/ApiResponse.php + + - + message: '#^Public method "MintyPHP\\Http\\ApiResponse\:\:readJsonBody\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/ApiResponse.php + + - + message: '#^Public method "MintyPHP\\Http\\ApiResponse\:\:requireAuth\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/ApiResponse.php + + - + message: '#^Public method "MintyPHP\\Http\\ApiResponse\:\:validationError\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/ApiResponse.php + + - + message: '#^Public method "MintyPHP\\Http\\AssetDetector\:\:isAssetRequest\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/AssetDetector.php + + - + message: '#^Public method "MintyPHP\\Http\\ErrorHandler\:\:register\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/ErrorHandler.php + + - + message: '#^Public method "MintyPHP\\Http\\ErrorRenderer\:\:esc\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/ErrorRenderer.php + + - + message: '#^Public method "MintyPHP\\Http\\Input\\RequestInput\:\:hasFile\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/Input/RequestInput.php + + - + message: '#^Public method "MintyPHP\\Http\\Input\\RequestInput\:\:wantsJson\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/Input/RequestInput.php + + - + message: '#^Public method "MintyPHP\\Http\\Input\\RequestInputFactory\:\:create\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/Input/RequestInputFactory.php + + - + message: '#^Public method "MintyPHP\\Http\\IntendedUrlService\:\:retrieveAndForget\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/IntendedUrlService.php + + - + message: '#^Public method "MintyPHP\\Http\\IntendedUrlService\:\:store\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/IntendedUrlService.php + + - + message: '#^Public method "MintyPHP\\Http\\LocaleResolver\:\:buildUriWithoutLocale\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/LocaleResolver.php + + - + message: '#^Public method "MintyPHP\\Http\\LocaleResolver\:\:parseUri\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/LocaleResolver.php + + - + message: '#^Public method "MintyPHP\\Http\\LocaleResolver\:\:resolveLocale\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/LocaleResolver.php + + - + message: '#^Public method "MintyPHP\\Http\\RequestContext\:\:resetForTests\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/RequestContext.php + + - + message: '#^Public method "MintyPHP\\Http\\RequestContext\:\:setPath\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/RequestContext.php + + - + message: '#^Offset 0 on non\-empty\-list\ on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 1 + path: core/Http/RequestRuntime.php + + - + message: '#^Public method "MintyPHP\\Http\\RouteCatalog\:\:corePublicPaths\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/RouteCatalog.php + + - + message: '#^Public method "MintyPHP\\Http\\RouteCatalog\:\:fromArray\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/RouteCatalog.php + + - + message: '#^Public method "MintyPHP\\Http\\RouteCatalog\:\:fromConfigFile\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/RouteCatalog.php + + - + message: '#^Public method "MintyPHP\\Http\\RouteRegistrar\:\:register\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Http/RouteRegistrar.php + + - + message: '#^Public method "MintyPHP\\Repository\\CustomField\\TenantCustomFieldDefinitionRepository\:\:findById\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Repository/CustomField/TenantCustomFieldDefinitionRepository.php + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: core/Repository/Mail/MailLogRepository.php + + - + message: '#^Cannot unset offset ''this'' on array\{tenantActiveStatus\: ''active'', tenantInactiveStatus\: ''inactive'', importStatusRunning\: ''running'', importStatusSuccess\: ''success'', importStatusPartial\: ''partial'', importStatusFailed\: ''failed'', systemAuditOutcomeFailed\: ''failed'', systemAuditOutcomeDenied\: ''denied'', \.\.\.\}\.$#' + identifier: unset.offset + count: 1 + path: core/Repository/Stats/AdminStatsRepository.php + + - + message: '#^Call to function is_string\(\) with class\-string will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: core/Service/Access/AccessPolicyFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AccessServicesFactory\:\:createAuthorizationService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AccessServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AccessServicesFactory\:\:createDepartmentAuthorizationPolicy\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AccessServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AccessServicesFactory\:\:createPermissionAuthorizationPolicy\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AccessServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AccessServicesFactory\:\:createPermissionRepository\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AccessServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AccessServicesFactory\:\:createRoleAssignableRoleRepository\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AccessServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AccessServicesFactory\:\:createRoleAuthorizationPolicy\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AccessServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AccessServicesFactory\:\:createRolePermissionRepository\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AccessServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AccessServicesFactory\:\:createSettingsAuthorizationPolicy\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AccessServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AccessServicesFactory\:\:createTenantAuthorizationPolicy\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AccessServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AccessServicesFactory\:\:createUserAuthorizationPolicy\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AccessServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AccessServicesFactory\:\:createUserRoleRepository\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AccessServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AssignableRoleService\:\:replaceAssignableRoles\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AssignableRoleService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AuthorizationDecision\:\:attributes\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AuthorizationDecision.php + + - + message: '#^Instanceof between MintyPHP\\Service\\Access\\AuthorizationPolicyInterface and MintyPHP\\Service\\Access\\AuthorizationPolicyInterface will always evaluate to true\.$#' + identifier: instanceof.alwaysTrue + count: 1 + path: core/Service/Access/AuthorizationService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\AuthorizationService\:\:allow\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/AuthorizationService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\PermissionService\:\:createFromAdmin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/PermissionService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\PermissionService\:\:deleteById\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/PermissionService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\PermissionService\:\:find\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/PermissionService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\PermissionService\:\:findByKey\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/PermissionService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\PermissionService\:\:getCachedPermissions\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/PermissionService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\PermissionService\:\:list\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/PermissionService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\PermissionService\:\:listActive\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/PermissionService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\PermissionService\:\:listPaged\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/PermissionService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\PermissionService\:\:updateFromAdmin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/PermissionService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\RoleService\:\:createFromAdmin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/RoleService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\RoleService\:\:deleteByUuid\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/RoleService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\RoleService\:\:findById\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/RoleService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\RoleService\:\:list\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/RoleService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\RoleService\:\:listPaged\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/RoleService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\RoleService\:\:updateFromAdmin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/RoleService.php + + - + message: '#^Call to function is_array\(\) with array\ will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: core/Service/Access/UiAccessService.php + + - + message: '#^Call to function is_array\(\) with array\{ability\: string, context\?\: array\\} will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: core/Service/Access/UiAccessService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\UiAccessService\:\:layoutCapabilities\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/UiAccessService.php + + - + message: '#^Public method "MintyPHP\\Service\\Access\\UiAccessService\:\:pageCapabilities\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Access/UiAccessService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\ApiTokenEndpointService\:\:capExpiryToParent\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/ApiTokenEndpointService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\ApiTokenEndpointService\:\:findSelfToken\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/ApiTokenEndpointService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\ApiTokenEndpointService\:\:listSelfTokens\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/ApiTokenEndpointService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\ApiTokenEndpointService\:\:normalizeLimit\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/ApiTokenEndpointService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\ApiTokenEndpointService\:\:parseExpiresAt\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/ApiTokenEndpointService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\ApiTokenEndpointService\:\:resolveLoginTenant\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/ApiTokenEndpointService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\ApiTokenEndpointService\:\:resolveSelfCreateTenant\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/ApiTokenEndpointService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\ApiTokenEndpointService\:\:revokeSelfToken\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/ApiTokenEndpointService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\ApiTokenService\:\:listForUser\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/ApiTokenService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\ApiTokenService\:\:revoke\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/ApiTokenService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\ApiTokenService\:\:revokeAllByAdmin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/ApiTokenService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\ApiTokenService\:\:revokeAllForUser\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/ApiTokenService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\ApiTokenService\:\:rotateCurrentToken\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/ApiTokenService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthService\:\:canLoginToTenant\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthService\:\:login\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthService\:\:loginUserById\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthService\:\:logoutAndRedirect\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthService\:\:logoutDueToSessionTimeout\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthService\:\:refreshSessionAuthState\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthService\:\:register\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthServicesFactory\:\:createApiTokenService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthServicesFactory\:\:createAuthService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthServicesFactory\:\:createLdapAuthService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthServicesFactory\:\:createMicrosoftOidcService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthServicesFactory\:\:createPasswordResetService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthServicesFactory\:\:createSsoUserLinkService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\AuthSettingsGateway\:\:defaultTheme\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/AuthSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\EmailVerificationService\:\:resendVerification\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/EmailVerificationService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\EmailVerificationService\:\:verifyCode\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/EmailVerificationService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\LdapAuthService\:\:authenticate\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/LdapAuthService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\LdapAuthService\:\:binaryGuidToUuid\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/LdapAuthService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\LdapConnectionGateway\:\:errno\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/LdapConnectionGateway.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\MicrosoftOidcService\:\:handleCallback\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/MicrosoftOidcService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\MicrosoftOidcService\:\:startAuthorization\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/MicrosoftOidcService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\PasswordResetService\:\:requestReset\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/PasswordResetService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\PasswordResetService\:\:resetPassword\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/PasswordResetService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\PasswordResetService\:\:verifyCode\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/PasswordResetService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\RememberMeService\:\:autoLoginFromCookie\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/RememberMeService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\RememberMeService\:\:expireAllTokensByAdmin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/RememberMeService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\RememberMeService\:\:rememberUser\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/RememberMeService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\SsoUserLinkService\:\:linkOrProvisionLdapUser\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/SsoUserLinkService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\SsoUserLinkService\:\:linkOrProvisionMicrosoftUser\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/SsoUserLinkService.php + + - + message: '#^Public constant "MintyPHP\\Service\\Auth\\TenantSsoService\:\:PROVIDER_LDAP" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: core/Service/Auth/TenantSsoService.php + + - + message: '#^Public constant "MintyPHP\\Service\\Auth\\TenantSsoService\:\:PROVIDER_MICROSOFT" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: core/Service/Auth/TenantSsoService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\TenantSsoService\:\:buildLdapUiState\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/TenantSsoService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\TenantSsoService\:\:buildMicrosoftUiState\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/TenantSsoService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\TenantSsoService\:\:discoverTenantsByEmailDomain\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/TenantSsoService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\TenantSsoService\:\:findTenantByLoginSlug\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/TenantSsoService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\TenantSsoService\:\:ldapProfileSyncFieldOptions\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/TenantSsoService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\TenantSsoService\:\:profileSyncFieldOptions\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/TenantSsoService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\TenantSsoService\:\:saveTenantLdapAuth\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/TenantSsoService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\TenantSsoService\:\:saveTenantMicrosoftAuth\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/TenantSsoService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\TenantSsoService\:\:shouldAutoRememberOnLdapLogin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/TenantSsoService.php + + - + message: '#^Public method "MintyPHP\\Service\\Auth\\TenantSsoService\:\:shouldAutoRememberOnMicrosoftLogin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Auth/TenantSsoService.php + + - + message: '#^Strict comparison using \!\=\= between mixed~'''' and '''' will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 1 + path: core/Service/Auth/TenantSsoService.php + + - + message: '#^Offset 0 on non\-empty\-list\ on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 1 + path: core/Service/Branding/BrandingFaviconService.php + + - + message: '#^Public method "MintyPHP\\Service\\Branding\\BrandingFaviconService\:\:hasFavicon\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Branding/BrandingFaviconService.php + + - + message: '#^Public method "MintyPHP\\Service\\Branding\\BrandingFaviconService\:\:saveUpload\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Branding/BrandingFaviconService.php + + - + message: '#^Offset 0 on non\-empty\-list\ on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 2 + path: core/Service/Branding/BrandingLogoService.php + + - + message: '#^Public method "MintyPHP\\Service\\Branding\\BrandingLogoService\:\:saveUpload\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Branding/BrandingLogoService.php + + - + message: '#^Public method "MintyPHP\\Service\\Branding\\BrandingServicesFactory\:\:createBrandingFaviconService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Branding/BrandingServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Branding\\BrandingServicesFactory\:\:createBrandingLogoService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Branding/BrandingServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Content\\PageService\:\:findBySlug\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Content/PageService.php + + - + message: '#^Public method "MintyPHP\\Service\\CustomField\\CustomFieldServicesFactory\:\:createTenantCustomFieldService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/CustomField/CustomFieldServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\CustomField\\CustomFieldServicesFactory\:\:createUserCustomFieldValueService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/CustomField/CustomFieldServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\CustomField\\TenantCustomFieldService\:\:createForTenant\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/CustomField/TenantCustomFieldService.php + + - + message: '#^Public method "MintyPHP\\Service\\CustomField\\TenantCustomFieldService\:\:definitionTenantIdByUuid\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/CustomField/TenantCustomFieldService.php + + - + message: '#^Public method "MintyPHP\\Service\\CustomField\\TenantCustomFieldService\:\:deleteByUuid\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/CustomField/TenantCustomFieldService.php + + - + message: '#^Public method "MintyPHP\\Service\\CustomField\\TenantCustomFieldService\:\:listForTenant\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/CustomField/TenantCustomFieldService.php + + - + message: '#^Public method "MintyPHP\\Service\\CustomField\\TenantCustomFieldService\:\:updateByUuid\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/CustomField/TenantCustomFieldService.php + + - + message: '#^Call to function is_array\(\) with array\ will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: core/Service/CustomField/UserCustomFieldValueService.php + + - + message: '#^Public method "MintyPHP\\Service\\CustomField\\UserCustomFieldValueService\:\:buildPublicValuesByTenant\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/CustomField/UserCustomFieldValueService.php + + - + message: '#^Public method "MintyPHP\\Service\\CustomField\\UserCustomFieldValueService\:\:syncForUser\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/CustomField/UserCustomFieldValueService.php + + - + message: '#^Public method "MintyPHP\\Service\\CustomField\\UserCustomFieldValueService\:\:validateForTenants\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/CustomField/UserCustomFieldValueService.php + + - + message: '#^Public method "MintyPHP\\Service\\Data\\GridUserCountEnricher\:\:computeCounts\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Data/GridUserCountEnricher.php + + - + message: '#^Public method "MintyPHP\\Service\\Directory\\DirectoryServicesFactory\:\:createRoleService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Directory/DirectoryServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Directory\\DirectoryServicesFactory\:\:createTenantService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Directory/DirectoryServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Directory\\DirectoryServicesFactory\:\:getTenantScopeService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Directory/DirectoryServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Docs\\DocsCatalogService\:\:docPathBySlug\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Docs/DocsCatalogService.php + + - + message: '#^Public method "MintyPHP\\Service\\Docs\\DocsCatalogService\:\:renderMarkdown\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Docs/DocsCatalogService.php + + - + message: '#^Call to function is_array\(\) with non\-empty\-list\ will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 2 + path: core/Service/Import/CsvReaderService.php + + - + message: '#^Public method "MintyPHP\\Service\\Import\\ImportService\:\:analyzeUpload\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Import/ImportService.php + + - + message: '#^Public method "MintyPHP\\Service\\Import\\ImportService\:\:commit\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Import/ImportService.php + + - + message: '#^Public method "MintyPHP\\Service\\Import\\ImportService\:\:listProfileOptions\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Import/ImportService.php + + - + message: '#^Public method "MintyPHP\\Service\\Import\\ImportService\:\:messageForCode\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Import/ImportService.php + + - + message: '#^Public method "MintyPHP\\Service\\Import\\ImportService\:\:preview\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Import/ImportService.php + + - + message: '#^Public method "MintyPHP\\Service\\Import\\ImportService\:\:requiredPermissionForType\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Import/ImportService.php + + - + message: '#^Public method "MintyPHP\\Service\\Import\\ImportServicesFactory\:\:createImportService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Import/ImportServicesFactory.php + + - + message: '#^Public constant "MintyPHP\\Service\\Import\\ImportTempFileService\:\:MAX_UPLOAD_BYTES" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: core/Service/Import/ImportTempFileService.php + + - + message: '#^Public method "MintyPHP\\Service\\Mail\\MailLogService\:\:find\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Mail/MailLogService.php + + - + message: '#^Public method "MintyPHP\\Service\\Mail\\MailLogService\:\:listPaged\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Mail/MailLogService.php + + - + message: '#^Public method "MintyPHP\\Service\\Mail\\MailServicesFactory\:\:createMailLogService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Mail/MailServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Org\\DepartmentService\:\:deleteByUuid\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Org/DepartmentService.php + + - + message: '#^Public method "MintyPHP\\Service\\Org\\DepartmentService\:\:findById\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Org/DepartmentService.php + + - + message: '#^Public method "MintyPHP\\Service\\Org\\DepartmentService\:\:groupActiveByTenantIds\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Org/DepartmentService.php + + - + message: '#^Public method "MintyPHP\\Service\\Org\\DepartmentService\:\:listByIds\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Org/DepartmentService.php + + - + message: '#^Public method "MintyPHP\\Service\\Org\\DepartmentService\:\:listPaged\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Org/DepartmentService.php + + - + message: '#^Public method "MintyPHP\\Service\\Org\\DepartmentService\:\:syncTenants\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Org/DepartmentService.php + + - + message: '#^Public method "MintyPHP\\Service\\Org\\DepartmentService\:\:updateFromAdmin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Org/DepartmentService.php + + - + message: '#^Parameter \#1 \$array \(list\\) of array_values is already a list, call has no effect\.$#' + identifier: arrayValues.list + count: 1 + path: core/Service/Scheduler/ScheduledJobRegistry.php + + - + message: '#^Public constant "MintyPHP\\Service\\Scheduler\\ScheduledJobRegistry\:\:USER_LIFECYCLE_RUN" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: core/Service/Scheduler/ScheduledJobRegistry.php + + - + message: '#^Public method "MintyPHP\\Service\\Scheduler\\ScheduledJobService\:\:isRegistered\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Scheduler/ScheduledJobService.php + + - + message: '#^Public method "MintyPHP\\Service\\Scheduler\\ScheduledJobService\:\:listPaged\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Scheduler/ScheduledJobService.php + + - + message: '#^Public method "MintyPHP\\Service\\Scheduler\\ScheduledJobService\:\:listRunsByJobId\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Scheduler/ScheduledJobService.php + + - + message: '#^Public method "MintyPHP\\Service\\Scheduler\\ScheduledJobService\:\:purgeRunsExpired\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Scheduler/ScheduledJobService.php + + - + message: '#^Public method "MintyPHP\\Service\\Scheduler\\ScheduledJobService\:\:scheduleSummary\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Scheduler/ScheduledJobService.php + + - + message: '#^Public method "MintyPHP\\Service\\Scheduler\\ScheduledJobService\:\:updateFromAdmin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Scheduler/ScheduledJobService.php + + - + message: '#^Public method "MintyPHP\\Service\\Scheduler\\ScheduledJobService\:\:weekdaysFromCsv\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Scheduler/ScheduledJobService.php + + - + message: '#^Public method "MintyPHP\\Service\\Scheduler\\SchedulerRunService\:\:runDueJobs\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Scheduler/SchedulerRunService.php + + - + message: '#^Public method "MintyPHP\\Service\\Scheduler\\SchedulerRunService\:\:runJobNow\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Scheduler/SchedulerRunService.php + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: core/Service/Scheduler/SchedulerRunService.php + + - + message: '#^Public method "MintyPHP\\Service\\Scheduler\\SchedulerServicesFactory\:\:createSchedulerRunService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Scheduler/SchedulerServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Scheduler\\SchedulerServicesFactory\:\:createUserLifecycleService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Scheduler/SchedulerServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Search\\SearchDataService\:\:buildPreviewData\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Search/SearchDataService.php + + - + message: '#^Public method "MintyPHP\\Service\\Search\\SearchDataService\:\:buildResultData\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Search/SearchDataService.php + + - + message: '#^Public method "MintyPHP\\Service\\Security\\RateLimiterService\:\:isBlocked\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Security/RateLimiterService.php + + - + message: '#^Public method "MintyPHP\\Service\\Security\\RateLimiterService\:\:registerFailure\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Security/RateLimiterService.php + + - + message: '#^Public method "MintyPHP\\Service\\Security\\RateLimiterService\:\:reset\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Security/RateLimiterService.php + + - + message: '#^Public method "MintyPHP\\Service\\Security\\SecurityServicesFactory\:\:createRateLimiterService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Security/SecurityServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Settings\\AdminSettingsService\:\:buildPageData\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Settings/AdminSettingsService.php + + - + message: '#^Public method "MintyPHP\\Service\\Settings\\AdminSettingsService\:\:updateFromAdmin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Settings/AdminSettingsService.php + + - + message: '#^Public method "MintyPHP\\Service\\Settings\\SettingCacheService\:\:get\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Settings/SettingCacheService.php + + - + message: '#^Public method "MintyPHP\\Service\\Settings\\SettingServicesFactory\:\:createSettingCacheService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Settings/SettingServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Settings\\SettingServicesFactory\:\:createSettingsFrontendTelemetryGateway\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Settings/SettingServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Settings\\SettingServicesFactory\:\:createSettingsSessionGateway\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Settings/SettingServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Settings\\SettingServicesFactory\:\:createSettingsSmtpGateway\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Settings/SettingServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Settings\\SettingServicesFactory\:\:createSettingsSystemAuditGateway\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Settings/SettingServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Settings\\SettingsAppGateway\:\:normalizeLocale\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Settings/SettingsAppGateway.php + + - + message: '#^Public method "MintyPHP\\Service\\Settings\\SettingsLoginPersistenceGateway\:\:getRememberTokenLifetimeSeconds\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Settings/SettingsLoginPersistenceGateway.php + + - + message: '#^Public method "MintyPHP\\Service\\Settings\\SettingsSessionGateway\:\:getSessionAbsoluteTimeoutSeconds\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Settings/SettingsSessionGateway.php + + - + message: '#^Public method "MintyPHP\\Service\\Settings\\SettingsSessionGateway\:\:getSessionIdleTimeoutSeconds\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Settings/SettingsSessionGateway.php + + - + message: '#^Public method "MintyPHP\\Service\\Stats\\AdminStatsViewDataService\:\:build\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Stats/AdminStatsViewDataService.php + + - + message: '#^Public method "MintyPHP\\Service\\System\\SystemInfoService\:\:buildPageData\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/System/SystemInfoService.php + + - + message: '#^Offset 0 on non\-empty\-list\ on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 2 + path: core/Service/Tenant/TenantAvatarService.php + + - + message: '#^Public method "MintyPHP\\Service\\Tenant\\TenantAvatarService\:\:hasAvatar\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Tenant/TenantAvatarService.php + + - + message: '#^Public method "MintyPHP\\Service\\Tenant\\TenantAvatarService\:\:saveUpload\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Tenant/TenantAvatarService.php + + - + message: '#^Offset 0 on non\-empty\-list\ on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 1 + path: core/Service/Tenant/TenantFaviconService.php + + - + message: '#^Public method "MintyPHP\\Service\\Tenant\\TenantFaviconService\:\:hasFavicon\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Tenant/TenantFaviconService.php + + - + message: '#^Public method "MintyPHP\\Service\\Tenant\\TenantFaviconService\:\:saveUpload\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Tenant/TenantFaviconService.php + + - + message: '#^Public method "MintyPHP\\Service\\Tenant\\TenantScopeService\:\:filterTenantIdsForUser\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Tenant/TenantScopeService.php + + - + message: '#^Public method "MintyPHP\\Service\\Tenant\\TenantScopeService\:\:mergeTenantIdsPreservingOutOfScope\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Tenant/TenantScopeService.php + + - + message: '#^Public method "MintyPHP\\Service\\Tenant\\TenantService\:\:createFromAdmin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Tenant/TenantService.php + + - + message: '#^Public method "MintyPHP\\Service\\Tenant\\TenantService\:\:deleteByUuid\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Tenant/TenantService.php + + - + message: '#^Public method "MintyPHP\\Service\\Tenant\\TenantService\:\:listPaged\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Tenant/TenantService.php + + - + message: '#^Public method "MintyPHP\\Service\\Tenant\\TenantService\:\:updateFromAdmin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Tenant/TenantService.php + + - + message: '#^Public method "MintyPHP\\Service\\Tenant\\TenantServicesFactory\:\:createTenantAvatarService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Tenant/TenantServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Tenant\\TenantServicesFactory\:\:createTenantFaviconService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Tenant/TenantServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\Tenant\\TenantServicesFactory\:\:createTenantScopeService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/Tenant/TenantServicesFactory.php + + - + message: '#^Call to function method_exists\(\) with Dompdf\\Options and ''setDefaultFont'' will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: core/Service/User/UserAccessPdfService.php + + - + message: '#^Call to function method_exists\(\) with Dompdf\\Options and ''setIsPhpEnabled'' will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: core/Service/User/UserAccessPdfService.php + + - + message: '#^Call to function method_exists\(\) with Dompdf\\Options and ''setIsRemoteEnabled'' will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: core/Service/User/UserAccessPdfService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAccessPdfService\:\:renderUsersAccessZip\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAccessPdfService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAccountService\:\:deleteByUuid\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAccountService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAccountService\:\:deleteByUuids\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAccountService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAccountService\:\:dispatchAssignmentChangedIfNeeded\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAccountService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAccountService\:\:findByEmail\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAccountService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAccountService\:\:findById\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAccountService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAccountService\:\:setActiveByUuid\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAccountService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAccountService\:\:setActiveByUuids\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAccountService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAccountService\:\:setLocale\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAccountService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAccountService\:\:setTheme\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAccountService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAccountService\:\:updateFromAdmin\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAccountService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAccountService\:\:updateSelfProfile\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAccountService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserApiWriteInputMapper\:\:normalize\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserApiWriteInputMapper.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAssignmentService\:\:syncAllAssignments\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAssignmentService.php + + - + message: '#^Offset 0 on non\-empty\-list\ on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 2 + path: core/Service/User/UserAvatarService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserAvatarService\:\:saveUpload\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserAvatarService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserDirectoryGateway\:\:listDepartmentsByTenantIds\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserDirectoryGateway.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserLifecycleRestoreService\:\:restoreFromLifecycleAudit\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserLifecycleRestoreService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserPasswordService\:\:passwordHints\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserPasswordService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserPasswordService\:\:passwordMinLength\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserPasswordService.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserServicesFactory\:\:createUserLifecycleRestoreService\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserServicesFactory.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserSettingsGateway\:\:appThemes\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserSettingsGateway\:\:defaultTheme\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Service\\User\\UserTenantContextService\:\:getAssignedActiveTenants\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Service/User/UserTenantContextService.php + + - + message: '#^Public method "MintyPHP\\Support\\Flash\:\:add\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Support/Flash.php + + - + message: '#^Public method "MintyPHP\\Support\\Flash\:\:dismissByKey\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Support/Flash.php + + - + message: '#^Public method "MintyPHP\\Support\\Flash\:\:peek\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Support/Flash.php + + - + message: '#^Instanceof between MintyPHP\\Service\\Access\\AuthorizationService and MintyPHP\\Service\\Access\\AuthorizationService will always evaluate to true\.$#' + identifier: instanceof.alwaysTrue + count: 1 + path: core/Support/Guard.php + + - + message: '#^Instanceof between MintyPHP\\Service\\Auth\\AuthService and MintyPHP\\Service\\Auth\\AuthService will always evaluate to true\.$#' + identifier: instanceof.alwaysTrue + count: 1 + path: core/Support/Guard.php + + - + message: '#^Instanceof between MintyPHP\\Service\\Tenant\\TenantService and MintyPHP\\Service\\Tenant\\TenantService will always evaluate to true\.$#' + identifier: instanceof.alwaysTrue + count: 1 + path: core/Support/Guard.php + + - + message: '#^Public method "MintyPHP\\Support\\Search\\SearchSqlResourceProvider\:\:resourceKeys\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Support/Search/SearchSqlResourceProvider.php + + - + message: '#^Public method "MintyPHP\\Support\\Search\\SearchUiMetaProvider\:\:hasIconForKey\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Support/Search/SearchUiMetaProvider.php + + - + message: '#^Public method "MintyPHP\\Support\\Search\\SearchUiMetaProvider\:\:hasListUrlForKey\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Support/Search/SearchUiMetaProvider.php + + - + message: '#^Instanceof between MintyPHP\\App\\Module\\ModuleRegistry and MintyPHP\\App\\Module\\ModuleRegistry will always evaluate to true\.$#' + identifier: instanceof.alwaysTrue + count: 1 + path: core/Support/SearchConfig.php + + - + message: '#^Public method "MintyPHP\\Support\\SearchConfig\:\:iconForKey\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Support/SearchConfig.php + + - + message: '#^Public method "MintyPHP\\Support\\SearchConfig\:\:resetModuleProviders\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Support/SearchConfig.php + + - + message: '#^Public method "MintyPHP\\Support\\Tile\:\:render\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: core/Support/Tile.php + + - + message: '#^Call to function is_array\(\) with array\ will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: core/Support/helpers/app.php + + - + message: '#^Call to function is_array\(\) with array\ will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 4 + path: core/Support/helpers/grid.php + + - + message: '#^Call to function is_array\(\) with array\\|string\> will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 2 + path: core/Support/helpers/request.php + + - + message: '#^Call to function is_array\(\) with array\ will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: core/Support/helpers/ui.php + + - + message: '#^Call to function is_array\(\) with list\ will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: core/Support/helpers/ui.php + + - + message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: core/Support/helpers/ui.php + + - + message: '#^Public constant "MintyPHP\\Module\\AddressBook\\AddressBookAuthorizationPolicy\:\:PERMISSION_KEY" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/addressbook/lib/Module/AddressBook/AddressBookAuthorizationPolicy.php + + - + message: '#^Public method "MintyPHP\\Module\\AddressBook\\Service\\AddressBookService\:\:buildCustomFieldChipMeta\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/addressbook/lib/Module/AddressBook/Service/AddressBookService.php + + - + message: '#^Public method "MintyPHP\\Module\\AddressBook\\Service\\AddressBookService\:\:buildGridResult\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/addressbook/lib/Module/AddressBook/Service/AddressBookService.php + + - + message: '#^Public method "MintyPHP\\Module\\AddressBook\\Service\\AddressBookService\:\:buildIndexContext\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/addressbook/lib/Module/AddressBook/Service/AddressBookService.php + + - + message: '#^Public method "MintyPHP\\Module\\AddressBook\\Service\\AddressBookService\:\:buildViewContext\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/addressbook/lib/Module/AddressBook/Service/AddressBookService.php + + - + message: '#^Public constant "MintyPHP\\Module\\ApiDocs\\ApiDocsAuthorizationPolicy\:\:PERMISSION_KEY" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/api-docs/lib/Module/ApiDocs/ApiDocsAuthorizationPolicy.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Domain\\SystemAuditChannel\:\:badgeVariant\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Domain/SystemAuditChannel.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Domain\\UserLifecycleAction\:\:badgeVariant\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Domain/UserLifecycleAction.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Domain\\UserLifecycleTriggerType\:\:badgeVariant\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Domain/UserLifecycleTriggerType.php + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 3 + path: modules/audit/lib/Module/Audit/Repository/UserLifecycleAuditRepository.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Service\\ApiAuditService\:\:filterOptions\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Service/ApiAuditService.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Service\\ApiAuditService\:\:find\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Service/ApiAuditService.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Service\\ApiAuditService\:\:listPaged\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Service/ApiAuditService.php + + - + message: '#^Call to function is_int\(\) with int will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: modules/audit/lib/Module/Audit/Service/FrontendTelemetryIngestService.php + + - + message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: modules/audit/lib/Module/Audit/Service/FrontendTelemetryIngestService.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Service\\FrontendTelemetryIngestService\:\:ingest\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Service/FrontendTelemetryIngestService.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Service\\ImportAuditService\:\:filterOptions\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Service/ImportAuditService.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Service\\ImportAuditService\:\:find\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Service/ImportAuditService.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Service\\ImportAuditService\:\:listPaged\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Service/ImportAuditService.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Service\\SystemAuditService\:\:filterOptions\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Service/SystemAuditService.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Service\\SystemAuditService\:\:find\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Service/SystemAuditService.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Service\\SystemAuditService\:\:listPaged\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Service/SystemAuditService.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Service\\UserLifecycleAuditService\:\:filterOptions\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Service/UserLifecycleAuditService.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Service\\UserLifecycleAuditService\:\:find\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Service/UserLifecycleAuditService.php + + - + message: '#^Public method "MintyPHP\\Module\\Audit\\Service\\UserLifecycleAuditService\:\:listPaged\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/audit/lib/Module/Audit/Service/UserLifecycleAuditService.php + + - + message: '#^Call to function is_array\(\) with array\ will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: 'modules/audit/pages/audit/frontend-telemetry/ingest().php' + + - + message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: 'modules/audit/pages/audit/frontend-telemetry/ingest().php' + + - + message: '#^Public method "MintyPHP\\Module\\Bookmarks\\Service\\BookmarkService\:\:allowedGroupIconLabels\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/bookmarks/lib/Module/Bookmarks/Service/BookmarkService.php + + - + message: '#^Public method "MintyPHP\\Module\\Bookmarks\\Service\\BookmarkService\:\:allowedGroupIcons\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/bookmarks/lib/Module/Bookmarks/Service/BookmarkService.php + + - + message: '#^Public method "MintyPHP\\Module\\Bookmarks\\Service\\BookmarkService\:\:deleteBookmark\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/bookmarks/lib/Module/Bookmarks/Service/BookmarkService.php + + - + message: '#^Public method "MintyPHP\\Module\\Bookmarks\\Service\\BookmarkService\:\:deleteGroup\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/bookmarks/lib/Module/Bookmarks/Service/BookmarkService.php + + - + message: '#^Public method "MintyPHP\\Module\\Bookmarks\\Service\\BookmarkService\:\:reorderFromItems\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/bookmarks/lib/Module/Bookmarks/Service/BookmarkService.php + + - + message: '#^Public method "MintyPHP\\Module\\Bookmarks\\Service\\BookmarkService\:\:reorderRootFromItems\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/bookmarks/lib/Module/Bookmarks/Service/BookmarkService.php + + - + message: '#^Public method "MintyPHP\\Module\\Bookmarks\\Service\\BookmarkService\:\:saveBookmark\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/bookmarks/lib/Module/Bookmarks/Service/BookmarkService.php + + - + message: '#^Public method "MintyPHP\\Module\\Bookmarks\\Service\\BookmarkService\:\:saveGroup\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/bookmarks/lib/Module/Bookmarks/Service/BookmarkService.php + + - + message: '#^Public method "MintyPHP\\Module\\Bookmarks\\Service\\BookmarkService\:\:updateBookmark\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/bookmarks/lib/Module/Bookmarks/Service/BookmarkService.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\HelpdeskAuthorizationPolicy\:\:PERMISSION_ACCESS" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/HelpdeskAuthorizationPolicy.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\HelpdeskAuthorizationPolicy\:\:PERMISSION_RISK_RADAR" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/HelpdeskAuthorizationPolicy.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\HelpdeskAuthorizationPolicy\:\:PERMISSION_SETTINGS_MANAGE" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/HelpdeskAuthorizationPolicy.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\HelpdeskAuthorizationPolicy\:\:PERMISSION_TEAM_WORKLOAD" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/HelpdeskAuthorizationPolicy.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Repository\\HelpdeskTokenRepository\:\:deleteAll\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Repository/HelpdeskTokenRepository.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Repository\\HelpdeskTokenRepository\:\:deleteByTenantId\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Repository/HelpdeskTokenRepository.php + + - + message: '#^Call to function is_array\(\) with array\ will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 2 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:ENTITY_CONTACT" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:ENTITY_CONTRACTS" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:ENTITY_CONTRACT_LINES" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:ENTITY_CUSTOMER" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:ENTITY_ESCALATION" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:ENTITY_MEETINGS" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:ENTITY_TICKETS" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:ENTITY_TICKETS_LV" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:ENTITY_TICKET_LOG" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:ENTITY_TICKET_LOG_LV" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:diagnoseCustomer\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:getTicketsForControlling\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:getTicketsForRiskRadar\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\BcODataGateway\:\:getTicketsForTeam\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Strict comparison using \!\=\= between list\{0\: ''Name ne \\''\\'''', 1\?\: non\-empty\-string, 2\?\: non\-empty\-string\} and array\{\} will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcODataGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\BcSoapGateway\:\:getTicketFile\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/BcSoapGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorCacheControl\:\:allDebitorCacheKeys\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorCacheControl.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorDetailService\:\:buildContractsWidgetData\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorDetailService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorDetailService\:\:buildMeetingsTimeline\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorDetailService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorDetailService\:\:buildSalesDashboard\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorDetailService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorDetailService\:\:loadContacts\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorDetailService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorDetailService\:\:loadContracts\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorDetailService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorDetailService\:\:loadCustomer\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorDetailService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorDetailService\:\:loadDetail\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorDetailService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorDetailService\:\:loadMeetings\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorDetailService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorDetailService\:\:loadSalesDashboard\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorDetailService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorDetailService\:\:loadSupportDashboard\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorDetailService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorDetailService\:\:loadTicketLog\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorDetailService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorDetailService\:\:loadTicketSummary\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorDetailService.php + + - + message: '#^Strict comparison using \!\=\= between non\-empty\-string and '''' will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorDetailService.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\DebitorSearchService\:\:MIN_QUERY_LENGTH" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorSearchService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorSearchService\:\:listForGrid\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorSearchService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\DebitorSearchService\:\:search\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/DebitorSearchService.php + + - + message: '#^Public property "MintyPHP\\Module\\Helpdesk\\Service\\EffectiveHelpdeskSettings\:\:\$controllingRiskConfigRaw" is never used$#' + identifier: public.property.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/EffectiveHelpdeskSettings.php + + - + message: '#^Public property "MintyPHP\\Module\\Helpdesk\\Service\\EffectiveHelpdeskSettings\:\:\$source" is never used$#' + identifier: public.property.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/EffectiveHelpdeskSettings.php + + - + message: '#^Public property "MintyPHP\\Module\\Helpdesk\\Service\\EffectiveHelpdeskSettings\:\:\$systemRecommendationsConfigRaw" is never used$#' + identifier: public.property.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/EffectiveHelpdeskSettings.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\EffectiveHelpdeskSettingsService\:\:getControllingRiskConfig\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/EffectiveHelpdeskSettingsService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\EffectiveHelpdeskSettingsService\:\:getControllingRiskConfigEnvelope\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/EffectiveHelpdeskSettingsService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\EffectiveHelpdeskSettingsService\:\:getSystemRecommendationsConfig\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/EffectiveHelpdeskSettingsService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\EffectiveHelpdeskSettingsService\:\:getSystemRecommendationsConfigEnvelope\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/EffectiveHelpdeskSettingsService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\EffectiveHelpdeskSettingsService\:\:validateConfiguration\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/EffectiveHelpdeskSettingsService.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:KEY_AUTH_MODE" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:KEY_BASIC_PASSWORD_ENC" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:KEY_BASIC_USER" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:KEY_COMPANY_NAME" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:KEY_CONTROLLING_RISK_CONFIG" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:KEY_OAUTH_CLIENT_ID" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:KEY_OAUTH_CLIENT_SECRET_ENC" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:KEY_OAUTH_TENANT_ID" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:KEY_OAUTH_TOKEN_ENDPOINT" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:KEY_ODATA_BASE_URL" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public constant "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:KEY_SYSTEM_RECOMMENDATIONS_CONFIG" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:buildEntityUrl\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:isConfigured\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:setAuthMode\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:setBasicPassword\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:setBasicUser\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:setCompanyName\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:setControllingRiskConfig\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:setOAuthClientId\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:setOAuthClientSecret\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:setOAuthTenantId\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:setOAuthTokenEndpoint\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:setODataBaseUrl\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskSettingsGateway\:\:setSystemRecommendationsConfig\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskTenantSettingsGateway\:\:deleteByTenantId\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskTenantSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskTenantSettingsGateway\:\:findByTenantId\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskTenantSettingsGateway.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\HelpdeskTenantSettingsGateway\:\:save\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/HelpdeskTenantSettingsGateway.php + + - + message: '#^Strict comparison using \!\=\= between non\-empty\-string and '''' will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/RiskRadarService.php + + - + message: '#^Call to function is_array\(\) with array\ will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/SystemRecommendationEngine.php + + - + message: '#^Parameter \#1 \$array \(list\\) of array_values is already a list, call has no effect\.$#' + identifier: arrayValues.list + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/SystemRecommendationEngine.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\SystemRecommendationEngine\:\:buildRecommendations\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/SystemRecommendationEngine.php + + - + message: '#^Call to function is_array\(\) with array\ will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 2 + path: modules/helpdesk/lib/Module/Helpdesk/Service/TicketCommunicationService.php + + - + message: '#^Public method "MintyPHP\\Module\\Helpdesk\\Service\\TicketCommunicationService\:\:loadDebitorCommunicationFeed\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/TicketCommunicationService.php + + - + message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 1 + path: modules/helpdesk/lib/Module/Helpdesk/Service/TicketCommunicationService.php + + - + message: '#^Parameter \#1 \$array \(list\\) of array_values is already a list, call has no effect\.$#' + identifier: arrayValues.list + count: 1 + path: 'modules/helpdesk/pages/helpdesk/debitor-contacts-data().php' + + - + message: '#^Parameter \#1 \$array \(list\\) of array_values is already a list, call has no effect\.$#' + identifier: arrayValues.list + count: 3 + path: 'modules/helpdesk/pages/helpdesk/debitor-ticket-categories-data().php' + + - + message: '#^Parameter \#1 \$array \(list\\) of array_values is already a list, call has no effect\.$#' + identifier: arrayValues.list + count: 1 + path: 'modules/helpdesk/pages/helpdesk/debitor-tickets-data().php' + + - + message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\\> will always evaluate to true\.$#' + identifier: method.alreadyNarrowedType + count: 2 + path: modules/helpdesk/tests/Module/Helpdesk/Service/BcODataGatewayTest.php + + - + message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with true will always evaluate to true\.$#' + identifier: method.alreadyNarrowedType + count: 6 + path: modules/helpdesk/tests/Module/Helpdesk/Service/BcODataGatewayTest.php + + - + message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with true will always evaluate to true\.$#' + identifier: method.alreadyNarrowedType + count: 3 + path: modules/helpdesk/tests/Module/Helpdesk/Service/DebitorDetailServiceTest.php + + - + message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\\> will always evaluate to true\.$#' + identifier: method.alreadyNarrowedType + count: 1 + path: modules/helpdesk/tests/Module/Helpdesk/Service/TicketCommunicationServiceTest.php + + - + message: '#^Public constant "MintyPHP\\Module\\Notifications\\NotificationsAuthorizationPolicy\:\:PERMISSION_KEY" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: modules/notifications/lib/Module/Notifications/NotificationsAuthorizationPolicy.php + + - + message: '#^Parameter \#1 \$array \(list\\) of array_values is already a list, call has no effect\.$#' + identifier: arrayValues.list + count: 1 + path: modules/notifications/lib/Module/Notifications/Service/NotificationMessage.php + + - + message: '#^Parameter \#1 \$array \(list\\) of array_values is already a list, call has no effect\.$#' + identifier: arrayValues.list + count: 1 + path: modules/notifications/lib/Module/Notifications/Service/NotificationService.php + + - + message: '#^Public method "MintyPHP\\Module\\Notifications\\Service\\NotificationService\:\:createForTenantAdminUsers\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/notifications/lib/Module/Notifications/Service/NotificationService.php + + - + message: '#^Public method "MintyPHP\\Module\\Notifications\\Service\\NotificationService\:\:createForTenantUsers\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/notifications/lib/Module/Notifications/Service/NotificationService.php + + - + message: '#^Public method "MintyPHP\\Module\\Notifications\\Service\\NotificationService\:\:createForUser\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/notifications/lib/Module/Notifications/Service/NotificationService.php + + - + message: '#^Public method "MintyPHP\\Module\\Notifications\\Service\\NotificationService\:\:dismiss\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/notifications/lib/Module/Notifications/Service/NotificationService.php + + - + message: '#^Public method "MintyPHP\\Module\\Notifications\\Service\\NotificationService\:\:listForUser\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/notifications/lib/Module/Notifications/Service/NotificationService.php + + - + message: '#^Public method "MintyPHP\\Module\\Notifications\\Service\\NotificationService\:\:markAllAsRead\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/notifications/lib/Module/Notifications/Service/NotificationService.php + + - + message: '#^Public method "MintyPHP\\Module\\Notifications\\Service\\NotificationService\:\:markAsRead\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: modules/notifications/lib/Module/Notifications/Service/NotificationService.php + + - + message: '#^Offset ''key'' on array\{key\: string, label\: string, allowed\: true, permission\: mixed\} on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 1 + path: 'pages/admin/imports/index().php' + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: 'pages/admin/scheduled-jobs/data().php' + + - + message: '#^Strict comparison using \!\=\= between lowercase\-string&non\-empty\-string and '''' will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 1 + path: 'pages/auth/login().php' + + - + message: '#^Method MintyPHP\\Tests\\App\\Module\\InMemoryPermissionRepository\:\:create\(\) never returns null so it can be removed from the return type\.$#' + identifier: return.unusedType + count: 1 + path: tests/App/Module/ModulePermissionSynchronizerTest.php + + - + message: '#^Public method "MintyPHP\\Tests\\Architecture\\AuthHelpLinksContractFiles\:\:secondaryAuthPages\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Architecture/AuthHelpLinksContractFiles.php + + - + message: '#^Public method "MintyPHP\\Tests\\Architecture\\AuthLoginAccessibilityContractFiles\:\:authLoginTemplates\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Architecture/AuthLoginAccessibilityContractFiles.php + + - + message: '#^Public method "MintyPHP\\Tests\\Architecture\\DetailActionPolicyContractFiles\:\:migratedConfirmFiles\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Architecture/DetailActionPolicyContractFiles.php + + - + message: '#^Public method "MintyPHP\\Tests\\Architecture\\DetailPageContractFiles\:\:standardDetailFormFiles\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Architecture/DetailPageContractFiles.php + + - + message: '#^Public method "MintyPHP\\Tests\\Architecture\\DetailValidationContractFiles\:\:detailActionFiles\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Architecture/DetailValidationContractFiles.php + + - + message: '#^Public method "MintyPHP\\Tests\\Architecture\\DetailValidationContractFiles\:\:detailTemplateFiles\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Architecture/DetailValidationContractFiles.php + + - + message: '#^Public method "MintyPHP\\Tests\\Architecture\\ListTitlebarContractFiles\:\:titlebarTemplateFiles\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Architecture/ListTitlebarContractFiles.php + + - + message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsString\(\) with string will always evaluate to true\.$#' + identifier: staticMethod.alreadyNarrowedType + count: 1 + path: tests/Architecture/ModuleManifestContractTest.php + + - + message: '#^Parameter \#1 \$array \(list\\) of array_values is already a list, call has no effect\.$#' + identifier: arrayValues.list + count: 1 + path: tests/Architecture/ModuleUiContractTest.php + + - + message: '#^Public method "MintyPHP\\Tests\\Architecture\\StatusTaxonomyContractFiles\:\:forbiddenLiteralPatterns\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Architecture/StatusTaxonomyContractFiles.php + + - + message: '#^Public method "MintyPHP\\Tests\\Architecture\\StatusTaxonomyContractFiles\:\:taxonomyDataEndpointFiles\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Architecture/StatusTaxonomyContractFiles.php + + - + message: '#^Public method "MintyPHP\\Tests\\Architecture\\StatusTaxonomyContractFiles\:\:taxonomyEnumFiles\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Architecture/StatusTaxonomyContractFiles.php + + - + message: '#^Public method "MintyPHP\\Tests\\Architecture\\StatusTaxonomyContractFiles\:\:taxonomyLiteralGuardFiles\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Architecture/StatusTaxonomyContractFiles.php + + - + message: '#^Public method "MintyPHP\\Tests\\Architecture\\StatusTaxonomyContractFiles\:\:taxonomySchemaExpectations\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Architecture/StatusTaxonomyContractFiles.php + + - + message: '#^Public method "MintyPHP\\Tests\\Console\\ProjectRootTestCommand\:\:getProjectRoot\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Console/ConsoleApplicationTest.php + + - + message: '#^Public property "MintyPHP\\Tests\\Console\\CommandWithUsage\:\:\$wasExecuted" is never used$#' + identifier: public.property.unused + count: 1 + path: tests/Console/ConsoleApplicationTest.php + + - + message: '#^Public property "MintyPHP\\Tests\\Console\\DummyCommand\:\:\$lastArgs" is never used$#' + identifier: public.property.unused + count: 1 + path: tests/Console/ConsoleApplicationTest.php + + - + message: '#^Public property "MintyPHP\\Tests\\Console\\DummyCommand\:\:\$lastOptions" is never used$#' + identifier: public.property.unused + count: 1 + path: tests/Console/ConsoleApplicationTest.php + + - + message: '#^Public property "MintyPHP\\Tests\\Console\\FakeModuleRunner\:\:\$deactivateConfirm" is never used$#' + identifier: public.property.unused + count: 1 + path: tests/Console/ModuleCommandsTest.php + + - + message: '#^Public property "MintyPHP\\Tests\\Console\\FakeModuleRunner\:\:\$deactivateDryRun" is never used$#' + identifier: public.property.unused + count: 1 + path: tests/Console/ModuleCommandsTest.php + + - + message: '#^Public property "MintyPHP\\Tests\\Console\\FakeModuleRunner\:\:\$deactivateModuleId" is never used$#' + identifier: public.property.unused + count: 1 + path: tests/Console/ModuleCommandsTest.php + + - + message: '#^Public property "MintyPHP\\Tests\\Console\\FakeModuleRunner\:\:\$deactivateResult" is never used$#' + identifier: public.property.unused + count: 1 + path: tests/Console/ModuleCommandsTest.php + + - + message: '#^Public property "MintyPHP\\Tests\\Console\\FakeModuleRunner\:\:\$runtimeSyncResult" is never used$#' + identifier: public.property.unused + count: 1 + path: tests/Console/ModuleCommandsTest.php + + - + message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with true will always evaluate to true\.$#' + identifier: method.alreadyNarrowedType + count: 2 + path: tests/Http/ErrorHandlerTest.php + + - + message: '#^Public constant "MintyPHP\\Tests\\Service\\Access\\TestMultiDependencyPolicy\:\:ABILITY" is never used$#' + identifier: public.classConstant.unused + count: 1 + path: tests/Service/Access/AccessPolicyFactoryModuleResolverTest.php + + - + message: '#^Public property "MintyPHP\\Tests\\Service\\Auth\\DummyAuthSessionProvider\:\:\$clearCalls" is never used$#' + identifier: public.property.unused + count: 1 + path: tests/Service/Auth/AuthSessionTenantContextServiceTest.php + + - + message: '#^Public property "MintyPHP\\Tests\\Service\\Auth\\DummyAuthSessionProvider\:\:\$populateCalls" is never used$#' + identifier: public.property.unused + count: 1 + path: tests/Service/Auth/AuthSessionTenantContextServiceTest.php + + - + message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\ will always evaluate to true\.$#' + identifier: method.alreadyNarrowedType + count: 1 + path: tests/Service/Ui/HotkeyServiceTest.php + + - + message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\ will always evaluate to true\.$#' + identifier: method.alreadyNarrowedType + count: 1 + path: tests/Service/Ui/HotkeyServiceTest.php + + - + message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsString\(\) with string will always evaluate to true\.$#' + identifier: method.alreadyNarrowedType + count: 1 + path: tests/Service/Ui/HotkeyServiceTest.php + + - + message: '#^Offset ''minty_app_container'' on non\-empty\-array\ on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 2 + path: tests/Support/AppContainerIsolationTraitTest.php + + - + message: '#^Public method "AnonymousClass1c441bccb4cb10bf3a2542eabe719765\:\:push\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Support/AppContainerIsolationTraitTest.php + + - + message: '#^Public method "AnonymousClass1c441bccb4cb10bf3a2542eabe719765\:\:restore\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Support/AppContainerIsolationTraitTest.php + + - + message: '#^Public method "AnonymousClassf5f764714a6bd2e1e2d0d4b8a5ccd1f5\:\:push\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Support/AppContainerIsolationTraitTest.php + + - + message: '#^Public method "AnonymousClassf5f764714a6bd2e1e2d0d4b8a5ccd1f5\:\:restore\(\)" is never used$#' + identifier: public.method.unused + count: 1 + path: tests/Support/AppContainerIsolationTraitTest.php diff --git a/phpstan.neon b/phpstan.neon index fc73e44..716d8b7 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,3 +1,7 @@ +includes: + - vendor/tomasvotruba/unused-public/config/extension.neon + - phpstan-baseline.neon + parameters: level: 5 phpVersion: 80499