Skip to content

Commit c365e32

Browse files
authored
Preserve consolidation filter hook when running composer update class list. (#2728)
1 parent 78f6f42 commit c365e32

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/UpdateClassLists.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ static function update()
2020
);
2121
sort($hooks);
2222
sort($commands);
23-
$all = array_merge($hooks, $commands);
23+
$consolidation_hooks = [
24+
'Consolidation\\Filter\\Hooks\\FilterHooks',
25+
];
26+
$all = array_merge($consolidation_hooks, $hooks, $commands);
2427
$all = array_map(
2528
function ($item) {
2629
return str_replace('\\', '\\\\', var_export($item, true));

0 commit comments

Comments
 (0)