From 9e729f289b0a1467f0e21545c111a80b8b830214 Mon Sep 17 00:00:00 2001 From: John Jago Date: Tue, 6 Aug 2024 12:38:18 -0500 Subject: [PATCH] Documentation: Update PHPCompatibilityWP version recommendation to 7.2 As of WordPress 6.6, released on 16 July 2024, WordPress no longer supports PHP 7.0 and 7.1 References: https://make.wordpress.org/core/2024/04/08/dropping-support-for-php-7-1/ https://wordpress.org/news/2024/07/dorsey/ --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6876f5cf1..67210f989 100644 --- a/README.md +++ b/README.md @@ -157,13 +157,13 @@ The [PHPCompatibilityWP](https://github.com/PHPCompatibility/PHPCompatibilityWP) Install either as a separate ruleset and run it separately against your code or add it to your custom ruleset, like so: ```xml - + *\.php$ ``` -Whichever way you run it, do make sure you set the `testVersion` to run the sniffs against. The `testVersion` determines for which PHP versions you will receive compatibility information. The recommended setting for this at this moment is `7.0-` to support the same PHP versions as WordPress Core supports. +Whichever way you run it, do make sure you set the `testVersion` to run the sniffs against. The `testVersion` determines for which PHP versions you will receive compatibility information. The recommended setting for this at this moment is `7.2-` to support the same PHP versions as WordPress Core supports. For more information about setting the `testVersion`, see: * [PHPCompatibility: Sniffing your code for compatibility with specific PHP version(s)](https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions)