Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7417317
FileWithoutDeprecatedCode.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
443 B
Referenced Files
None
Subscribers
None
FileWithoutDeprecatedCode.php
View Options
<?php
namespace
MediaWiki\Tests\Data\FindDeprecated
;
/**
* Class without any deprecated code
*/
class
FileWithoutDeprecatedCode
{
/**
* This method is not deprecated :D
*
* @param string $param
* @return string
*/
public
function
testMethodOne
(
string
$param
)
{
return
trim
(
$param
);
}
public
function
testMethodTwo
():
string
{
// Call a wf* method that is not wfDeprecated.
wfDebug
(
"test"
);
return
"test"
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 03:14 (1 d, 9 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7a/23/6e59c64f320103abb0d16ee913e6
Default Alt Text
FileWithoutDeprecatedCode.php (443 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment