Merge "Fixup contenttype stuff in UserMailer"
[lhc/web/wiklou.git] / tests / phpunit / includes / libs / composer / ComposerLockTest.php
index 6b374f2..75eb62c 100644 (file)
@@ -23,106 +23,106 @@ class ComposerLockTest extends MediaWikiTestCase {
         */
        public function testGetInstalledDependencies() {
                $lock = new ComposerLock( $this->lock );
-               $this->assertArrayEquals( array(
-                       'wikimedia/cdb' => array(
+               $this->assertArrayEquals( [
+                       'wikimedia/cdb' => [
                                'version' => '1.0.1',
                                'type' => 'library',
-                               'licenses' => array( 'GPL-2.0' ),
-                               'authors' => array(
-                                       array(
+                               'licenses' => [ 'GPL-2.0' ],
+                               'authors' => [
+                                       [
                                                'name' => 'Tim Starling',
                                                'email' => 'tstarling@wikimedia.org',
-                                       ),
-                                       array(
+                                       ],
+                                       [
                                                'name' => 'Chad Horohoe',
                                                'email' => 'chad@wikimedia.org',
-                                       ),
-                               ),
+                                       ],
+                               ],
                                'description' => 'Constant Database (CDB) wrapper library for PHP. '.
                                        'Provides pure-PHP fallback when dba_* functions are absent.',
-                       ),
-                       'cssjanus/cssjanus' => array(
+                       ],
+                       'cssjanus/cssjanus' => [
                                'version' => '1.1.1',
                                'type' => 'library',
-                               'licenses' => array( 'Apache-2.0' ),
-                               'authors' => array(),
+                               'licenses' => [ 'Apache-2.0' ],
+                               'authors' => [],
                                'description' => 'Convert CSS stylesheets between left-to-right and right-to-left.',
-                       ),
-                       'leafo/lessphp' => array(
+                       ],
+                       'leafo/lessphp' => [
                                'version' => '0.5.0',
                                'type' => 'library',
-                               'licenses' => array( 'MIT', 'GPL-3.0' ),
-                               'authors' => array(
-                                       array(
+                               'licenses' => [ 'MIT', 'GPL-3.0' ],
+                               'authors' => [
+                                       [
                                                'name' => 'Leaf Corcoran',
                                                'email' => 'leafot@gmail.com',
                                                'homepage' => 'http://leafo.net',
-                                       ),
-                               ),
+                                       ],
+                               ],
                                'description' => 'lessphp is a compiler for LESS written in PHP.',
-                       ),
-                       'psr/log' => array(
+                       ],
+                       'psr/log' => [
                                'version' => '1.0.0',
                                'type' => 'library',
-                               'licenses' => array( 'MIT' ),
-                               'authors' => array(
-                                       array(
+                               'licenses' => [ 'MIT' ],
+                               'authors' => [
+                                       [
                                                'name' => 'PHP-FIG',
                                                'homepage' => 'http://www.php-fig.org/',
-                                       ),
-                               ),
+                                       ],
+                               ],
                                'description' => 'Common interface for logging libraries',
-                       ),
-                       'oojs/oojs-ui' => array(
+                       ],
+                       'oojs/oojs-ui' => [
                                'version' => '0.6.0',
                                'type' => 'library',
-                               'licenses' => array( 'MIT' ),
-                               'authors' => array(),
+                               'licenses' => [ 'MIT' ],
+                               'authors' => [],
                                'description' => '',
-                       ),
-                       'composer/installers' => array(
+                       ],
+                       'composer/installers' => [
                                'version' => '1.0.19',
                                'type' => 'composer-installer',
-                               'licenses' => array( 'MIT' ),
-                               'authors' => array(
-                                       array(
+                               'licenses' => [ 'MIT' ],
+                               'authors' => [
+                                       [
                                                'name' => 'Kyle Robinson Young',
                                                'email' => 'kyle@dontkry.com',
                                                'homepage' => 'https://github.com/shama',
-                                       ),
-                               ),
+                                       ],
+                               ],
                                'description' => 'A multi-framework Composer library installer',
-                       ),
-                       'mediawiki/translate' => array(
+                       ],
+                       'mediawiki/translate' => [
                                'version' => '2014.12',
                                'type' => 'mediawiki-extension',
-                               'licenses' => array( 'GPL-2.0+' ),
-                               'authors' => array(
-                                       array(
+                               'licenses' => [ 'GPL-2.0+' ],
+                               'authors' => [
+                                       [
                                                'name' => 'Niklas Laxström',
                                                'email' => 'niklas.laxstrom@gmail.com',
                                                'role' => 'Lead nitpicker',
-                                       ),
-                                       array(
+                                       ],
+                                       [
                                                'name' => 'Siebrand Mazeland',
                                                'email' => 's.mazeland@xs4all.nl',
                                                'role' => 'Developer',
-                                       ),
-                               ),
+                                       ],
+                               ],
                                'description' => 'The only standard solution to translate any kind ' .
                                        'of text with an avant-garde web interface within MediaWiki, ' .
                                        'including your documentation and software',
-                       ),
-                       'mediawiki/universal-language-selector' => array(
+                       ],
+                       'mediawiki/universal-language-selector' => [
                                'version' => '2014.12',
                                'type' => 'mediawiki-extension',
-                               'licenses' => array( 'GPL-2.0+', 'MIT' ),
-                               'authors' => array(),
+                               'licenses' => [ 'GPL-2.0+', 'MIT' ],
+                               'authors' => [],
                                'description' => 'The primary aim is to allow users to select a language ' .
                                        'and configure its support in an easy way. ' .
                                        'Main features are language selection, input methods and web fonts.',
-                       ),
-               ), $lock->getInstalledDependencies(), false, true );
+                       ],
+               ], $lock->getInstalledDependencies(), false, true );
        }
 
 }