ComposerProjectTemplatesTest::STABILITY_ORDER

Same name in other branches
  1. 10 core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php \Drupal\BuildTests\Composer\Template\ComposerProjectTemplatesTest::STABILITY_ORDER
  2. 11.x core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php \Drupal\BuildTests\Composer\Template\ComposerProjectTemplatesTest::STABILITY_ORDER

The order of stability strings from least stable to most stable.

This only includes normalized stability strings: i.e., ones that are returned by \Composer\Semver\VersionParser::parseStability().

File

core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php, line 43

Class

ComposerProjectTemplatesTest
Demonstrate that Composer project templates are buildable as patched.

Namespace

Drupal\BuildTests\Composer\Template

Code

protected const STABILITY_ORDER = [
    'dev',
    'alpha',
    'beta',
    'RC',
    'stable',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.