Commit a7fc85674b for wordpress.org
commit a7fc85674bb8fbaa7cc9a8455e7802531d006c75
Author: westonruter <westonruter@git.wordpress.org>
Date: Wed Nov 4 21:22:04 2026 +0000
Build/Test Tools: Introduce phpstan-strict-rules.
This adds `phpstan/phpstan-strict-rules` as a development dependency so that its rules can be enabled in a local `phpstan.neon` to work toward compliance, and it enables by default the rules which core already complies with or which enforce the WordPress Coding Standards:
* Disallow the backtick operator.
* Disallow short ternaries (the one remaining instance is replaced).
* Disallow `$this` in closures.
* Require inherited method names to match in case.
The rules are registered individually rather than by including the package's `rules.neon`, because that file also makes several PHPStan parameters stricter even when its rules are disabled, and because a local config including it would otherwise fail on the duplicate include. The README documents how to opt into the other rules locally, and the roles of `base.neon` and `phpstan.neon.dist` are clarified so that local configs include the latter rather than copying it.
Developed in https://github.com/WordPress/wordpress-develop/pull/15399.
Follow-up to r61699, r63420.
Props westonruter, apermo.
See #65817.
Built from https://develop.svn.wordpress.org/trunk@65265
git-svn-id: http://core.svn.wordpress.org/trunk@64414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/version.php b/wp-includes/version.php
index e9c3789edc..d7ce336e02 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-beta4-65264';
+$wp_version = '7.2-beta4-65265';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.