From 3c027255c89669b0fa33c9a46d68e9965f112359 Mon Sep 17 00:00:00 2001 From: magdev Date: Sun, 3 May 2026 13:14:22 +0200 Subject: [PATCH] =?UTF-8?q?caddyfile:=20apply=20caddy=20fmt=20=E2=80=94=20?= =?UTF-8?q?silence=20"input=20is=20not=20formatted"=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FrankenPHP logs a warning on every boot: Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies Cosmetic but clutters the dev console (and the bundled-mode logs). The actual diff is one blank line in each file: caddy fmt rejects an empty line between a leading comment and the `{` global-options block. tests/var/Caddyfile was already clean. Co-Authored-By: Claude Opus 4.7 (1M context) --- examples/todo/Caddyfile | 1 - framework/skeleton/Caddyfile | 1 - 2 files changed, 2 deletions(-) diff --git a/examples/todo/Caddyfile b/examples/todo/Caddyfile index 58925f4..ccbc5f2 100644 --- a/examples/todo/Caddyfile +++ b/examples/todo/Caddyfile @@ -4,7 +4,6 @@ # - dev mode → env unset, defaults below match symfony/.env # - bundled mode → BackendConnection sets PORT and MERCURE_*_JWT_KEY # before launching FrankenPHP. - { auto_https off admin off diff --git a/framework/skeleton/Caddyfile b/framework/skeleton/Caddyfile index 38de6ef..5fa0ff0 100644 --- a/framework/skeleton/Caddyfile +++ b/framework/skeleton/Caddyfile @@ -6,7 +6,6 @@ # before launching FrankenPHP. # # Caddyfile {$VAR:default} syntax substitutes env vars at parse time. - { auto_https off admin off