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

konradmichalik / typo3-file-sync / 32383467378

20 Aug 2026 02:59PM UTC coverage: 87.13% (-0.3%) from 87.468%
32383467378

push

github

web-flow
fix: guard against closed response body in RemoteInstanceResource (#40)

* fix: guard against closed response body in RemoteInstanceResource

* test: cover remote file fetching against a real HTTP server

* fix: retry test server bind on port allocation race

Releasing the discovered port before binding the built-in PHP server left a window where another process could claim it, causing sporadic skips on CI.

* chore(deps): allow phpstan-typo3-preset ^0.4

0.3.x requires both rector/type-perfect and an unconstrained tomasvotruba/type-coverage, which register the same PHPStan service twice and break static analysis. 0.4.0 caps type-coverage to avoid the collision.

* fix: resolve strict PHPStan rule violations from ergebnis/phpstan-rules

Narrow visibility to private where methods are only used internally, replace
error suppression on unlink() with an explicit is_file() guard, drop a named
argument in favor of positional, and remove a constructor default that no
caller relies on. The two remaining violations (a dynamically resolved handler
class passed to GeneralUtility::makeInstance(), and the resulting optional
constructor parameter needed for that instantiation contract) are baselined
since fixing them would require changing the public resource handler API.

13 of 18 new or added lines in 5 files covered. (72.22%)

1 existing line in 1 file now uncovered.

677 of 777 relevant lines covered (87.13%)

3.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.06
/Classes/Repository/FileRepository.php


Source Not Available

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