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

Add special Abstract prefix not usage for PHPUnit test cases#8600

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
weaverryan merged 1 commit intosymfony:3.3fromsoullivaneuh:patch-1
Nov 12, 2017

Conversation

@soullivaneuh
Copy link
Contributor

@soullivaneuhsoullivaneuh commentedNov 7, 2017
edited
Loading

As we can see here:
image

You are not using theAbstract prefix at all for the test cases.
I assume this is to follow PHPUnit conventions on this part?

In this case, the coding standard may be more accurate about this.

* Use namespaces for all classes;

* Prefix abstract classes with ``Abstract``. Please note some early Symfony classes
* Prefixallabstract classes with ``Abstract`` excepting PHPUnit ``*TestCase``. Please note some early Symfony classes
Copy link
Contributor

Choose a reason for hiding this comment

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

"except"

* Use namespaces for all classes;

* Prefix abstract classes with ``Abstract``. Please note some early Symfony classes
* Prefixallabstract classes with ``Abstract`` excepting PHPUnit ``*TestCase``. Please note some early Symfony classes
Copy link
Contributor

Choose a reason for hiding this comment

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

@weaverryan
Copy link
Member

Thanks@soullivaneuh!

@weaverryanweaverryan merged commitf4d122a intosymfony:3.3Nov 12, 2017
weaverryan added a commit that referenced this pull requestNov 12, 2017
…ses (Soullivaneuh)This PR was merged into the 3.3 branch.Discussion----------Add special Abstract prefix not usage for PHPUnit test casesAs we can see here:![image](https://user-images.githubusercontent.com/1698357/32507068-bddf178a-c3e6-11e7-8d28-05f3b18ea18c.png)You are not using the `Abstract` prefix at all for the test cases.I assume this is to follow PHPUnit conventions on this part?In this case, the coding standard may be more accurate about this.Commits-------f4d122a Add special Abstract prefix not usage for PHPUnit test cases
@weaverryan
Copy link
Member

Just a note: I forgot to switch the branch to 2.7 on merge, but backported it manually.

weaverryan added a commit that referenced this pull requestNov 12, 2017
weaverryan added a commit that referenced this pull requestNov 12, 2017
* 2.7:  Added Best Practice guideline for partials/include  Backporting#8600  Move `schema_filter` option to the correct place  Fix typo in "advanced ACL concepts"
weaverryan added a commit that referenced this pull requestNov 12, 2017
* 2.8:  Added Best Practice guideline for partials/include  Backporting#8600  Move `schema_filter` option to the correct place  Fix typo in "advanced ACL concepts"
weaverryan added a commit that referenced this pull requestNov 12, 2017
* 3.3:  Added Best Practice guideline for partials/include  Backporting#8600  [#8605] Updated the article a little more, using the tests/ directory.  fix paths  Move `schema_filter` option to the correct place  Fix typo in "advanced ACL concepts"  Add special Abstract prefix not usage for PHPUnit test cases
weaverryan added a commit that referenced this pull requestNov 12, 2017
* 3.4:  Added Best Practice guideline for partials/include  Backporting#8600  [#8605] Updated the article a little more, using the tests/ directory.  fix paths  Move `schema_filter` option to the correct place  Fix typo in "advanced ACL concepts"  Add special Abstract prefix not usage for PHPUnit test cases
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@wouterjwouterjwouterj approved these changes

+1 more reviewer

@greg0iregreg0iregreg0ire left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

6 participants

@soullivaneuh@weaverryan@greg0ire@wouterj@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp