Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

chore(canonical): pilot-refinements absorbed from Phase 2-fleet rollout#51

Merged
rubenvdlinde merged 1 commit into
developmentfrom
chore/canonical-pilot-refinements
May 21, 2026
Merged

chore(canonical): pilot-refinements absorbed from Phase 2-fleet rollout#51
rubenvdlinde merged 1 commit into
developmentfrom
chore/canonical-pilot-refinements

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Summary

Four refinements identified during the 16-app Phase 2 fleet rollout, absorbed back into the canonical so future syncs are cleaner.

  1. psalm.xml ignoreFiles adds lib/Resources/template — mirrors the existing phpcs/phpstan excludes for apps shipping a verbatim template snapshot (openbuilt). No-op for apps without the directory.
  2. psalm.xml gains errorBaseline="psalm-baseline.xml" + ships an empty psalm-baseline.xml as the canonical tracked-debt entry point. openregister/mydash/opencatalogi/docudesk already used this pattern ad-hoc; making it canonical means every app's psalm tracked debt has a uniform home. Mirrors the phpstan-baseline.neon pattern from chore(canonical): ship baseline-include pattern + pilot fixes #49.
  3. psalm.xml referencedClass list gains OCA\OpenRegister\Service\RiskLevelService and OCA\OpenRegister\Db\EntityRelationMapper. docudesk surfaced these as needed-but-missing; promoting fleetwide so per-app additions aren't required (per the no-per-app-rules directive).
  4. phpstan.neon ignoreErrors gains the OC\Security\CSRF\ family. pipelinq surfaced CsrfTokenManager during the sync (no OCP equivalent yet); this is server-internal and applies fleetwide.

Test plan

  • psalm.xml + psalm-baseline.xml: valid XML
  • phpstan.neon: parses; 31 ignoreErrors patterns
  • CI green on template's own lib/

Four refinements identified during the 16-app fleet rollout (Phase 2),
absorbed back into the canonical so the next round of fleet syncs is
cleaner:

1. psalm.xml ignoreFiles adds lib/Resources/template — mirrors the
   existing phpcs/phpstan excludes for apps shipping a verbatim
   template snapshot (openbuilt). No-op for apps without the directory.

2. psalm.xml gains errorBaseline="psalm-baseline.xml" + ships an empty
   psalm-baseline.xml as the canonical tracked-debt entry point.
   openregister/mydash/opencatalogi/docudesk already used this pattern
   ad-hoc; making it canonical means every app's psalm tracked debt
   has a uniform home. Mirrors the phpstan-baseline.neon pattern from
   nextcloud-app-template #49.

3. psalm.xml referencedClass list gains
   OCA\OpenRegister\Service\RiskLevelService and
   OCA\OpenRegister\Db\EntityRelationMapper. docudesk surfaced these
   as needed-but-missing; promoting fleetwide so per-app additions
   aren't required (per the no-per-app-rules directive).

4. phpstan.neon ignoreErrors gains the OC\Security\CSRF\ family.
   Pipelinq surfaced CsrfTokenManager during the sync (no OCP
   equivalent yet); this is server-internal and applies fleetwide.
@rubenvdlinde rubenvdlinde merged commit 8bfb00e into development May 21, 2026
15 of 22 checks passed
@rubenvdlinde rubenvdlinde deleted the chore/canonical-pilot-refinements branch May 21, 2026 21:29
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/nextcloud-app-template @ 8ec857f

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm ❌ 2/684 denied
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

❌ Denied npm licenses

Package Version License
pako 1.0.11 (MIT AND Zlib)
sha.js 2.4.12 (MIT AND BSD-3-Clause)

Quality workflow — 2026-05-21 21:29 UTC

Download the full PDF report from the workflow artifacts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant