Skip to content

fix: clear development's reds (boot test on Nextcloud 32 to 34, gate 102 placeholders) - #1570

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/dev-red-gate-102-and-boot-test
Oct 14, 2026
Merged

rubenvdlinde merged 1 commit into
developmentfrom
fix/dev-red-gate-102-and-boot-test

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Development 31cf029 (push run 38611485799, 46 checks: 32 pass, 8 fail, 6 skipped) is red on two portaliq causes. This PR clears both.

PHPUnit, 6 of 8 cells (PHP 8.3 and 8.4 on stable32, 33, 34). HostRootRedirectBootTest mocked getAppContainer() with a bare ContainerInterface. Nextcloud 32 to 34 declare that method as returning IAppContainer; 35 declares ContainerInterface. So only the two stable35 cells passed. The stand-in is now an IAppContainer mock, which extends ContainerInterface and fits both. Control: a method typed IAppContainer refuses the bare mock (IncompatibleReturnValueException, the CI error) and accepts the IAppContainer one.

Hydra Gates, gate 102. The language and web-address chips fields from #1536 carry the placeholders nl and https://www.example.nl without an nl.json key. Both keys are added to nl.json and en.json, npm run l10n:build run.

Quality Report follows Hydra Gates and clears with it.

Verified locally (exit codes):

  • gate 102 checker (check_manifest_l10n_coverage.py): 0, 483 strings
  • check:l10n-js, check:schema-l10n, check:manifest, check:json-strict: 0
  • phpunit --no-coverage tests/Unit/AppInfo/HostRootRedirectBootTest.php: 6 tests OK (local ocp is 35, so the old signature was checked by the control above, not by this run)

Inherited: phpcs reports named-argument findings across this test file, the same on development; tests/ is outside phpcs.xml's scope.

…n Nextcloud 32 to 34)

The boot test mocked getAppContainer() with a bare ContainerInterface.
Nextcloud 32 to 34 declare that method as returning IAppContainer, so
six PHPUnit cells failed on development 31cf029; only stable35 passed.
IAppContainer extends ContainerInterface, so one stand-in fits every
version. Control: a mock of an IAppContainer-typed method refuses the
bare stand-in and accepts IAppContainer.

Gate 102: the language and web-address chips fields from #1536 carry
placeholders 'nl' and 'https://www.example.nl' without an nl.json key.
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/portaliq @ 38c11b5

Check PHP Vue Security License Tests
lint ✅
phpcs ✅
phpmd ✅
psalm ✅
phpstan ✅
phpmetrics ✅
eslint ✅
stylelint ✅
build ✅
check-specs ✅
check-manifest ✅
format ✅
check-l10n-js ✅
check-schema-l10n ✅
check-reuse ✅
composer ✅ ✅ 108/108
npm ✅ ✅ 984/984
app:check-code ⏭️
info.xml ✅
REUSE ✅
lockfile sync ✅
PHPUnit ✅ 3883/3883 · 1 skipped
Newman ✅ 1/1
Playwright ⏭️ deferred: E2E runs locally and on the promotion path only. This pull request targets development, so the suite is asked once per promotion into beta and main rather than once per push per open pull request. Run it locally with npx playwright test, or from the Actions tab on a branch with no open pull request into development.
Hydra gates ✅

Quality workflow — 2026-10-14 19:17 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit 95b096c into development Oct 14, 2026
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant