minor #30982 [Workflow] Update UPGRADE notes (pbowyer)
This PR was merged into the 4.3-dev branch.
Discussion
----------
[Workflow] Update UPGRADE notes
Also merge the two separate `Workflow` sections.
| Q | A
| ------------- | ---
| Branch? | master <!-- see below -->
| Bug fix? | no
| New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks? | no <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass? | yes <!-- please add some, will be required by reviewers -->
| Fixed tickets | <!-- #-prefixed issue number(s), if any -->
| License | MIT
| Doc PR | symfony/symfony-docs#... <!-- required for new features -->
<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
- Bug fixes must be submitted against the lowest branch where they apply
(lowest branches are regularly merged to upper ones so they get the fixes too).
- Features and deprecations must be submitted against the master branch.
-->
Update the UPGRADE notes to reflect a recent change to `initial_marking`. Merge the two Workflow sections of the file.
Commits
-------
e5de7b3135
[Workflow] Update to `initial_marking`
This commit is contained in:
commit
b7281cefd5
|
@ -161,7 +161,7 @@ TwigBridge
|
|||
Workflow
|
||||
--------
|
||||
|
||||
* `initial_place` is deprecated in favour of `initial_places`.
|
||||
* `initial_place` is deprecated in favour of `initial_marking`.
|
||||
|
||||
Before:
|
||||
```yaml
|
||||
|
@ -176,12 +176,9 @@ Workflow
|
|||
framework:
|
||||
workflows:
|
||||
article:
|
||||
initial_places: [draft]
|
||||
initial_marking: [draft]
|
||||
```
|
||||
|
||||
Workflow
|
||||
--------
|
||||
|
||||
* `MarkingStoreInterface::setMarking()` will have a third argument in Symfony 5.0.
|
||||
|
||||
Before:
|
||||
|
|
Reference in New Issue