Issue Task Resolved

#111484Unit test TypoLinkTagSoftReferenceParserTest fails on main

Benni Mack 11/17/26, 19:49 updated 11/17/26, 20:10

Description

TypoLinkTagSoftReferenceParserTest::findRefTokenizesPageUidAndContentElementOfPageLinkWithNumericFragment registers LinkService with GeneralUtility::setSingletonInstance().

Since LinkService no longer implements SingletonInterface (#111467), this fails with a TypeError, and PHPStan reports an argument.type error. Both changes were merged at about the same time, so main fails the unit test and PHPStan jobs in CI.

The test should provide LinkService through the container, as the other tests in this class do.

Reviews 1

History 12

  1. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-17T20:10:13+00:00" > 11/17/26, 20:10 </span>

    Applied in changeset commit:8272882f3311680a152e7710b05ad2e880fad448.