File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
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
8484 workflows :
8585 pull_request :
8686 type : ' state_machine'
87+ marking_store :
88+ type : ' method'
89+ property : ' currentPlace'
8790 supports :
8891 - App\Entity\PullRequest
89- initial_place : start
92+ initial_marking : start
9093 places :
9194 start : ~
9295 coding : ~
@@ -140,10 +143,15 @@ Below is the configuration for the pull request state machine with styling added
140143
141144 <framework : config >
142145 <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 >
144150
145151 <framework : support >App\Entity\PullRequest</framework : support >
146152
153+ <framework : initial_marking >start</framework : initial_marking >
154+
147155 <framework : place >start</framework : place >
148156 <framework : place >coding</framework : place >
149157 <framework : place >test</framework : place >
@@ -229,7 +237,12 @@ Below is the configuration for the pull request state machine with styling added
229237 'workflows' => [
230238 'pull_request' => [
231239 'type' => 'state_machine',
240+ 'marking_store' => [
241+ type: 'method',
242+ property: 'currentPlace',
243+ ],
232244 'supports' => ['App\Entity\PullRequest'],
245+ 'initial_marking' => 'start',
233246 'places' => [
234247 'start',
235248 'coding',
You can’t perform that action at this time.
0 commit comments