From 8474ca338d49b154b82cc0917f4c574f112b030f Mon Sep 17 00:00:00 2001 From: mscherer Date: Sun, 4 Jan 2026 02:23:28 +0100 Subject: [PATCH 1/2] Add missing command description for compile --- src/Command/CompileCommand.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Command/CompileCommand.php b/src/Command/CompileCommand.php index 6fad77a..2b61a47 100644 --- a/src/Command/CompileCommand.php +++ b/src/Command/CompileCommand.php @@ -18,6 +18,14 @@ class CompileCommand extends BaseCommand */ protected TwigView $twigView; + /** + * @return string + */ + public static function getDescription(): string + { + return 'Compile Twig templates for caching.'; + } + /** * @inheritDoc */ From bd5f94d1d15c4fa9719ad4aa873e4d4e64a9f484 Mon Sep 17 00:00:00 2001 From: mscherer Date: Sun, 4 Jan 2026 05:39:59 +0100 Subject: [PATCH 2/2] Fix typo in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f628fb..d5a5650 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This plugin allows you to use the [Twig Templating Language](https://twig.symfony.com/doc/) for your views. -It provides wrappers for common View opertions and many helpful extensions that expose CakePHP functions and `jasny/twig-extensions` helpers. +It provides wrappers for common View operations and many helpful extensions that expose CakePHP functions and `jasny/twig-extensions` helpers. ## Installation