Commit 481238b250 for wordpress.org

commit 481238b250dcef509a7de93d4c5109dc1ffd9360
Author: westonruter <westonruter@git.wordpress.org>
Date:   Wed Oct 7 22:01:50 2026 +0000

    Build/Test Tools: Update PHPStan to 2.3.0.

    This also updates `phpstan/phpstan-phpunit` to 2.1.1, which requires PHPStan 2.3. The release analyzes code more precisely, so 12 `variable.undefined` baseline entries no longer match. It also reports two comparisons in `WP_HTML_Processor::run_adoption_agency_algorithm()` as constant: every path through the outer loop body returns or calls `bail()`, so the loop never runs a second time. That loop is scaffolding for parts of the algorithm that are not yet supported, so the comparisons are baselined as work still to do.

    PHPStan 2.3 deprecates `ResultCacheMetaExtension`, which `HookDocsResultCacheMetaExtension` implemented to discard the whole result cache whenever a hook docblock inherited through a "This filter is documented in" reference changed. Resolving such a reference now declares each candidate file as a dependency of the file being analyzed, so editing a canonical docblock re-analyzes only the files that inherit it, and the scan of the whole tree that ran on every analysis is gone. The extension also hashed the tooling's own sources, which PHPStan 2.3 already does for every registered extension, so it is removed.

    Developed in https://github.com/WordPress/wordpress-develop/pull/14089.
    Follow-up to r62939, r64012.

    Props westonruter, swissspidy.
    See #65817.

    Built from https://develop.svn.wordpress.org/trunk@64237


    git-svn-id: http://core.svn.wordpress.org/trunk@63388 1a063a9b-81f0-0310-95a4-ce76da25c4cd

diff --git a/wp-includes/version.php b/wp-includes/version.php
index d448bcc9f3..751a83830a 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.2-alpha-64236';
+$wp_version = '7.2-alpha-64237';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.