Skip to content
Snippets Groups Projects
Unverified Commit 241acb9c authored by Lee Rowlands's avatar Lee Rowlands
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
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment