Commit 87f6a4dfe7 for wordpress.org

commit 87f6a4dfe76d4a726ca7ba2387235a68466fea36
Author: westonruter <westonruter@git.wordpress.org>
Date:   Tue Dec 1 02:35:59 2026 +0000

    Code Quality: Resolve the `method.unused` PHPStan errors.

    The three private methods in the baseline are unused in core on purpose, so they are kept and ignored inline with a reason rather than left in a baseline, which would invite contributors to remove them. This empties the baseline, so it is removed.

    Developed in https://github.com/WordPress/wordpress-develop/pull/16254.
    Follow-up to r42766, r44787, r60999, r63023, r65773.

    Props huzaifaalmesbah, mukesh27.
    See #66739.

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


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

diff --git a/wp-admin/includes/class-wp-internal-pointers.php b/wp-admin/includes/class-wp-internal-pointers.php
index 0e11d759a9..1f63c0b068 100644
--- a/wp-admin/includes/class-wp-internal-pointers.php
+++ b/wp-admin/includes/class-wp-internal-pointers.php
@@ -115,6 +115,8 @@ final class WP_Internal_Pointers {
 	 * @param string $pointer_id The pointer ID.
 	 * @param string $selector   The HTML elements, on which the pointer should be attached.
 	 * @param array  $args       Arguments to be passed to the pointer JS (see wp-pointer.js).
+	 *
+	 * @phpstan-ignore method.unused (Kept for the pointer_* methods that future admin pointers add to this class.)
 	 */
 	private static function print_js( $pointer_id, $selector, $args ) {
 		if ( empty( $pointer_id ) || empty( $selector ) || empty( $args ) || empty( $args['content'] ) ) {
diff --git a/wp-includes/class-wp-http.php b/wp-includes/class-wp-http.php
index de53011d11..39e9ecb997 100644
--- a/wp-includes/class-wp-http.php
+++ b/wp-includes/class-wp-http.php
@@ -620,6 +620,8 @@ class WP_Http {
 	 * @param array  $args Request arguments.
 	 * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'.
 	 *                        A WP_Error instance upon error.
+	 *
+	 * @phpstan-ignore method.unused (Deprecated in 5.1.0. Core does not remove deprecated methods.)
 	 */
 	private function _dispatch_request( $url, $args ) {
 		static $transports = array();
diff --git a/wp-includes/class-wp-script-modules.php b/wp-includes/class-wp-script-modules.php
index a42b3f3a83..ee36fdb675 100644
--- a/wp-includes/class-wp-script-modules.php
+++ b/wp-includes/class-wp-script-modules.php
@@ -787,6 +787,8 @@ class WP_Script_Modules {
 	 *
 	 * @return array<string, array<string, mixed>> Script modules marked for enqueue, keyed by script module identifier.
 	 * @phpstan-return array<string, ScriptModule>
+	 *
+	 * @phpstan-ignore method.unused (Kept for plugins that call it through the Reflection API.)
 	 */
 	private function get_marked_for_enqueue(): array {
 		return wp_array_slice_assoc(
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 6d0a270cdd..374bf87962 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.3-alpha-65836';
+$wp_version = '7.3-alpha-65837';

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