Problem/Motivation
\Drupal\Core\Entity\EntityTypeBundleInfo::getBundleInfo() has a parameter typehint in docs of string but things call it with NULL. Which triggers deprecations in PHP 8.5
Steps to reproduce
Run \Drupal\Tests\views\Kernel\Wizard\WizardPluginBaseKernelTest on PHP 8.5
Proposed resolution
Deprecate calling with NULL and fix callers.
Remaining tasks
User interface changes
None
Introduced terminology
None
API changes
New deprecation
Data model changes
None
Release notes snippet
N/a
Issue fork drupal-3557135
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
alexpottComment #4
smustgrave commentedThis one of those instances there should be a commented out typehint to be uncommented in 12
Comment #5
alexpott#4 great idea. done.
Comment #6
smustgrave commentedAwesome! Rest LGTM.
Comment #10
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!
Comment #12
quietone commentedReworded the change record and published.