Skip to content

[Workflow] Changed initial_places to initial_marking, added property #30890

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 6, 2019

Conversation

lyrixx
Copy link
Member

@lyrixx lyrixx commented Apr 6, 2019

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets #30662 and #30656
License MIT
Doc PR #30656

EUFOSSA


  • [Workflow] Changed initial_places to initial_marking, added property instead of type
  • [Workflow] Finished integration of initial_marking + deprecated support for workflow + single state markin store
    [Workflow] Deprecate worflow and single state marking

Here is an exemple of deprecation:

                                                                                                                                                                             
  3x: Passing something else than "method" has been deprecated in Symfony 4.3.                                                                                               
    1x in PhpFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection                                                        
    1x in XmlFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection                                                        
    1x in YamlFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection                                                       
                                                                                                                                                                             
  3x: The "framework.workflows.workflows.legacy.marking_store.arguments" configuration key has been deprecated in Symfony 4.3. Use "property" instead.                       
    1x in PhpFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection                                                        
    1x in XmlFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection                                                        
    1x in YamlFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection                                                       
                                                                                                                                                                             
  3x: The "framework.workflows.workflows.legacy.initial_place" configuration key has been deprecated in Symfony 4.3, use the "initial_marking" configuration key instead.    
    1x in PhpFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection                                                        
    1x in XmlFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection                                                        
    1x in YamlFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection                                                       

@lyrixx
Copy link
Member Author

lyrixx commented Apr 6, 2019

@HeahDude Could you review this PR? 🙏

@lyrixx lyrixx force-pushed the workflow-initial-marking branch from f4347b5 to 0393535 Compare April 6, 2019 13:39
Copy link
Contributor

@HeahDude HeahDude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@fabpot
Copy link
Member

fabpot commented Apr 6, 2019

Thank you @lyrixx.

@fabpot fabpot merged commit 0393535 into symfony:master Apr 6, 2019
fabpot added a commit that referenced this pull request Apr 6, 2019
…added property (HeahDude, lyrixx)

This PR was merged into the 4.3-dev branch.

Discussion
----------

[Workflow] Changed initial_places to initial_marking, added property

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #30662 and #30656
| License       | MIT
| Doc PR        | #30656

EUFOSSA

---

* [Workflow] Changed initial_places to initial_marking, added property instead of type
* [Workflow] Finished integration of initial_marking + deprecated support for workflow + single state markin store
 [Workflow] Deprecate worflow and single state marking

---

Here is an exemple of deprecation:
```

  3x: Passing something else than "method" has been deprecated in Symfony 4.3.
    1x in PhpFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection
    1x in XmlFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection
    1x in YamlFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection

  3x: The "framework.workflows.workflows.legacy.marking_store.arguments" configuration key has been deprecated in Symfony 4.3. Use "property" instead.
    1x in PhpFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection
    1x in XmlFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection
    1x in YamlFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection

  3x: The "framework.workflows.workflows.legacy.initial_place" configuration key has been deprecated in Symfony 4.3, use the "initial_marking" configuration key instead.
    1x in PhpFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection
    1x in XmlFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection
    1x in YamlFrameworkExtensionTest::testWorkflowLegacy from Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection
  ```

Commits
-------

0393535 [Workflow] Deprecate worflow and single state marking
87839cf [Workflow] Finished integration of initial_marking + deprecated support for workflow + single state markin store
73708a6 [Workflow] Changed initial_places to initial_marking, added property instead of type
@lyrixx lyrixx deleted the workflow-initial-marking branch April 6, 2019 17:09
@nicolas-grekas nicolas-grekas added this to the next milestone Apr 6, 2019
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.3 Apr 30, 2019
@fabpot fabpot mentioned this pull request May 9, 2019
wouterj added a commit to symfony/symfony-docs that referenced this pull request Aug 12, 2019
This PR was merged into the 4.3 branch.

Discussion
----------

[4.3] Update workflow config

Rescued some really bad git stuff from me while merging: #11580

Original description:

> Hi,
>
> This draft PR follows this one
> https://github.com/symfony/symfony-docs/pull/11492/files (config for 3.X version)
> but for new version, mostly 4.3
>
> I checked this PR also
> symfony/symfony#30890, @lyrixx review appreciated please
>
> Maybe to merge after merging #11578, and with a rebase ?
>
> --------------------
>
> Draft for now
>
> - Closes #11229
>
> this one can be closed also:
>
> - Closes #9475
> - Closes #10197

Commits
-------

fdc221b Minor XML improvement
a640d14 [Workflow] config doc
7bb2041 Fix indent
f65f1bc Review
cf3a32c Doc config metadata
34e7cc5 [Workflow] config doc
fabpot added a commit that referenced this pull request Jan 10, 2020
…_marking" (phansys)

This PR was merged into the 4.3 branch.

Discussion
----------

[Workflow] Fix configuration node reference for "initial_marking"

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Related to       | #30890
| License       | MIT

Commits
-------

452f925 [Workflow] Fix configuration node reference for "initial_marking"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecation DX DX = Developer eXperience (anything that improves the experience of using Symfony) Feature Status: Reviewed Workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants