Merge "Ensure only strings are passed to mysql_real_escape_string()"
[lhc/web/wiklou.git] / tests / phpunit / structure / AvailableRightsTest.php
index ccf5393..16a9a24 100644 (file)
@@ -40,7 +40,7 @@ class AvailableRightsTest extends PHPUnit_Framework_TestCase {
                );
 
                $this->assertEquals(
-                       array(),
+                       [],
                        // Re-index to produce nicer output, keys are meaningless.
                        array_values( $missingRights ),
                        'Additional user rights need to be added to $wgAvailableRights or ' .