mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.5'
* PHP-8.5: Fix array_column() on null in nightly_matrix.php
This commit is contained in:
2
.github/nightly_matrix.php
vendored
2
.github/nightly_matrix.php
vendored
@@ -155,7 +155,7 @@ $branches = $branch === 'master'
|
||||
? get_branches()
|
||||
: [['ref' => $branch, 'version' => get_current_version()]];
|
||||
|
||||
$labels = json_decode($argv[4] ?? '[]', true);
|
||||
$labels = json_decode($argv[4] ?? '[]', true) ?? [];
|
||||
$labels = array_column($labels, 'name');
|
||||
$all_variations = $trigger === 'schedule' || $trigger === 'workflow_dispatch' || in_array('CI: All variations', $labels, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user