Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Workflow] Fixed BC break for Workflow metadata#29444

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:4.1fromlyrixx:workflow-metadata
Dec 3, 2018

Conversation

@lyrixx
Copy link
Member

QA
Branch?4.1
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#29427
LicenseMIT
Doc PR

I used SplObjectStorage to store the transition metadata.
So we need to use the exact same PHP Object.

@nicolas-grekas
Copy link
Member

Thank you@lyrixx.

@nicolas-grekasnicolas-grekas merged commit5691818 intosymfony:4.1Dec 3, 2018
nicolas-grekas added a commit that referenced this pull requestDec 3, 2018
This PR was merged into the 4.1 branch.Discussion----------[Workflow] Fixed BC break for Workflow metadata| Q             | A| ------------- | ---| Branch?       | 4.1| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#29427| License       | MIT| Doc PR        |I used SplObjectStorage to store the transition metadata.So we need to use the exact same PHP Object.Commits-------5691818 [Workflow] Fixed BC break for Workflow metadata
$this->assertInstanceOf(Definition::class,$params[0]);
$this->assertSame(Workflow\Transition::class,$params[0]->getClass());
$this->assertSame(array('submit','start','travis'),$params[0]->getArguments());
$this->assertSame(array('title' =>'transition submit title'),$params[1]);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we keep the test ofarray('title' => 'transition submit title')?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

No. It's not an instance of transition anymore

@lyrixxlyrixx deleted the workflow-metadata branchDecember 4, 2018 07:33
This was referencedDec 6, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@alexislefebvrealexislefebvrealexislefebvre left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.1

Development

Successfully merging this pull request may close these issues.

4 participants

@lyrixx@nicolas-grekas@alexislefebvre@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp