Problem/Motivation
The derivate system tries to use NULL as a special array key - but that does not work - NULL is converted to an empty string and in PHP 8.5 this triggers a deprecation.
Steps to reproduce
Run \Drupal\KernelTests\Core\Plugin\InspectionTest
Proposed resolution
Don't use NULL as a derivative ID - use an empty string.
Remaining tasks
User interface changes
None
Introduced terminology
N/a
API changes
None
Data model changes
None
Release notes snippet
N/a
Issue fork drupal-3557357
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 #2
alexpottComment #4
ankitv18 commentedLooks good, legit fix as per https://github.com/phpstan/phpstan/issues/13592
Moving into RTBC
Comment #8
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!