Repository navigation
Code Quality: Fix offsetAccess.nonOffsetAccessible errors by correcting inaccurate type annotations - #13767
Code Quality: Fix offsetAccess.nonOffsetAccessible errors by correcting inaccurate type annotations#13767arshidkv12 wants to merge 1 commit into
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
| - tests/phpstan/baselines/method.unused.neon | ||
| - tests/phpstan/baselines/notIdentical.alwaysTrue.neon | ||
| - tests/phpstan/baselines/nullCoalesce.property.neon | ||
| - tests/phpstan/baselines/offsetAccess.nonOffsetAccessible.neon |
There was a problem hiding this comment.
🤖 Comment by Claude Opus 5.5 (medium effort)
With the commit of r65566, the baseline files are now no longer listed out one-by-one in the phpstan.neon.dist. This change can be reverted and the baselines can be re-generated with the merge from trunk. The conflict on the deleted baseline file comes from the same commit updating its header; keeping the deletion, or re-generating the baselines, resolves it.
…ng inaccurate type annotations
561a4d2 to
fc995b0
Compare
Fix
offsetAccess.nonOffsetAccessibleerrors by correcting inaccurate type annotations.$_wp_submenu_noprivglobal frombooltoarray. See 32643, r33957WP_Theme::$updateto reflect itsfalseor theme update data value. See r35731offsetAccess.nonOffsetAccessiblePHPStan baseline.See 66739.