Commit c000a0858a for wordpress.org

commit c000a0858a6bd1f05b666a5ec5c0706acd683412
Author: westonruter <westonruter@git.wordpress.org>
Date:   Tue Nov 10 06:53:00 2026 +0000

    Build/Test Tools: Add a script to fix stale PHPStan baselines.

    Since PHPStan 2.3.5, its `--fix` option removes stale ignores in place: it lowers the count of a baseline entry whose error now occurs fewer times, removes an entry that matches nothing, and removes an `@phpstan-ignore` comment that no longer ignores anything. That is quicker than regenerating the baselines, since it reuses the result cache, and it also clears the stale inline ignores, which regenerating leaves to be removed by hand.

    The new `composer phpstan:fix` script (and `npm run typecheck:php:fix`) runs PHPStan with `--fix`, then the baseline generator with its new `--prune` option, which deletes any baseline left with no entries along with its `includes` entry, and then the analysis once more, since `--fix` reports only what it fixed and succeeds even when other errors remain. Both analyses use `phpstan.neon.dist`, because a local configuration at another rule level can report a baselined error with a different message, and `--fix` would then remove entries that the default configuration still needs.

    The CI annotations, step summary, and pull request comment now recommend the new script, and the annotation of an error that PHPStan can fix itself says so.

    Developed in https://github.com/WordPress/wordpress-develop/pull/15479.
    Follow-up to r63019, r64539, r65310.

    Props westonruter, apermo.
    See #65817.

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


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

diff --git a/wp-includes/version.php b/wp-includes/version.php
index 42da5ef265..a8cf97cb7c 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.2-beta4-65371';
+$wp_version = '7.2-beta4-65372';

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