$this->lock = "$IP/tests/phpunit/data/composer/composer.lock";
}
- /**
- * @covers ComposerLock::getHash
- */
- public function testGetHash() {
- $lock = new ComposerLock( $this->lock );
- $this->assertEquals( 'a3bb80b0ac4c4a31e52574d48c032923', $lock->getHash() );
- }
-
/**
* @covers ComposerLock::__construct
* @covers ComposerLock::getInstalledDependencies
'wikimedia/cdb' => [
'version' => '1.0.1',
'type' => 'library',
- 'licenses' => [ 'GPL-2.0' ],
+ 'licenses' => [ 'GPL-2.0-only' ],
'authors' => [
[
'name' => 'Tim Starling',
'email' => 'chad@wikimedia.org',
],
],
- 'description' => 'Constant Database (CDB) wrapper library for PHP. '.
+ 'description' => 'Constant Database (CDB) wrapper library for PHP. ' .
'Provides pure-PHP fallback when dba_* functions are absent.',
],
'cssjanus/cssjanus' => [
'leafo/lessphp' => [
'version' => '0.5.0',
'type' => 'library',
- 'licenses' => [ 'MIT', 'GPL-3.0' ],
+ 'licenses' => [ 'MIT', 'GPL-3.0-only' ],
'authors' => [
[
'name' => 'Leaf Corcoran',
'mediawiki/translate' => [
'version' => '2014.12',
'type' => 'mediawiki-extension',
- 'licenses' => [ 'GPL-2.0+' ],
+ 'licenses' => [ 'GPL-2.0-or-later' ],
'authors' => [
[
'name' => 'Niklas Laxström',
'mediawiki/universal-language-selector' => [
'version' => '2014.12',
'type' => 'mediawiki-extension',
- 'licenses' => [ 'GPL-2.0+', 'MIT' ],
+ 'licenses' => [ 'GPL-2.0-or-later', 'MIT' ],
'authors' => [],
'description' => 'The primary aim is to allow users to select a language ' .
'and configure its support in an easy way. ' .