1
0
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:
Ilija Tovilo
2026-02-17 17:56:14 +01:00

View File

@@ -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);