Commit 8d2ef1c 1 parent 7ce98b3 commit 8d2ef1c Copy full SHA for 8d2ef1c
File tree 1 file changed +20
-5
lines changed
1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -116,11 +116,26 @@ class SlackNotifierCommand extends Command
116
116
];
117
117
118
118
/**
119
- * @var array<string>
119
+ * @var array<string, array<string, string> >
120
120
*/
121
121
private const CAMPAIGN_SUPPORT = [
122
- 'functional ' ,
123
- 'autoupgrade ' ,
122
+ 'functional ' => [
123
+ '1.7.8.x ' ,
124
+ '8.0.x ' ,
125
+ '8.1.x ' ,
126
+ 'develop ' ,
127
+ ],
128
+ 'autoupgrade ' => [
129
+ '1.7.8.x ' ,
130
+ '8.0.x ' ,
131
+ '8.1.x ' ,
132
+ 'develop ' ,
133
+ ],
134
+ 'blockwishlist ' => [
135
+ '8.0.5 ' ,
136
+ '8.1.4 ' ,
137
+ 'nightly ' ,
138
+ ],
124
139
];
125
140
126
141
protected function configure ()
@@ -383,9 +398,9 @@ protected function checkStatusNightly(): string
383
398
{
384
399
$ slackMessage = ':notebook_with_decorative_cover: Nightly Board :notebook_with_decorative_cover: ' . PHP_EOL ;
385
400
386
- foreach (self ::CAMPAIGN_SUPPORT as $ campaign ) {
401
+ foreach (self ::CAMPAIGN_SUPPORT as $ campaign => $ branches ) {
387
402
$ slackMessage .= ' • Campaign ` ' . $ campaign . '` ' . PHP_EOL ;
388
- foreach (self :: BRANCH_SUPPORT as $ branch ) {
403
+ foreach ($ branches as $ branch ) {
389
404
$ report = $ this ->nightlyBoard ->getReport (date ('Y-m-d ' ), $ branch , $ campaign );
390
405
if (empty ($ report )) {
391
406
continue ;
You can’t perform that action at this time.
0 commit comments