Make WordPress Core


Ignore:
Timestamp:
09/30/2026 02:33:44 AM (12 days ago)
Author:
westonruter
Message:

Build/Test Tools: Update PHPStan to 2.2.16.

The 2.2.15 and 2.2.16 releases carry many type-inference fixes along with updated PHP 8 stubs. The baselines are regenerated for the new version, with five entries dropping out and one being reworded.

Developed in ​https://github.com/WordPress/wordpress-develop/pull/13809.
Follow-up to r63510, r63787.

Props mukesh27.
See #65817.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpstan/baselines/function.impossibleType.neon

    r63023 r64012  
    3030                        path: ../../../src/wp-admin/update.php
    3131                -
    32                         message: '#^Call to function is_wp_error\(\) with array will always evaluate to false\.$#'
    33                         identifier: function.impossibleType
    34                         count: 2
    35                         path: ../../../src/wp-includes/class-wp-tax-query.php
    36                 -
    3732                        message: '#^Call to function is_string\(\) with bool will always evaluate to false\.$#'
    3833                        identifier: function.impossibleType
Note: See TracChangeset for help on using the changeset viewer.