public function MediaWikiInstallerTest::packageNameInflectionProvider in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php \Composer\Installers\Test\MediaWikiInstallerTest::packageNameInflectionProvider()
File
- vendor/
composer/ installers/ tests/ Composer/ Installers/ Test/ MediaWikiInstallerTest.php, line 34
Class
Namespace
Composer\Installers\TestCode
public function packageNameInflectionProvider() {
return array(
array(
'mediawiki-extension',
'sub-page-list',
'SubPageList',
),
array(
'mediawiki-extension',
'sub-page-list-extension',
'SubPageList',
),
array(
'mediawiki-extension',
'semantic-mediawiki',
'SemanticMediawiki',
),
// tests that exactly one '-skin' is cut off, and that skins do not get ucwords treatment like extensions
array(
'mediawiki-skin',
'some-skin-skin',
'some-skin',
),
// tests that names without '-skin' suffix stay valid
array(
'mediawiki-skin',
'someotherskin',
'someotherskin',
),
);
}