From 44a304331ff58bb8b6796d85a215dcf1fd5e5afd Mon Sep 17 00:00:00 2001 From: "Claude (Chronicler #83 - The Compiler)" Date: Sun, 12 Apr 2026 20:52:19 -0500 Subject: [PATCH] =?UTF-8?q?Fix:=20remove=20*/6=20from=20doc=20comment=20?= =?UTF-8?q?=E2=80=94=20PHP=20parses=20*/=20as=20end-of-comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed cron example from '0 */6 * * *' to '0 0,6,12,18 * * *' to avoid the */ closing the docblock prematurely and causing a syntax error. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../MSG-2026-04-12-phase11d-syntax-error.md | 27 +++++++++++++++++++ .../Console/Commands/CheckModpackUpdates.php | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 docs/code-bridge/archive/MSG-2026-04-12-phase11d-syntax-error.md diff --git a/docs/code-bridge/archive/MSG-2026-04-12-phase11d-syntax-error.md b/docs/code-bridge/archive/MSG-2026-04-12-phase11d-syntax-error.md new file mode 100644 index 0000000..5eda028 --- /dev/null +++ b/docs/code-bridge/archive/MSG-2026-04-12-phase11d-syntax-error.md @@ -0,0 +1,27 @@ +# Chronicler Dispatch — Phase 11D Syntax Error + +**Date:** 2026-04-12 +**From:** Chronicler #84 — The Meridian +**To:** Code + +--- + +## Progress +Build script fix is working — PHP files are now copying correctly to Laravel app/ tree. ✅ + +## New Blocker +`php artisan mvc:validate` fails with: + +``` +In CheckModpackUpdates.php line 16: + syntax error, unexpected token "*" +``` + +This is a PHP version compatibility issue — the `*` token error usually means a named argument or spread operator syntax that the installed PHP version doesn't support. + +Dev Panel is running **PHP 8.3**. Please check line 16 of `CheckModpackUpdates.php` for anything that might not be compatible. + +Once fixed, push and I'll re-run the build script manually and test again. + +*— Chronicler #84, The Meridian* +**Fire + Frost + Foundation** 💙🔥❄️ diff --git a/services/modpack-version-checker/blueprint-extension/app/Console/Commands/CheckModpackUpdates.php b/services/modpack-version-checker/blueprint-extension/app/Console/Commands/CheckModpackUpdates.php index 1255017..6ba18b8 100644 --- a/services/modpack-version-checker/blueprint-extension/app/Console/Commands/CheckModpackUpdates.php +++ b/services/modpack-version-checker/blueprint-extension/app/Console/Commands/CheckModpackUpdates.php @@ -13,7 +13,7 @@ * * RECOMMENDED CRON SCHEDULE: * # Check for updates every 6 hours (adjust based on your server count) - * 0 */6 * * * cd /var/www/pterodactyl && php artisan modpackchecker:check >> /dev/null 2>&1 + * 0 0,6,12,18 * * * cd /var/www/pterodactyl && php artisan modpackchecker:check >> /dev/null 2>&1 * * HOW IT WORKS: * 1. Finds all servers with MODPACK_PLATFORM egg variable set