Commit 1ac3fa25d5 for wordpress.org

commit 1ac3fa25d59d0a0af0924687f5f9bbea0240ee1e
Author: westonruter <westonruter@git.wordpress.org>
Date:   Wed Nov 18 23:07:52 2026 +0000

    Build/Test Tools: Hold a project subset to PHPStan rule level 10.

    PHPStan analyzes all of core at rule level 5, but much of the code added in recent releases, such as the Abilities API and the AI client, already meets or nearly meets level 10. A second analysis now holds a selected set of paths to level 10, so that they cannot regress, and so that the set can grow as more files are brought up to that level, without raising the level for the entire project.

    PHPStan has no per-path rule levels, so the strict paths have a configuration of their own, `phpstan-strict.neon.dist`, which includes `phpstan.neon.dist`, replaces its paths with the strict ones, and scans the rest of core so that its symbols are known. Its baselines in `tests/phpstan/baselines-strict/` hold only what level 10 adds in the strict paths, since it includes the default baselines too. The two analyses are named "default" and "strict" rather than after their levels, since either level can be raised. The narrowed analysis relies on PHPStan 2.3.6, which no longer reports an ignored error as unmatched when its file is not analyzed.

    `composer phpstan` now runs both analyses. Also, `composer phpstan:baselines` and `composer phpstan:fix` handle both baseline directories. In CI, the two analyses run as parallel jobs, whose results are merged into the pull request comment. The headers of the default baselines change only to name the configuration they are regenerated with.

    Developed in https://github.com/WordPress/wordpress-develop/pull/16021.
    Follow-up to r61699, r64539, r65372, r65537, r65566.

    Props westonruter, apermo.
    See #65817.

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


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

diff --git a/wp-includes/version.php b/wp-includes/version.php
index bbdaef9826..1fce53aa2e 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.2-RC2-65667';
+$wp_version = '7.2-RC2-65668';

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