public function UpdateManagerTest::providerSemanticVersion in Lightning Core 8
Same name and namespace in other branches
- 8.5 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\UpdateManagerTest::providerSemanticVersion()
- 8.2 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\UpdateManagerTest::providerSemanticVersion()
- 8.3 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\UpdateManagerTest::providerSemanticVersion()
- 8.4 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\UpdateManagerTest::providerSemanticVersion()
File
- tests/
src/ Unit/ UpdateManagerTest.php, line 26
Class
- UpdateManagerTest
- @coversDefaultClass \Drupal\lightning_core\UpdateManager
Namespace
Drupal\Tests\lightning_core\UnitCode
public function providerSemanticVersion() {
return [
[
'8.x-1.12',
'1.12.0',
],
[
'8.x-1.2-alpha3',
'1.2.0-alpha3',
],
[
'8.x-2.7-beta3',
'2.7.0-beta3',
],
[
'8.x-1.42-rc1',
'1.42.0-rc1',
],
[
'8.x-1.x-dev',
'1.x-dev',
],
// This is a weird edge case only used by the Lightning profile.
[
'8.x-3.001',
'3.001.0',
],
];
}