Skip to content

Commit

Permalink
added a note about types we support
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Apr 22, 2014
1 parent 252ffe7 commit bf9d509
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 @@ -130,6 +130,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 bf9d509

Please sign in to comment.