Skip to content

Commit 217600d

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Fix array_column() on null in nightly_matrix.php
2 parents 03bd03b + 60718c7 commit 217600d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/nightly_matrix.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function select_jobs($trigger, $labels, $php_version, $ref, $all_variations) {
155155
? get_branches()
156156
: [['ref' => $branch, 'version' => get_current_version()]];
157157

158-
$labels = json_decode($argv[4] ?? '[]', true);
158+
$labels = json_decode($argv[4] ?? '[]', true) ?? [];
159159
$labels = array_column($labels, 'name');
160160
$all_variations = $trigger === 'schedule' || $trigger === 'workflow_dispatch' || in_array('CI: All variations', $labels, true);
161161

0 commit comments

Comments
 (0)