From 1f0b1713829c2fc8d05f18895f93020bb708e508 Mon Sep 17 00:00:00 2001 From: Franck DAKIA Date: Wed, 18 Dec 2024 05:20:34 +0000 Subject: [PATCH] fix: echo --- composer.json | 5 +++-- src/Lexique/CompileEchos.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 738512b..35a64f0 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,8 @@ "license": "MIT", "keywords": ["Tintin", "View Engine", "Php Template", "Franck DAKIA", "common mark", "Bow Markdown", "bow-Markdown", "Papac"], "require": { - "php": "^8.1" + "php": "^8.1", + "bowphp/framework": "^5.1" }, "authors": [ { @@ -18,7 +19,7 @@ } }, "require-dev": { - "phpunit/phpunit": "^8", + "phpunit/phpunit": "^9", "squizlabs/php_codesniffer": "3.*", "laravel/framework": "^8.0", "spatie/phpunit-snapshot-assertions": "^4.2" diff --git a/src/Lexique/CompileEchos.php b/src/Lexique/CompileEchos.php index 235db6e..776f8fa 100644 --- a/src/Lexique/CompileEchos.php +++ b/src/Lexique/CompileEchos.php @@ -45,7 +45,7 @@ protected function compileEcho(string $expression): string return $value; } - return ''; + return ''; }, $expression); return $output == $expression ? '' : $output;