8000 Add special Abstract prefix not usage for PHPUnit test cases · symfony/symfony-docs@f4d122a · GitHub
[go: up one dir, main page]

Skip to content

Commit f4d122a

Browse files
committed
Add special Abstract prefix not usage for PHPUnit test cases
1 parent bc79655 commit f4d122a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

contributing/code/standards.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,10 @@ Naming Conventions
190190

191191
* Use namespaces for all classes;
192192

193-
* Prefix abstract classes with ``Abstract``. Please note some early Symfony classes
194-
do not follow this convention and have not been renamed for backward compatibility
195-
reasons. However all new abstract classes must follow this naming convention;
193+
* Prefix all abstract classes with ``Abstract`` except PHPUnit ``*TestCase``.
194+
Please note some early Symfony classes do not follow this convention and
195+
have not been renamed for backward compatibility reasons. However all new
196+
abstract classes must follow this naming convention;
196197

197198
* Suffix interfaces with ``Interface``;
198199

0 commit comments

Comments
 (0)
0