Unverified Commit 241acb9c authored by larowlan's avatar larowlan
Browse files

Issue #3241272 by andypost, alexpott:...

Issue #3241272 by andypost, alexpott: core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php causes deprecations on PHP 8.1
parent 9b9fcd70
......@@ -8,10 +8,26 @@
* Mock FileTransfer object for test case.
*/
class TestFileTransfer extends FileTransfer {
protected $host = NULL;
protected $username = NULL;
protected $password = NULL;
protected $port = NULL;
/**
* {@inheritdoc}
*/
protected $host = '';
/**
* {@inheritdoc}
*/
protected $username = '';
/**
* {@inheritdoc}
*/
protected $password = '';
/**
* {@inheritdoc}
*/
protected $port = 0;
/**
* This is for testing the CopyRecursive logic.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment