Skip to content

Tracer: bump PHP to 8.4 - #377

Merged
f3l1x merged 1 commit into
masterfrom
tracer-php84
Oct 23, 2026
Merged

f3l1x merged 1 commit into
masterfrom
tracer-php84

Conversation

@f3l1x

@f3l1x f3l1x commented Oct 23, 2026

Copy link
Copy Markdown
Member

Bumps tracer from EOL php:7.4 to php:8.4-cli-alpine.

  • contributte/* 0.5 depend on nette/utils 3.x / nette/di (no PHP 8.4 support, and they emit deprecations). Code only used Tracy\Debugger and Strings::startsWith, so: require tracy/tracy directly, use str_starts_with(), drop contributte/{tracy,utils,monolog}. Lock regenerated (1465 lines mostly removed).

Tested (linux/amd64 build, PHP 8.4.27): image builds; docker run prints Collector collected "0" URLs and exits 0, no deprecations; with an unresolvable TRACER_SRC_SITEMAP it prints a clean error. Note: dev-only ninjify/nunjuck test bootstrap hits lcg_value() deprecation on 8.4 (tests are not run in CI or the image).

Base image php:7.4-cli-alpine (EOL) -> php:8.4-cli-alpine, php constraint ^8.0.
contributte/{tracy,utils,monolog} 0.5 pull in nette/utils 3.x / nette/di, which
do not support PHP 8.4. Only Tracy\Debugger and Strings::startsWith were used,
so require tracy/tracy directly and use str_starts_with(). Regenerated lock.

Co-Authored-By: Claude <noreply@anthropic.com>
@f3l1x
f3l1x merged commit 7450685 into master Oct 23, 2026
3 checks passed
@f3l1x
f3l1x deleted the tracer-php84 branch October 23, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant