Permalink
Browse files

minor #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/a

see symfony/symfony#10701

Commits
-------

bf9d509 added a note about types we support
  • Loading branch information...
weaverryan committed May 8, 2014
2 parents 9314916 + bf9d509 commit 1adfd9b7b9d4d0e33cf0fd266d05d3cef36a2faa
Showing with 4 additions and 0 deletions.
  1. +4 −0 contributing/code/standards.rst
@@ -133,6 +133,10 @@ Naming Conventions
* Use alphanumeric characters and underscores for file names;
* For type-hinting in PHPDocs and casting, use ``bool`` (instead of ``boolean``
or ``Boolean``), ``int`` (instead of ``integer``), ``float`` (instead of
``double`` or ``real``);
* Don't forget to look at the more verbose :doc:`conventions` document for
more subjective naming considerations.

0 comments on commit 1adfd9b

Please sign in to comment.