Add documentation about new array syntax

This commit is contained in:
Hypolite Petovan 2018-01-17 15:30:47 -05:00
父節點 2b5bffecf4
當前提交 379f93831f
共有 1 個檔案被更改,包括 1 行新增0 行删除

查看文件

@ -64,6 +64,7 @@ Here's a few primers if you are new to Friendica or to the PSR-2 coding standard
* Boolean operators are `&&` and `||` for PHP conditions, `AND` and `OR` for SQL queries
* No closing PHP tag
* No trailing spaces
* Array declarations use the new square brackets syntax
Don't worry, you don't have to know by heart the PSR-2 coding standards to start contributing to Friendica.
There are a few tools you can use to check or fix your files before you commit.