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

Use namespaced Phpunit classes#32941

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.4fromjderusse:deprec_namespace
Aug 5, 2019

Conversation

@jderusse
Copy link
Member

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

This PR simplify tests by using PhpUnit namespace introduced in#32940
It also makes compatible with PHPUnit 8 (removed class PHPUnit_Framework_MockObject_MockObject)

@jderussejderusse changed the titleWIP Use namespaced Phpunit classesUse namespaced Phpunit classesAug 5, 2019
.travis.yml Outdated
# phpunit-bridge as a separate PR against the next feature-branch then
# uncomment and update the following line with that PR number
#SYMFONY_PHPUNIT_BRIDGE_PR=32886
SYMFONY_PHPUNIT_BRIDGE_PR=32940
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

must be reverted before merging

@jderussejderusseforce-pushed thedeprec_namespace branch 6 times, most recently from6b16fe3 to8675a53CompareAugust 5, 2019 11:04
@nicolas-grekasnicolas-grekas added this to the3.4 milestoneAug 5, 2019
@jderussejderusseforce-pushed thedeprec_namespace branch 9 times, most recently frombd9f3ae todfcc04aCompareAugust 5, 2019 12:40
nicolas-grekas added a commit that referenced this pull requestAug 5, 2019
…erusse)This PR was merged into the 4.4 branch.Discussion----------[PhpUnitBridge] Add polyfill for PhpUnit namespace| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? |no| Tests pass?   | yes| Fixed tickets |#32844| License       | MIT| Doc PR        | NAThis PR provides PhpUnit >= 6 Namespaces class.This will simplify tests that have to be compatible with multiple version of PHPUnit```diff- if (class_exists('PHPUnit_Foo')) {-   PHPUnit_Foo::bar():- } else {-   \PHPUnit\Foo::bar();- }+ \PHPUnit\Foo::bar();```WIP  => waiting for#32941 to be greenCommits-------b7520f7 Add polyfill for PhpUnit namespace
@nicolas-grekas
Copy link
Member

Thank you@jderusse.

@nicolas-grekasnicolas-grekas merged commit797ea2e intosymfony:3.4Aug 5, 2019
nicolas-grekas added a commit that referenced this pull requestAug 5, 2019
This PR was squashed before being merged into the 3.4 branch (closes#32941).Discussion----------Use namespaced Phpunit classes| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | need#32940| Fixed tickets |#32844| License       | MIT| Doc PR        | NAThis PR simplify tests by using PhpUnit namespace introduced in#32940It also makes compatible with PHPUnit 8 (removed class PHPUnit_Framework_MockObject_MockObject)Commits-------797ea2e Use namespaced Phpunit classes
@jderussejderusse deleted the deprec_namespace branchAugust 8, 2019 11:36
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

3 participants

@jderusse@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp