Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tracer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.4-cli-alpine
FROM php:8.4-cli-alpine

LABEL maintainer="Milan Sulc <sulcmil@gmail.com>"

Expand Down
5 changes: 2 additions & 3 deletions tracer/bin/tracer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php declare(strict_types = 1);

use Contributte\Utils\Strings;
use Dockette\Rendertron\Tracer\Tracer;
use Tracy\Debugger;

Expand All @@ -22,10 +21,10 @@
]);

foreach ($env as $key => $value) {
if (Strings::startsWith($key, 'TRACER_SRC_SITEMAP')) {
if (str_starts_with($key, 'TRACER_SRC_SITEMAP')) {
$tracer->addResourceSitemap($value);
}
if (Strings::startsWith($key, 'TRACER_SRC_SITEMAP_LIST')) {
if (str_starts_with($key, 'TRACER_SRC_SITEMAP_LIST')) {
$tracer->addResourceSitemapList($value);
}
}
Expand Down
6 changes: 2 additions & 4 deletions tracer/composer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"require": {
"php": "^7.3",
"php": "^8.0",
"ext-simplexml": "*",
"guzzlehttp/guzzle": "^7.3.0",
"contributte/tracy": "^0.5.1",
"contributte/utils": "^0.5.0",
"contributte/monolog": "^0.5.0"
"tracy/tracy": "^2.10"
},
"require-dev": {
"contributte/dev": "^0.3",
Expand Down
Loading
Loading