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

move-elevator / typo3-image-compression / 35990673423
91%

Build:
DEFAULT BRANCH: main
Ran 24 Sep 2026 11:03AM UTC
Jobs 1
Files 45
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

24 Sep 2026 11:02AM UTC coverage: 90.314% (+0.3%) from 90.047%
35990673423

push

github

web-flow
feat: add a compressor chain with per-MIME support and fallback provider (#67)

* feat: dispatch PSR-14 events before and after image compression

* feat: add PSR-14 events around image compression

* test: cover BeforeImageCompressionEvent and AfterImageCompressionEvent

* feat: dispatch compression events from local-tools and local-basic providers

* test: cover PSR-14 event dispatch in compressor implementations

* test: cover PSR-14 compression event dispatch in TinifyCompressor

* test: cover before/after event dispatch and quality overrides

* test: cover PSR-14 event dispatch and quality override in local compressors

* test: cover PSR-14 compression event dispatch in LocalToolsCompressor

* test: cover before/after event dispatch and quality overrides in local providers

* test: cover PSR-14 compression event dispatch in LocalBasicCompressor

* test: cover before/after event dispatch in local-basic provider

* test: cover PSR-14 event dispatch in LocalBasicCompressor

* chore(deps): declare psr/event-dispatcher as an explicit dependency

* refactor: promote readonly to class level in AfterImageCompressionEvent

* fix: isolate listener failures from compression status and clamp quality events

TinifyCompressor dispatched AfterImageCompressionEvent inside the same
try/catch that handles compression errors, so a listener exception was
caught and routed through saveError(), overwriting the compression status
that had already been persisted as successful. The dispatch now happens
after the try/catch, so a listener exception propagates instead of being
misclassified as a compression failure.

BeforeImageCompressionEvent's quality setters accepted any int, letting a
listener push jpeg/png/webp quality outside the 1-100 range the local
compressors expect; they now clamp the same way ExtensionConfiguration
already does for the configured settings.

Also excludes Classes/Event/* from the Classes/* autowired service resource
in Services.yaml, alongside t... (continued)

49 of 49 new or added lines in 6 files covered. (100.0%)

1958 of 2168 relevant lines covered (90.31%)

4.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35990673423.1 24 Sep 2026 11:03AM UTC 45
90.31
GitHub Action Run
Source Files on build 35990673423
  • Tree
  • List 45
  • Changed 6
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35990673423
  • 436d671d on github
  • Prev Build on main (#35989236511)
  • Next Build on main (#35993042228)
  • 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