'drupal/core-project-message',
'drupal/core-vendor-hardening',
];
foreach ($installed['installed'
] as $project) { // Exclude dependencies that are required with "self.version", since
// those stabilities will automatically match the corresponding Drupal
// release.
if (in_array($project['name'
],
$exclude, TRUE
)) { continue;
} $project_stability = VersionParser::
parseStability($project['version'
]);
$project_stability_order_index =
$stability_order_indexes[$project_stability];
$project_stabilities[$project['name'
]] =
$project_stability;
$this->
assertGreaterThanOrEqual($minimum_stability_order_index,
$project_stability_order_index,
sprintf( "Dependency %s with stability %s does not meet minimum stability %s.",
$project['name'
],
$project_stability,
static::MINIMUM_STABILITY,
));
}