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

[DependencyInjection] Env parameterbag fix: use the correct exception class.#19994

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

Conversation

@paradajozsef
Copy link
Contributor

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

Small fix after#19681 No description needed imo. :)

@paradajozsefparadajozsef changed the title[DependencyInjection] Fix: use the correct exception class.[DependencyInjection] Env parameterbag fix: use the correct exception class.Sep 20, 2016
@fabpot
Copy link
Member

Thank you@paradajozsef.

nicolas-grekas added a commit that referenced this pull requestSep 21, 2016
This PR was merged into the 3.2-dev branch.Discussion----------[DI] Fix expectedException annotation| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#19994| License       | MIT| Doc PR        | -@paradajozsef FYI, phpunit (at least v4.8 we have to use for PHP 5.5 compat) doesn't resolve use statements in `expectedException` annotations. Thanks for the fix btw.Commits-------663bd74 [DI] Fix expectedException annotation
class EnvPlaceholderParameterBagTest extends \PHPUnit_Framework_TestCase
{
/**
* @expectedException InvalidArgumentException
Copy link
Contributor

Choose a reason for hiding this comment

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

For reference: this needs to be a full class namespace, as PHPUnit doesn't "look" at the use statements (already fixed by Nicolas).

paradajozsef reacted with thumbs up emoji
@paradajozsefparadajozsef deleted the env-parameterbag-fix branchSeptember 21, 2016 10:14
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

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@paradajozsef@fabpot@jakzal@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp