Problem/Motivation
\Drupal\views\ManyToOneHelper::addTable() triggers deprecations in PHP 8.5
Steps to reproduce
Run \Drupal\Tests\user\Kernel\Views\HandlerFilterPermissionTest
Proposed resolution
Don't
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-3557530
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 commentedRan locally on 8.5.0RC3
Without the MR got 1 test triggered 1 PHP deprecation
With the MR switching from empty() to isset() generated 0 deprecations
Comment #6
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!