* @group GlobalFunctions
* @covers ::wfEscapeShellArg
*/
-class wfEscapeShellArgTest extends MediaWikiTestCase {
+class WfEscapeShellArgTest extends MediaWikiTestCase {
public function testSingleInput() {
if ( wfIsWindows() ) {
$expected = '"blah"';
$expected = "'foo' 'bar' 'baz'";
}
- $actual = wfEscapeShellArg( array( 'foo', 'bar', 'baz' ) );
+ $actual = wfEscapeShellArg( [ 'foo', 'bar', 'baz' ] );
$this->assertEquals( $expected, $actual );
}