From fe9bacfedfe31f551980b4ab171537b215a6fe1f Mon Sep 17 00:00:00 2001 From: jrfnl Date: Thu, 11 Sep 2025 18:49:06 +0200 Subject: [PATCH] Example ruleset: update some recommended settings * Generally we recommend for the `minimum_wp_version` to be ~3 versions behind the latest WP release (currently 6.8.2). * To align with this, I'm setting the `testVersion` for PHPCompatibility to PHP 7.0 or higher (which was the minimum PHP version in WP 6.5). --- phpcs.xml.dist.sample | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpcs.xml.dist.sample b/phpcs.xml.dist.sample index 64be6228c3..cfb232b862 100644 --- a/phpcs.xml.dist.sample +++ b/phpcs.xml.dist.sample @@ -78,7 +78,7 @@ https://github.com/PHPCompatibility/PHPCompatibility --> - +