-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
contributing/code/standards.rst
Outdated
@@ -190,7 +190,7 @@ Naming Conventions | |||
|
|||
* Use namespaces for all classes; | |||
|
|||
* Prefix abstract classes with ``Abstract``. Please note some early Symfony classes | |||
* Prefix all abstract classes with ``Abstract`` excepting PHPUnit ``*TestCase``. Please note some early Symfony classes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"except"
contributing/code/standards.rst
Outdated
@@ -190,7 +190,7 @@ Naming Conventions | |||
|
|||
* Use namespaces for all classes; | |||
|
|||
* Prefix abstract classes with ``Abstract``. Please note some early Symfony classes | |||
* Prefix all abstract classes with ``Abstract`` excepting PHPUnit ``*TestCase``. Please note some early Symfony classes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please comply with the sf docs standards:
Thanks @soullivaneuh! |
…ses (Soullivaneuh) This PR was merged into the 3.3 branch. Discussion ---------- Add special Abstract prefix not usage for PHPUnit test cases As we can see here:  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
Just a note: I forgot to switch the branch to 2.7 on merge, but backported it manually. |
* 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"
* 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"
* 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
* 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
As we can see here:

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.