This PR was merged into the master branch.
Discussion
----------
added the starts with, ends with, and matches operators
Adds three new operators:
* `ends with`
* `starts with`
* `matches`
I've not added the `contains` operator as it would be equivalent with the existing `in` one.
TODO:
* [x] add docs
* [x] fix on PHP 5.2.
Commits
-------
b66181d added the starts with, ends with, and matches operators
This PR was merged into the master branch.
Discussion
----------
Change wording of indentation coding standards
The documentation says to use indentation consistent with the main language of the **File**. But in a Twig template, that language is going to be Twig. This PR changes the wording to indicate that the indentation rules inside tags should be consistent with the main language of the **Project** Twig is being used within.
```
| Q | A
| ------------- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | all
| Fixed tickets | none
```
Commits
-------
435e3b2 Update wording of the indentation coding standards documentation
09b58e1 Change wording of indentation coding standards
This PR was merged into the master branch.
Discussion
----------
[Doc] corrects number_format argument namming
last argument is for thousand separator not decimal
Commits
-------
fc1950d [Doc] corrects number_format argument namming
This PR was merged into the master branch.
Discussion
----------
fixed usage of the html_attr escaping strategy to avoid double-escaping with the html strategy
fixes#896
Commits
-------
f27d4a1 fixed usage of the html_attr escaping strategy to avoid double-escaping with the html strategy
This PR was merged into the master branch.
Discussion
----------
Refactored the installation docs
The idea is to get back a simple and straight to the point into chapter. As Composer is now the defacto standard to install PHP deps, I've moved everything related to the other installation methods in a new chapter.
Commits
-------
dd1ead2 tweaked intro chapter
a0efdc9 simplified the intro doc page
This PR was merged into the master branch.
Discussion
----------
Make Twig HHVM compatible
Work in progress
Commits
-------
7a7e8c5 removed a test that do not pass on hhvm as it is not able to compare DateTime objects properly
89779bc fixed a test on hhvm
f939ea6 skipped a test on hhvm
cbbcd89 fixed some tests as hhvm always returns false for ReflectionArgument::isOptional()
This PR was squashed before being merged into the master branch (closes#1202).
Discussion
----------
Missing doc details for building C extension on windows
Commits
-------
1a65132 Missing doc details for building C extension on windows
This PR was merged into the master branch.
Discussion
----------
added a way to add custom escaping strategies
This adds the possibility to define custom escapers that can be used with the `escape` filter.
That would close#1178 and #1177, but I'm not sure that this is a good idea.
What do you think?
Commits
-------
55f8b27 added a way to add custom escaping strategies
This PR was merged into the master branch.
Discussion
----------
Fixed somes issues from SensioLabsInsight
All others errors could be ignore IMHO
And the `Test` directory should be ignored in the project configuration
Commits
-------
e0da5cc Fixed somes issues from SensioLabsInsight
This PR was merged into the master branch.
Discussion
----------
HHVM compatibility: array sometimes can be Traversable
All checks on instance of Traversable prepended with is_object check.
See facebook/hiphop-php#1034 for details.
Commits
-------
b1b1e3c HHVM compatibility: array sometimes can be Traversable
This PR was merged into the master branch.
Discussion
----------
Add "cols" parameter to the textarea macro
Macro textarea depends on cols variable, but there is no way to pass it.
Commits
-------
c735d6d Add "cols" parameter to the textarea macro
This PR was merged into the master branch.
Discussion
----------
Add doc for building C extension on windows
Commits
-------
12500b3 Added doc for building C extension on windows
a53c467 Removed link to pre-build DLL for windows as they are outdated
This PR was merged into the master branch.
Discussion
----------
Vim integration updated
Vim integration updated with alternative, Jinja for Vim link updated to the latest.
Commits
-------
d8346d4 Vim integration updated with alternative, Jinja for Vim link updated to the latest
This PR was merged into the master branch.
Discussion
----------
Clarify what the "date" filter takes as parameter
Clarify what the "date" filter takes as parameter.
I went through Twig/Extension/Core.php to figure what's happening. I haven't verified that I'm actually correct, but it looks like I am.
Commits
-------
744ad32 Clarify what the "date" filter takes as parameter
Clarify what the "date" filter takes as parameter.
I went through Twig/Extension/Core.php to figure what's happening. I haven't verified that I'm actually correct, but it looks like I am.