Make WordPress Core

Changeset 63360


Ignore:
Timestamp:
08/27/2026 12:03:16 PM (3 months ago)
Author:
swissspidy
Message:

Code Quality: Update PHPStan baseline files after r63358.

See #65817.

Location:
trunk/tests/phpstan/baselines
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpstan/baselines/assign.propertyType.neon

    r63022 r63360  
    4949                        count: 1
    5050                        path: ../../../src/wp-includes/class-wp-image-editor-imagick.php
    51                 -
    52                         message: '#^Property WP_Query\:\:\$posts \(array\<int\|WP_Post\>\|null\) does not accept array\<int, stdClass\>\.$#'
    53                         identifier: assign.propertyType
    54                         count: 1
    55                         path: ../../../src/wp-includes/class-wp-query.php
    5651                -
    5752                        message: '#^Property WP_Query\:\:\$posts \(array\<int\|WP_Post\>\|null\) does not accept list\<stdClass\>\|null\.$#'
  • trunk/tests/phpstan/baselines/return.type.neon

    r63022 r63360  
    6464                        count: 1
    6565                        path: ../../../src/wp-includes/class-wp-image-editor-imagick.php
    66                 -
    67                         message: '#^Method WP_Term_Query\:\:get_terms\(\) should return array\<int\|string\|WP_Term\>\|string but returns int\.$#'
    68                         identifier: return.type
    69                         count: 1
    70                         path: ../../../src/wp-includes/class-wp-term-query.php
    7166                -
    7267                        message: '#^Method wp_xmlrpc_server\:\:mw_newPost\(\) should return int\|IXR_Error but returns string\.$#'
Note: See TracChangeset for help on using the changeset viewer.