From 3cd6d526fc0939cc13a87c598a799a74b866f4f8 Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Wed, 5 Nov 2025 18:15:34 +0000 Subject: [PATCH] Update wp-env configuration for local development MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update .wp-env.json to standardize local development environment with: - PHP 8.0 (plugin minimum) - Latest WordPress (auto-updates) - Query Monitor auto-installed - Debug constants enabled - Test environment with PHP 8.4 + WordPress trunk 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .wp-env.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.wp-env.json b/.wp-env.json index 75c3e82e..725a111e 100644 --- a/.wp-env.json +++ b/.wp-env.json @@ -1,3 +1,20 @@ { - "plugins": [ "." ] + "plugins": [ + "." + ], + "phpVersion": "8.0", + "config": { + "WP_DEBUG": true, + "WP_DEBUG_LOG": true, + "SCRIPT_DEBUG": true + }, + "lifecycleScripts": { + "afterStart": "wp-env run cli wp plugin install query-monitor --activate" + }, + "env": { + "tests": { + "phpVersion": "8.4", + "core": "WordPress/WordPress#trunk" + } + } }