public function AsgardInstallerTest::packageNameInflectionProvider in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/composer/installers/tests/Composer/Installers/Test/AsgardInstallerTest.php \Composer\Installers\Test\AsgardInstallerTest::packageNameInflectionProvider()
File
- vendor/
composer/ installers/ tests/ Composer/ Installers/ Test/ AsgardInstallerTest.php, line 34
Class
Namespace
Composer\Installers\TestCode
public function packageNameInflectionProvider() {
return array(
array(
'asgard-module',
'asgard-module',
'Asgard',
),
array(
'asgard-module',
'blog',
'Blog',
),
// tests that exactly one '-theme' is cut off
array(
'asgard-theme',
'some-theme-theme',
'Some-theme',
),
// tests that names without '-theme' suffix stay valid
array(
'asgard-theme',
'someothertheme',
'Someothertheme',
),
);
}