Commit 0f9b459586 for wordpress.org

commit 0f9b4595868c2ec2fa3d5ffeee70020109c4dd71
Author: westonruter <westonruter@git.wordpress.org>
Date:   Fri Nov 27 20:17:02 2026 +0000

    Build/Test Tools: Add tests for the PHPStan extensions.

    The extensions in `tests/phpstan` change what PHPStan reads out of core, deriving types from hash notation and `@global` tags, typing filtered values, and checking hook documentation, so a defect in one surfaces only as a quiet change in what the analysis reports. They are now covered by a PHPUnit suite built on PHPStan's test harness, which runs them against fixtures rather than against core, with hook reference comments resolving against a small fixture tree instead of `src`. It is run with `composer phpstan:test` or `npm run typecheck:php:test`.

    Since the harness parses every file as an analyzed one, it cannot see whether the redefinition of the simple parser in `base.neon` still applies, which is what gives a file that is only scanned the same derived types. One test therefore runs a real analysis with `base.neon` to cover it, so that a PHPStan upgrade renaming the service it redefines fails a test rather than quietly undoing it.

    In CI, the suite runs in the analysis of the whole codebase, after its results are reported, so that a failing test does not also leave a pull request without its annotations. It is skipped on branches that do not have it.

    Developed in https://github.com/WordPress/wordpress-develop/pull/15850.
    Follow-up to r62292, r62939, r63420, r63462.

    Props johnbillion, lucatume, westonruter.
    Fixes #66634.

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


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

diff --git a/wp-includes/version.php b/wp-includes/version.php
index 0519ebae33..1d06030c77 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.3-alpha-65807';
+$wp_version = '7.3-alpha-65808';

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