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

[Cache] Fix class exists checks in PhpArrayAdapter#21528

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:3.2fromnicolas-grekas:cache-fix
Feb 5, 2017

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?3.2
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

Fixes HHVM, as spotted in#21527

@nicolas-grekasnicolas-grekas added this to the3.2 milestoneFeb 4, 2017
@nicolas-grekasnicolas-grekas merged commit44e5989 intosymfony:3.2Feb 5, 2017
nicolas-grekas added a commit that referenced this pull requestFeb 5, 2017
…s-grekas)This PR was merged into the 3.2 branch.Discussion----------[Cache] Fix class exists checks in PhpArrayAdapter| Q             | A| ------------- | ---| Branch?       | 3.2| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Fixes HHVM, as spotted in#21527Commits-------44e5989 [Cache] Fix class exists checks in PhpArrayAdapter
@nicolas-grekasnicolas-grekas deleted the cache-fix branchFebruary 5, 2017 10:20
@fabpotfabpot mentioned this pull requestFeb 6, 2017
publicstaticfunctionthrowOnRequiredClass($class)
{
$e =new \ReflectionException(sprintf('Class%s does not exist',$class));
$e =new \ReflectionException("Class$class does not exist");
Copy link
Contributor

Choose a reason for hiding this comment

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

"Exception and error message strings must be concatenated using sprintf;" ;)http://symfony.com/doc/current/contributing/code/standards.html

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@jakzaljakzaljakzal left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.2

Development

Successfully merging this pull request may close these issues.

3 participants

@nicolas-grekas@jakzal@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp