* 1.x:
fixed .php_cs CS
removed 5.3 from Travis matrix
removed array notation in comments
enabled short array notation in docs
fixed usage of short array notation in tests
fixed usage of short array notation in tests
fixed more short array notations
switched to use PHP short array notation for Twig's code
switched to use short arrays in generated code
dropped PHP 5.3 support
bumped version
This PR was squashed before being merged into the 1.x branch (closes#2796).
Discussion
----------
Switch to short array notation
Commits
-------
d39f6a87 fixed .php_cs CS
8753069c removed 5.3 from Travis matrix
1c9bdd06 removed array notation in comments
a2c42534 enabled short array notation in docs
b75c9fab fixed usage of short array notation in tests
a0399fe6 fixed usage of short array notation in tests
0446296d fixed more short array notations
5c55243d switched to use PHP short array notation for Twig's code
8758b570 switched to use short arrays in generated code
63702811 dropped PHP 5.3 support
777912e5 bumped version
This PR was squashed before being merged into the 1.x branch (closes#2786).
Discussion
----------
Added hint that the php c extension is only for php5
As @fabpot mention in the slack channel the php c twig extension is only available for php5 and is not needed when using php7 as there the performance boost is not significant enough.
Related Issue: #1695
Commits
-------
7266c9ad Added hint that the php c extension is only for php5
This PR was submitted for the 2.x branch but it was squashed and merged into the 1.x branch instead (closes#2757).
Discussion
----------
Enhances join filter for natural language join (i.e., "A, B and C")
Simply adds a second optional parameter to the join filter that will be placed between the last two entries when generating the string. Since the filter only took one argument previously, this should be 100% backward compatible. Allows simple "first, second and third" string from an array. Compatible with any length input array.
Commits
-------
bf529d0a Enhances join filter for natural language join (i.e., \"A, B and C\")
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes#2769).
Discussion
----------
Update .travis.yml
Commits
-------
721fb3f6 Update .travis.yml
This PR was merged into the 2.x branch.
Discussion
----------
Remove mention of the Twig C extension
As per #2318 there's no additional installation methods so it should be removed from the intro page.
Commits
-------
434589bd Remove mention of the Twig C extension
This PR was merged into the 1.x branch.
Discussion
----------
Make sure twig_include returns a string
Currently returns `null` if `$ignoreMissing` is `true` and it's not found, but the return type is `string`.
Commits
-------
a55f76bf Make sure twig_include returns a string
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes#2764).
Discussion
----------
Document combining JSON constants
Working out how to do this took a Slack conversation and a StackOverflow answer. I'm adding ti to the documentation so others can get the answer immediately.
Apologies for any reST errors, it's been 10+ years since I wrote any.
Commits
-------
7f4ecd66 Document combining JSON constants