Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
contributing/code/standards.rst Outdated
| * 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 |
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
| * 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 |
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:
weaverryan commentedNov 12, 2017
Thanks@soullivaneuh! |
…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: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 commentedNov 12, 2017
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
Uh oh!
There was an error while loading.Please reload this page.
As we can see here:

You are not using the
Abstractprefix 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.