X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FGlobalFunctions%2FwfEscapeShellArgTest.php;h=7402054ea40bb3ecc595ad7862fde014ae8a596c;hp=cb334d2fd282aff7a0fd745cce5e68506f8ba7c3;hb=95438dd70ade9ae00b6e835078eeccd3c28d9be4;hpb=ca3ac3dfb89d2e801a65565dd8186ff250cde3df diff --git a/tests/phpunit/includes/GlobalFunctions/wfEscapeShellArgTest.php b/tests/phpunit/includes/GlobalFunctions/wfEscapeShellArgTest.php index cb334d2fd2..7402054ea4 100644 --- a/tests/phpunit/includes/GlobalFunctions/wfEscapeShellArgTest.php +++ b/tests/phpunit/includes/GlobalFunctions/wfEscapeShellArgTest.php @@ -4,7 +4,7 @@ * @group GlobalFunctions * @covers ::wfEscapeShellArg */ -class wfEscapeShellArgTest extends MediaWikiTestCase { +class WfEscapeShellArgTest extends MediaWikiTestCase { public function testSingleInput() { if ( wfIsWindows() ) { $expected = '"blah"'; @@ -36,7 +36,7 @@ class wfEscapeShellArgTest extends MediaWikiTestCase { $expected = "'foo' 'bar' 'baz'"; } - $actual = wfEscapeShellArg( array( 'foo', 'bar', 'baz' ) ); + $actual = wfEscapeShellArg( [ 'foo', 'bar', 'baz' ] ); $this->assertEquals( $expected, $actual ); }