You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(psalm): fix the real type problems, narrow the suppressions, replace the deprecated OCP calls (#1283)
Psalm: 389 errors when every suppression is lifted, down to 327, none of them a type or docblock problem. psalm.xml goes from 33 global suppressions to 2 (UnusedClass, PossiblyUnusedMethod, both DI); the rest are scoped per file with reasons, and UndefinedClass from 74 listed classes to 19.
Deprecated OCP calls: all 20 from the audit plus IUserManager::search replaced with the APIs their deprecation notes name (isEnabledForAnyone, IUserConfig, IAppConfig, IResult, a pure SqlIdentifierQuoter on getDatabaseProvider, IBootContext::injectFn, searchDisplayName). No app id string was changed.
New tests: PreferencesControllerTest, SqlIdentifierQuoterTest, a Health degraded-version test and an untitled-row warning test, each mutation-checked.
Left: IAppManager::getInstalledApps in DemoDataService and SeedProfileService, because hydra gate 66 does not recognise getEnabledApps() as an OpenRegister availability guard.
Refs #1277
0 commit comments