File tree 2 files changed +29
-3
lines changed
2 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,12 @@ Below is the configuration for the pull request state machine with styling added
84
84
workflows :
85
85
pull_request :
86
86
type : ' state_machine'
87
+ marking_store :
88
+ type : ' method'
89
+ property : ' currentPlace'
87
90
supports :
88
91
- App\Entity\PullRequest
89
- initial_place : start
92
+ initial_marking : start
90
93
places :
91
94
start : ~
92
95
coding : ~
@@ -140,10 +143,15 @@ Below is the configuration for the pull request state machine with styling added
140
143
141
144
<framework : config >
142
145
<framework : workflow name =" pull_request" type =" state_machine" >
143
- <framework : marking-store type =" single_state" />
146
+ <framework : marking-store >
147
+ <framework : type >method</framework : type >
148
+ <framework : property >currentPlace</framework : property >
149
+ </framework : marking-store >
144
150
145
151
<framework : support >App\Entity\PullRequest</framework : support >
146
152
153
+ <framework : initial_marking >start</framework : initial_marking >
154
+
147
155
<framework : place >start</framework : place >
148
156
<framework : place >coding</framework : place >
149
157
<framework : place >test</framework : place >
@@ -229,7 +237,12 @@ Below is the configuration for the pull request state machine with styling added
229
237
'workflows' => [
230
238
'pull_request' => [
231
239
'type' => 'state_machine',
240
+ 'marking_store' => [
241
+ type: 'method',
242
+ property: 'currentPlace',
243
+ ],
232
244
'supports' => ['App\Entity\PullRequest'],
245
+ 'initial_marking' => 'start',
233
246
'places' => [
234
247
'start',
235
248
'coding',
Original file line number Diff line number Diff line change @@ -77,6 +77,9 @@ Below is the configuration for the pull request state machine.
77
77
workflows :
78
78
pull_request :
79
79
type : ' state_machine'
80
+ marking_store :
81
+ type : ' method'
82
+ property : ' currentPlace'
80
83
supports :
81
84
- App\Entity\PullRequest
82
85
initial_marking : start
@@ -123,9 +126,14 @@ Below is the configuration for the pull request state machine.
123
126
124
127
<framework : config >
125
128
<framework : workflow name =" pull_request" type =" state_machine" >
126
- <framework : marking-store type =" single_state" />
129
+ <framework : marking-store >
130
+ <framework : type >method</framework : type >
131
+ <framework : property >currentPlace</framework : property >
132
+ </framework : marking-store >
127
133
128
134
<framework : support >App\Entity\PullRequest</framework : support >
135
+
136
+ <framework : initial_marking >start</framework : initial_marking >
129
137
130
138
<framework : place >start</framework : place >
131
139
<framework : place >coding</framework : place >
@@ -191,7 +199,12 @@ Below is the configuration for the pull request state machine.
191
199
'workflows' => [
192
200
'pull_request' => [
193
201
'type' => 'state_machine',
202
+ 'marking_store' => [
203
+ 'type' => 'method',
204
+ 'property' => 'currentPlace',
205
+ ],
194
206
'supports' => ['App\Entity\PullRequest'],
207
+ 'initial_marking' => 'start',
195
208
'places' => [
196
209
'start',
197
210
'coding',
You can’t perform that action at this time.
0 commit comments