File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -158,31 +158,31 @@ Below is the configuration for the pull request state machine.
158
158
),
159
159
'transitions' => array(
160
160
'start'=> array(
161
- 'form ' => 'start',
161
+ 'from ' => 'start',
162
162
'to' => 'travis',
163
163
),
164
164
'update'=> array(
165
- 'form ' => array('coding','travis','review'),
165
+ 'from ' => array('coding','travis','review'),
166
166
'to' => 'travis',
167
167
),
168
168
'wait_for_reivew'=> array(
169
- 'form ' => 'travis',
169
+ 'from ' => 'travis',
170
170
'to' => 'review',
171
171
),
172
172
'request_change'=> array(
173
- 'form ' => 'review',
173
+ 'from ' => 'review',
174
174
'to' => 'coding',
175
175
),
176
176
'accept'=> array(
177
- 'form ' => 'review',
177
+ 'from ' => 'review',
178
178
'to' => 'merged',
179
179
),
180
180
'reject'=> array(
181
- 'form ' => 'review',
181
+ 'from ' => 'review',
182
182
'to' => 'closed',
183
183
),
184
184
'reopen'=> array(
185
- 'form ' => 'start',
185
+ 'from ' => 'start',
186
186
'to' => 'review',
187
187
),
188
188
),
Original file line number Diff line number Diff line change @@ -117,15 +117,15 @@ like this:
117
117
),
118
118
'transitions' => array(
119
119
'to_review'=> array(
120
- 'form ' => 'draft',
120
+ 'from ' => 'draft',
121
121
'to' => 'review',
122
122
),
123
123
'publish'=> array(
124
- 'form ' => 'review',
124
+ 'from ' => 'review',
125
125
'to' => 'published',
126
126
),
127
127
'reject'=> array(
128
- 'form ' => 'review',
128
+ 'from ' => 'review',
129
129
'to' => 'rejected',
130
130
),
131
131
),
You can’t perform that action at this time.
0 commit comments