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

Allow EnumNode name to be null#25048

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

Closed
MatTheCat wants to merge3 commits intosymfony:masterfromMatTheCat:ticket_25046
Closed

Allow EnumNode name to be null#25048

MatTheCat wants to merge3 commits intosymfony:masterfromMatTheCat:ticket_25046

Conversation

@MatTheCat
Copy link
Contributor

QA
Branch?master
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#25046
LicenseMIT

@nicolas-grekas
Copy link
Member

Thanks, could you add a test case please?

@MatTheCat
Copy link
ContributorAuthor

MatTheCat commentedNov 20, 2017
edited
Loading

Yep, guess74b9fb1 will be enough?


publicfunctiontestConstructionWithNullName()
{
newEnumNode(null,null,array('foo'));
Copy link
Member

Choose a reason for hiding this comment

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

please call->finalize() or so to make the test not risky

@chalasrchalasr added this to the4.0 milestoneNov 20, 2017
publicfunctiontestConstructionWithNullName()
{
$node =newEnumNode(null,null,array('foo'));
$node->finalize('foo');
Copy link
Member

Choose a reason for hiding this comment

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

please assert it (sorry I've been unclear) :)

@MatTheCat
Copy link
ContributorAuthor

Woops sorry 😓

@nicolas-grekas
Copy link
Member

Thank you@MatTheCat.

nicolas-grekas added a commit that referenced this pull requestNov 20, 2017
This PR was squashed before being merged into the 4.0-dev branch (closes#25048).Discussion----------Allow EnumNode name to be null| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#25046| License       | MITCommits-------57d0636 Allow EnumNode name to be null
@MatTheCatMatTheCat deleted the ticket_25046 branchNovember 21, 2017 09:45
@fabpotfabpot mentioned this pull requestNov 21, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

@xabbuhxabbuhxabbuh approved these changes

@chalasrchalasrchalasr approved these changes

+1 more reviewer

@ogizanagiogizanagiogizanagi approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.0

Development

Successfully merging this pull request may close these issues.

7 participants

@MatTheCat@nicolas-grekas@stof@xabbuh@ogizanagi@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp