* 1.x:
bumped version to 1.20.1-DEV
prepared the 1.20.0 release
updated CHANGELOG
Fix the accessibility of Twig_Template::getEnvironment method in the C ext
Fix the handling of internal Twig_Template properties in the C ext
Forbid access to the Twig environment from template instance
fixed sandbox security issue
Prevent importing or calling reserved macro names
* 1.x:
updated CHANGELOG
reverted unexpected change
fixed previous merge
Organize and show value types
Added label for "Whitespace Control" section
Added note about case sensitivity of logic operators
Fixed CS
Fixed error guessing for nested templates
Travis no longer supports hhvm-nightly
fixed CS
Added an example for "and" on if statment
Updated exception messages for null vars in Twig_Template::getAttribute().
Use stubs for profiles. Fixes#1660
Conflicts:
doc/api.rst
This PR was merged into the 1.x branch.
Discussion
----------
[1.x] Updated exception messages for null vars
Updated exception messages for null vars in ```Twig_Template::getAttribute()```.
Example:
**Before:**
```
Impossible to invoke a method ("myMethod") on a NULL variable ("") in My:template.html.twig at line 1
```
**After:**
```
Impossible to invoke a method ("myMethod") on a null variable in My:template.html.twig at line 1
```
Commits
-------
ddf011d Updated exception messages for null vars in Twig_Template::getAttribute().
* 1.x:
Fix two failed unit tests on Windows:
updated CHANGELOG
Reduce the name of the cache directories to 1 character
clean ups
bumped version to 1.18.2-DEV
prepared the 1.18.1 release
updated CHANGELOG
Cleanup API - make the compiler happy
Fixed memory leaks
tweaked docs about the C extension
removed an obsolete recipe
Conflicts:
CHANGELOG
doc/api.rst
doc/recipes.rst
ext/twig/php_twig.h
lib/Twig/Environment.php
lib/Twig/NodeTraverser.php
lib/Twig/Template.php