We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a407c53 commit da94828Copy full SHA for da94828
1 file changed
.github/scripts/merge_pr.php
@@ -23,7 +23,7 @@ function find_next_release_branch(string $current): ?string {
23
}
24
25
if (!preg_match('(^PHP-(?<major>\d+)\.(?<minor>\d+)$)', $current, $matches)) {
26
- return null;
+ throw new RuntimeException("Unsupported target branch $current");
27
28
29
$major = $matches['major'];
0 commit comments