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

[Framework][Workflow] Added support for interfaces#27596

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
fabpot merged 1 commit intosymfony:3.4fromvudaltsov:patch-2
Jun 15, 2018

Conversation

@vudaltsov
Copy link
Contributor

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
LicenseMIT

I consider this to be a bugfix in config, becauseClassInstanceSupportStrategy (InstanceOfSupportStrategy) actually works with interfaces. Therefore propose to 3.4.

->validate()
->ifTrue(function ($v) {return !class_exists($v); })
->ifTrue(function ($v) {return !class_exists($v) && !interface_exists($v); })
->thenInvalid('The supported class %s does not exist.')
Copy link
Member

Choose a reason for hiding this comment

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

The supported class or interface %s does not exist.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

@lyrixx , thanx, fixed

@fabpot
Copy link
Member

Thank you@vudaltsov.

@fabpotfabpot merged commit6104c28 intosymfony:3.4Jun 15, 2018
fabpot added a commit that referenced this pull requestJun 15, 2018
…sov)This PR was squashed before being merged into the 3.4 branch (closes#27596).Discussion----------[Framework][Workflow] Added support for interfaces| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| License       | MITI consider this to be a bugfix in config, because `ClassInstanceSupportStrategy` (`InstanceOfSupportStrategy`) actually works with interfaces. Therefore propose to 3.4.Commits-------6104c28 [Framework][Workflow] Added support for interfaces
@vudaltsovvudaltsov deleted the patch-2 branchJune 15, 2018 13:22
This was referencedJun 25, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@lyrixxlyrixxlyrixx approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

5 participants

@vudaltsov@fabpot@nicolas-grekas@lyrixx@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp