mirror of
https://github.com/friendica/friendica
synced 2024-11-18 01:03:40 +00:00
Add documentation about new array syntax
This commit is contained in:
parent
2b5bffecf4
commit
379f93831f
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue