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

[PhpUnitBridge] Replace calls to setExpectedException by Pollyfill#32872

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

Conversation

@jderusse
Copy link
Member

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?need#32869 to be merged
Fixed tickets#32844
LicenseMIT
Doc PRNA

PhpUnit methodsetExceptionException has been deprecated seens 5.7. This PR replace theme byexceptException provide by the pollyfill.

@jderussejderusseforce-pushed thecompat-phpunit9-setExpectedException branch from87220e4 to5df9fefCompareAugust 1, 2019 18:54
@nicolas-grekasnicolas-grekasforce-pushed thecompat-phpunit9-setExpectedException branch from5df9fef to3074265CompareAugust 1, 2019 20:12
@jderussejderusseforce-pushed thecompat-phpunit9-setExpectedException branch from3074265 to41c02d7CompareAugust 1, 2019 20:43
@nicolas-grekas
Copy link
Member

Thank you@jderusse.

@nicolas-grekasnicolas-grekas merged commit41c02d7 intosymfony:3.4Aug 1, 2019
nicolas-grekas added a commit that referenced this pull requestAug 1, 2019
…usse)This PR was merged into the 3.4 branch.Discussion----------Replace calls to setExpectedException by Pollyfill| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | need#32869 to be merged| Fixed tickets |#32844| License       | MIT| Doc PR        | NAPhpUnit method `setExceptionException` has been deprecated seens 5.7. This PR replace theme by `exceptException` provide by the pollyfill.Commits-------41c02d7 Replace calls to setExpectedException by Pollyfill
'InvalidArgumentException',
'You cannot refresh a user from the EntityUserProvider that does not contain an identifier. The user object has to be serialized with its own identifier mapped by Doctrine'
);
$this->expectException('InvalidArgumentException');
Copy link
Contributor

Choose a reason for hiding this comment

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

we should use::class constant wherever we update this. best opportunity yet.

@jderussejderusse changed the titleReplace calls to setExpectedException by Pollyfill[PhpUnitBridge] Replace calls to setExpectedException by PollyfillAug 2, 2019
@jderussejderusse deleted the compat-phpunit9-setExpectedException branchAugust 2, 2019 12:14
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark approved these changes

+2 more reviewers

@TobionTobionTobion left review comments

@maxheliasmaxheliasmaxhelias approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

7 participants

@jderusse@nicolas-grekas@Tobion@OskarStark@maxhelias@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp