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

Commit1adfd9b

Browse files
committed
minorsymfony#3802 Add a note about which types can be used in Symfony (fabpot)
This PR was merged into the 2.3 branch.Discussion----------Add a note about which types can be used in Symfony| Q | A| ------------- | ---| Doc fix? | no| New docs? | no| Applies to | all| Fixed tickets | n/aseesymfony/symfony#10701Commits-------bf9d509 added a note about types we support
2 parents9314916 +bf9d509 commit1adfd9b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎contributing/code/standards.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ Naming Conventions
133133

134134
* Use alphanumeric characters and underscores for file names;
135135

136+
* For type-hinting in PHPDocs and casting, use ``bool`` (instead of ``boolean``
137+
or ``Boolean``), ``int`` (instead of ``integer``), ``float`` (instead of
138+
``double`` or ``real``);
139+
136140
* Don't forget to look at the more verbose:doc:`conventions` document for
137141
more subjective naming considerations.
138142

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp