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 "weak-verbose" by "deprecations upper bound" mode#16937

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:2.8fromnicolas-grekas:max-deprec
Dec 11, 2015

Conversation

@nicolas-grekas
Copy link
Member

QA
Bug fix?yes
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#16789,#14475
LicenseMIT
Doc PR-

This is a "new feature" that replaces a "new feature" not yet released but merged into 2.8.1. See#16789.
It is way more flexible to be able to specify the upper bound of remaining deprecation notices that you allow in your test suite. This allows lowering this number while deprecations are removed, step after step.

ping@wouterj@Tobion@craue@fabpot@stof

@nicolas-grekasnicolas-grekas changed the title[PhpUnitBridge] Replace "weak-verbose" by "deprecations upper bound" …[PhpUnitBridge] Replace "weak-verbose" by "deprecations upper bound" modeDec 10, 2015
Copy link
Member

Choose a reason for hiding this comment

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

this will break the regex filtering feature

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

indeed... fixed!

@stof
Copy link
Member

I suggest adding some phpdoc on theregister method describing the different accepted values for the mode

@nicolas-grekas
Copy link
MemberAuthor

@stof good idea, done

@craue
Copy link
Contributor

I actually like the weak-verbose mode. What's wrong with it? But as long as I just need to set a very high number to achieve the same, I'm fine with it.

@nicolas-grekas
Copy link
MemberAuthor

@craue that's how you can get the equivalent of weak-verbose yes

@wouterj
Copy link
Member

👍 This is indeed a better solution.

Copy link
Member

Choose a reason for hiding this comment

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

the default valuefalse does not match the document types :)

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

default value set to0

Copy link
Member

Choose a reason for hiding this comment

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

Well, acceptingfalse should be kept, for easy usage withgetenv

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

ok :) updated

Copy link
Member

Choose a reason for hiding this comment

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

Isscalar supported by common IDEs or should we useint|string|bool instead?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

you're right,scalar is not a keyword of phpdoc:http://phpdoc.org/docs/latest/references/phpdoc/types.html

@nicolas-grekasnicolas-grekas merged commit58cd3ee intosymfony:2.8Dec 11, 2015
nicolas-grekas added a commit that referenced this pull requestDec 11, 2015
…s upper bound" mode (nicolas-grekas)This PR was merged into the 2.8 branch.Discussion----------[PhpUnitBridge] Replace "weak-verbose" by "deprecations upper bound" mode| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#16789,#14475| License       | MIT| Doc PR        | -This is a "new feature" that replaces a "new feature" not yet released but merged into 2.8.1. See#16789.It is way more flexible to be able to specify the upper bound of remaining deprecation notices that you allow in your test suite. This allows lowering this number while deprecations are removed, step after step.ping@wouterj@Tobion@craue@fabpot@stofCommits-------58cd3ee [PhpUnitBridge] Replace "weak-verbose" by "deprecations upper bound" mode
@nicolas-grekasnicolas-grekas deleted the max-deprec branchDecember 11, 2015 09:00
Copy link
Contributor

Choose a reason for hiding this comment

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

Whatfalse does doesn't seem to be defined at all.

This was referencedDec 26, 2015
wouterj added a commit to symfony-cmf/Testing that referenced this pull requestDec 29, 2015
It's the first release with the deprecations upper bound feature included:symfony/symfony#16937
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

7 participants

@nicolas-grekas@stof@craue@wouterj@Tobion@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp