• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TYPO3BestPractices / tea / 35209580121
100%

Build:
DEFAULT BRANCH: main
Ran 17 Sep 2026 10:17AM UTC
Jobs 1
Files 6
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Sep 2026 10:16AM UTC coverage: 100.0%. Remained the same
35209580121

push

github

web-flow
[TASK] Add an XLIFF formatting fixer (#2333)

Formatting XLIFF files by hand is tedious, and the existing files had
drifted apart: attributes were wrapped over several lines differently
in each file, the attribute order of the xliff root element varied,
and the XML declaration was written in two spellings.

Add Build/Scripts/xliffNormalizer.php, which normalizes the formatting
of all files in Resources/Private/Language using DOMDocument pretty
printing, following the script the TYPO3 Core uses. It fixes the files
in place by default and only reports the offenders with -n/--dry-run,
so that the formatting can be enforced in CI.

The script is wired up as the runTests.sh suite "normalizeXliff" (with
-n for the dry run), as the Composer scripts "fix:xliff:normalize" and
"check:xliff:normalize", and it is part of the aggregate "fix" suite as
well as of "check:static". The check runs in the code quality matrix of
the CI and of the weekly workflow.

The Core script requires PHP 8.3 typed class constants and the PHP 8.4
"new" syntax without parentheses, so those parts have been adapted to
the PHP 8.2 minimum of this extension.

All existing XLIFF files are reformatted accordingly. That change is
purely cosmetic and does not touch any translation content.

Resolves: #1909

Signed-off-by: Stefan Bürk <stefan@buerk.tech>

129 of 129 relevant lines covered (100.0%)

5.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35209580121.1 17 Sep 2026 10:17AM UTC 6
100.0
GitHub Action Run
Source Files on build 35209580121
  • Tree
  • List 6
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35209580121
  • b39be22b on github
  • Prev Build on main (#35208573781)
  • Next Build on main (#35220959785)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc