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

Commit7f3f422

Browse files
committed
Merge pull requestsymfony#2033 from drak/patch-6
Added Exception and tweaked language of Abstract
2 parents46100f6 +114b532 commit7f3f422

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎contributing/code/standards.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,16 @@ Naming Conventions
108108

109109
* Use namespaces for all classes;
110110

111-
* Abstract classes are often prefixed with ``Abstract``;
111+
* Prefix abstract classes ``Abstract``. Please note some early Symfony2 classes
112+
do not follow this convention and have not been renamed for backward compatibility
113+
reasons. However all new abstract classes must follow this naming convention;
112114

113115
* Suffix interfaces with ``Interface``;
114116

115117
* Suffix traits with ``Trait``;
116118

119+
* Suffix exceptions with ``Exception``;
120+
117121
* Use alphanumeric characters and underscores for file names;
118122

119123
* Don't forget to look at the more verbose:doc:`conventions` document for

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp