Skip to content

Commit

Permalink
minor #3802 Add a note about which types can be used in Symfony (fabpot)
Browse files Browse the repository at this point in the history
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 1adfd9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contributing/code/standards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 1adfd9b

Please sign in to comment.