Issue Task Resolved

#110599Fix CGL violation in NonPublicStorageIndexingTest

Stefan Bürk 09/02/26, 10:57 updated 09/02/26, 11:20

Description

Problem

The coding guidelines check fails on main. Running the CGL fixer over
the code base reports one file that needs to be fixed:

bc. typo3/sysext/indexed_search/Tests/Functional/NonPublicStorageIndexingTest.php

The file creates a request object and wraps the constructor call in
parentheses before chaining a method call on it. The configured rule set
expects the form without the wrapping parentheses, which is used
everywhere else in the code base.

How it slipped in

The file was added recently. The commit hook and the “cglGit” suite only
inspect the files of the latest commit, and the violation was introduced
in a state where it was not reported, so nothing rejected it.

Expected

The CGL suite is green on main again.

Reviews 1

History 12

  1. Stefan Bürk commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-09-02T11:20:09+00:00" > 09/02/26, 11:20 </span>

    Applied in changeset commit:4f5b7120594e83e45418612fa74e7f6b0b66f7ab.