From 636847800dac4326b1e199c8031e018a40feff31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20Felix=20=C5=A0ulc?= Date: Sun, 24 Jan 2021 13:43:02 +0100 Subject: [PATCH] Allow tracy 2.X.Y --- composer.json | 4 ++-- tests/cases/DI/TracyLoggingExtension.phpt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index efb615d..3be9816 100644 --- a/composer.json +++ b/composer.json @@ -13,12 +13,12 @@ ], "require": { "php": ">= 7.1", - "tracy/tracy": "~2.5.5" + "tracy/tracy": "^2.5.5" }, "require-dev": { "ext-json": "*", "ninjify/qa": "^0.8.0", - "ninjify/nunjuck": "^0.2.0", + "ninjify/nunjuck": "^0.4.0", "nette/di": "^2.4.14 || ^3.0.0", "sentry/sentry": "^1.9.2" }, diff --git a/tests/cases/DI/TracyLoggingExtension.phpt b/tests/cases/DI/TracyLoggingExtension.phpt index ea4cc45..09c16e8 100644 --- a/tests/cases/DI/TracyLoggingExtension.phpt +++ b/tests/cases/DI/TracyLoggingExtension.phpt @@ -22,7 +22,7 @@ test(function (): void { $compiler->addExtension('logging', new TracyLoggingExtension()); $compiler->addExtension('tracy', new TracyExtension()); }, 1); - }, AssertionException::class, 'The logging directory (logDir) expects to be string, NULL given.'); + }, AssertionException::class, 'The logging directory (logDir) expects to be string, %a% given.'); }); test(function (): void {