Problem/Motivation
Drupal\Core\FileTransfer\Form\FileTransferAuthorizeForm->setConnectionSettingsDefaults()() (Line: 312) triggers a deprecation in PHP 8.5
Steps to reproduce
Run \Drupal\Tests\system\Functional\System\SystemAuthorizeTest::testFileTransferHooks
Proposed resolution
Don't
Remaining tasks
User interface changes
Nonr
Introduced terminology
N/a
API changes
None
Data model changes
None
Release notes snippet
N/a
Issue fork drupal-3557557
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 #3
alexpottComment #5
smustgrave commentedThat same random javascript error, re-running is green
Exception: Deprecated function: Using null as an array offset is deprecated, use an empty string instead
Drupal\Core\FileTransfer\Form\FileTransferAuthorizeForm->setConnectionSettingsDefaults()() (Line: 312)
All green.
Also this file is marked deprecated to be removed in 12 so this fix doesn't break anything and isn't long for this world. LGTM
Comment #6
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!