web/konrad/twig.git
10 years agoadded test for accessing xml attributes
Tobias Schultze [Fri, 31 Jan 2014 14:53:51 +0000]
added test for accessing xml attributes

10 years agoadded a note about how to check for dynamic attribute existence in the docs
Fabien Potencier [Wed, 29 Jan 2014 08:45:07 +0000]
added a note about how to check for dynamic attribute existence in the docs

10 years agominor #1319 Simplified Twig_Autoloader (hason)
Fabien Potencier [Tue, 28 Jan 2014 06:09:19 +0000]
minor #1319 Simplified Twig_Autoloader (hason)

This PR was merged into the 1.15-dev branch.

Discussion
----------

Simplified Twig_Autoloader

Commits
-------

94fff30 Simplified Twig_Autoloader

10 years agominor #1324 Minor pedantic variable definition fixes (jwatzman)
Fabien Potencier [Tue, 28 Jan 2014 06:07:56 +0000]
minor #1324 Minor pedantic variable definition fixes (jwatzman)

This PR was merged into the 1.15-dev branch.

Discussion
----------

Minor pedantic variable definition fixes

Fixes a couple pedantic issues with variables not always being defined and
passing a couple unused variables to error handling functions.

Commits
-------

83dd42e Minor pedantic variable definition fixes

10 years agoMinor pedantic variable definition fixes
Josh Watzman [Mon, 27 Jan 2014 23:59:47 +0000]
Minor pedantic variable definition fixes

Fixes a couple pedantic issues with variables not always being defined and
passing a couple unused variables to error handling functions.

10 years agominor #1323 Added a more clear example in the cycle() docs (brandonkelly)
Fabien Potencier [Fri, 24 Jan 2014 15:03:15 +0000]
minor #1323 Added a more clear example in the cycle() docs (brandonkelly)

This PR was merged into the 1.15-dev branch.

Discussion
----------

Added a more clear example in the cycle() docs

We've receive a lot of feedback that the examples for the cycle() tag could be better, so I figured I'd contribute one.

The previous example was potentially misleading if you were focussed on the actual numbers (0 is even, not odd! etc.), and 99% of the time you’re going to be passing loop.index0 into cycle, so I felt that should be included in the example.

I realize that this one requires a little additional setup, but I think the fact that it's a real-world example makes it worth it.

Commits
-------

8958565 Added a more clear example in the cycle() docs

10 years agoAdded a more clear example in the cycle() docs
Brandon Kelly [Fri, 24 Jan 2014 12:27:48 +0000]
Added a more clear example in the cycle() docs

The previous one was potentially misleading if you were focussed on the actual numbers (0 is even, not odd! etc.), and 99% of the time you’re going to be passing loop.index0 into cycle, so I felt that should be included in the example.

10 years agoSimplified Twig_Autoloader
Martin Hasoň [Thu, 23 Jan 2014 11:07:16 +0000]
Simplified Twig_Autoloader

10 years agoupdated LICENSE years
Fabien Potencier [Wed, 8 Jan 2014 07:21:28 +0000]
updated LICENSE years

10 years agominor #1303 Improved exception message for accessing object (without ArrayAccess...
Fabien Potencier [Sun, 5 Jan 2014 16:48:49 +0000]
minor #1303 Improved exception message for accessing object (without ArrayAccess) as array (hason)

This PR was merged into the 1.15-dev branch.

Discussion
----------

Improved exception message for accessing object (without ArrayAccess) as array

Commits
-------

770712b Improved exception message for accessing object without ArrayAccess as array

10 years agoremoved HHVM from the allowed failures
Fabien Potencier [Sun, 5 Jan 2014 16:46:03 +0000]
removed HHVM from the allowed failures

10 years agominor #1312 made some minor tweaks to PHPUnit assertions (fabpot)
Fabien Potencier [Sun, 5 Jan 2014 16:41:06 +0000]
minor #1312 made some minor tweaks to PHPUnit assertions (fabpot)

This PR was merged into the 1.15-dev branch.

Discussion
----------

made some minor tweaks to PHPUnit assertions

Commits
-------

e5e2a01 made some minor tweaks to PHPUnit assertions

10 years agomade some minor tweaks to PHPUnit assertions
Fabien Potencier [Sun, 5 Jan 2014 16:24:50 +0000]
made some minor tweaks to PHPUnit assertions

10 years agobug #1311 fixed the conversion of the special '0000-00-00 00:00' date (fabpot)
Fabien Potencier [Sun, 5 Jan 2014 00:05:42 +0000]
bug #1311 fixed the conversion of the special '0000-00-00 00:00' date (fabpot)

This PR was merged into the 1.15-dev branch.

Discussion
----------

fixed the conversion of the special '0000-00-00 00:00' date

This PR reverts #1234 and add supports for PHP 5.5 is a simpler way. This also fixes #1241 and closes #1242.

Commits
-------

9b95570 fixed the conversion of the special '0000-00-00 00:00' date

10 years agofixed the conversion of the special '0000-00-00 00:00' date
Fabien Potencier [Sat, 4 Jan 2014 23:37:22 +0000]
fixed the conversion of the special '0000-00-00 00:00' date

10 years agoImproved exception message for accessing object without ArrayAccess as array
Martin Hasoň [Mon, 30 Dec 2013 09:06:46 +0000]
Improved exception message for accessing object without ArrayAccess as array

10 years agofixed Filesystem::exists() to normalize the template name before checking the cache
Fabien Potencier [Fri, 27 Dec 2013 14:37:02 +0000]
fixed Filesystem::exists() to normalize the template name before checking the cache

10 years agominor #1284 Simple enhancement for easy overloading (arnapou)
Fabien Potencier [Fri, 27 Dec 2013 14:35:40 +0000]
minor #1284 Simple enhancement for easy overloading (arnapou)

This PR was squashed before being merged into the 1.15-dev branch (closes #1284).

Discussion
----------

Simple enhancement for easy overloading

More consistent algorithm which allow people to easily overload normalize method to their needs.

Commits
-------

87d4f08 Simple enhancement for easy overloading

10 years agoSimple enhancement for easy overloading
Arnaud Buathier [Tue, 3 Dec 2013 09:10:53 +0000]
Simple enhancement for easy overloading

10 years agominor #1290 [Docs] Fix example: space missing between concatenated strings (GromNaN)
Fabien Potencier [Fri, 27 Dec 2013 14:27:14 +0000]
minor #1290 [Docs] Fix example: space missing between concatenated strings (GromNaN)

This PR was merged into the 1.15-dev branch.

Discussion
----------

[Docs] Fix example: space missing between concatenated strings

The expression `'Hello'~'Fabien'` produces `'HelloFabien'`, not `'Hello Fabien'`. I've just added a space after `'Hello'`.

Commits
-------

d6e0357 Fix doc example: space missing between concatenated strings

10 years agoRevert "merged branch javer/hhvm-array-traversable (PR #1192)"
Fabien Potencier [Fri, 27 Dec 2013 14:21:16 +0000]
Revert "merged branch javer/hhvm-array-traversable (PR #1192)"

This reverts commit 0d97eb95288c6f08d5c46e9aa5706f2341a34e29, reversing
changes made to 4fcaf0c5fc91435cf625c20c0ecbd29c4f8b25a1.

This change is not needed anymore as HHVM has been fixed as of 2.3.0.

10 years agofixed Travis config to allow HHVM to fail
Fabien Potencier [Fri, 27 Dec 2013 14:13:51 +0000]
fixed Travis config to allow HHVM to fail

10 years agominor #1294 Add HHVM to build matrix (ptarjan)
Fabien Potencier [Fri, 27 Dec 2013 14:12:46 +0000]
minor #1294 Add HHVM to build matrix (ptarjan)

This PR was squashed before being merged into the 1.15-dev branch (closes #1294).

Discussion
----------

Add HHVM to build matrix

Now that HHVM can run your project, lets keep it that way

Commits
-------

e03b05e Add HHVM to build matrix

10 years agoAdd HHVM to build matrix
Paul Tarjan [Fri, 13 Dec 2013 19:31:03 +0000]
Add HHVM to build matrix

10 years agominor #1291 Fixed rendering of ``-3`` (ureimers)
Fabien Potencier [Tue, 10 Dec 2013 10:23:00 +0000]
minor #1291 Fixed rendering of ``-3`` (ureimers)

This PR was merged into the master branch.

Discussion
----------

Fixed rendering of ``-3``

The missing space between "``-3``" and "(this is just syntactic[...])" led to the ``-3`` being rendered wrong. The parser must've ignored the closing "``" when it was directly followed by a non-space character.

Commits
-------

d8ea1b1 Fixed rendering of ``-3``

10 years agoFixed rendering of ``-3``
ureimers [Tue, 10 Dec 2013 10:19:22 +0000]
Fixed rendering of ``-3``

The missing space between "``-3``" and "(this is just syntactic[...])" led to the ``-3`` being rendered wrong. The parser must've ignored the closing "``" when it was directly followed by a non-space character.

10 years agoFix doc example: space missing between concatenated strings
Jérôme Tamarelle [Sat, 7 Dec 2013 19:09:53 +0000]
Fix doc example: space missing between concatenated strings

10 years agobug #1288 added an error message when trying to import an undefined block from a...
Fabien Potencier [Fri, 6 Dec 2013 15:28:39 +0000]
bug #1288 added an error message when trying to import an undefined block from a trait (fabpot)

This PR was merged into the master branch.

Discussion
----------

added an error message when trying to import an undefined block from a trait

Commits
-------

a2c6db7 added an error message when trying to import an undefined block from a trait

10 years agoadded an error message when trying to import an undefined block from a trait
Fabien Potencier [Fri, 6 Dec 2013 10:06:49 +0000]
added an error message when trying to import an undefined block from a trait

10 years agobumped version to 1.15.1-DEV
Fabien Potencier [Fri, 6 Dec 2013 08:13:22 +0000]
bumped version to 1.15.1-DEV

10 years agoprepared the 1.15.0 release
Fabien Potencier [Fri, 6 Dec 2013 07:47:10 +0000]
prepared the 1.15.0 release

10 years agofixed markup
Fabien Potencier [Tue, 3 Dec 2013 14:16:16 +0000]
fixed markup

10 years agofeature #1286 Adding ignoreStrictCheck option for call_user_func_array, if throwing...
Fabien Potencier [Tue, 3 Dec 2013 14:08:30 +0000]
feature #1286 Adding ignoreStrictCheck option for call_user_func_array, if throwing exception (fabpot)

This PR was merged into the master branch.

Discussion
----------

Adding ignoreStrictCheck option for call_user_func_array, if throwing exception

Same as #1236 with added unit tests and C extension support (to come).

"I experienced the issue when using FuelPHP's ORM with EAV containers. When I tried to reference a property that was not defined I expected to get null, but instead the whole application stopped because an exception was thrown in the ORM, that no such function is present.

I couldn't find other possible exception that could be thrown when this function is called, so I assumed it's safe to take the ignoreStrictCheck into consideration here."

Commits
-------

1abf5d9 [ext] Mirroring PHP change for call_user_func_array, see #1286
9ab290b added tests for exceptions thrown in __call()
c711d37 Adding ignoreStrictCheck option for call_user_func_array, if throwing exception

10 years ago[ext] Mirroring PHP change for call_user_func_array, see #1286
Tugdual Saunier [Tue, 3 Dec 2013 13:40:20 +0000]
[ext] Mirroring PHP change for call_user_func_array, see #1286

10 years agoadded tests for exceptions thrown in __call()
Fabien Potencier [Tue, 3 Dec 2013 12:58:35 +0000]
added tests for exceptions thrown in __call()

10 years agofeature #1277 Added min and max function (lyrixx)
Fabien Potencier [Tue, 3 Dec 2013 13:05:12 +0000]
feature #1277 Added min and max function (lyrixx)

This PR was merged into the master branch.

Discussion
----------

Added min and max function

usefull for pagination

Commits
-------

6aa06de Added min and max function

10 years agoAdding ignoreStrictCheck option for call_user_func_array, if throwing exception
Barta Tamás [Wed, 16 Oct 2013 20:49:43 +0000]
Adding ignoreStrictCheck option for call_user_func_array, if throwing exception

10 years agoAdded min and max function
Grégoire Pineau [Sat, 23 Nov 2013 04:00:49 +0000]
Added min and max function

10 years agofixed typo
Fabien Potencier [Tue, 3 Dec 2013 12:41:51 +0000]
fixed typo

10 years agominor #1285 Corrected description of the "//" operator (ureimers)
Fabien Potencier [Tue, 3 Dec 2013 12:41:40 +0000]
minor #1285 Corrected description of the "//" operator (ureimers)

This PR was merged into the master branch.

Discussion
----------

Corrected description of the "//" operator

The operator was previously described to truncate the the value when it in fact floors the result of the division (which can be seen in https://github.com/fabpot/Twig/blob/master/lib/Twig/Node/Expression/Binary/FloorDiv.php#L20).
By the old description one would think that ``{{ -20 // 7 }}`` would yield -2 (as in ``(int)(-20/7)``) when it actually returns -3 (as in ``floor(-20/7)``). Floor is not truncate (cast to int).

Commits
-------

a360bc0 Corrected description of the "//" operator

10 years agofixed phpdoc
Fabien Potencier [Tue, 3 Dec 2013 12:38:38 +0000]
fixed phpdoc

10 years agofeature #1261 added TokenStream::nextIf() (fabpot)
Fabien Potencier [Tue, 3 Dec 2013 12:29:21 +0000]
feature #1261 added TokenStream::nextIf() (fabpot)

This PR was merged into the master branch.

Discussion
----------

added TokenStream::nextIf()

The introduction of `nextIf()` simplified a lot of code.

Commits
-------

0ed7898 added TokenStream::nextIf()

10 years agoadded TokenStream::nextIf()
Fabien Potencier [Sat, 9 Nov 2013 18:15:01 +0000]
added TokenStream::nextIf()

10 years agoCorrected description of the "//" operator
ureimers [Tue, 3 Dec 2013 11:55:12 +0000]
Corrected description of the "//" operator

The operator was previously described to truncate the the value when it in fact floors the result of the division (which can be seen in https://github.com/fabpot/Twig/blob/master/lib/Twig/Node/Expression/Binary/FloorDiv.php#L20).
By the old description one would think that ``{{ -20 // 7 }}`` would yield -2 (as in ``(int)(-20/7)``) when it actually returns -3 (as in ``floor(-20/7)``). Floor is not truncate (cast to int).

10 years agominor #1280 [Docs] Fix typos (bicpi)
Fabien Potencier [Sun, 24 Nov 2013 18:36:20 +0000]
minor #1280 [Docs] Fix typos (bicpi)

This PR was merged into the master branch.

Discussion
----------

[Docs] Fix typos

Commits
-------

6ea9d8f [Docs] Fix typos

10 years ago[Docs] Fix typos
Philipp Rieber [Sun, 24 Nov 2013 05:39:33 +0000]
[Docs] Fix typos

10 years agofeature #1255 added the round filter (fabpot)
Fabien Potencier [Sat, 23 Nov 2013 21:24:07 +0000]
feature #1255 added the round filter (fabpot)

This PR was merged into the master branch.

Discussion
----------

added the round filter

fixes #1238

Commits
-------

ff4a7d2 added the round filter

10 years agominor #1279 [Docs] Some minor fixes: Typos, Notations, Formatting (bicpi)
Fabien Potencier [Sat, 23 Nov 2013 21:23:01 +0000]
minor #1279 [Docs] Some minor fixes: Typos, Notations, Formatting (bicpi)

This PR was merged into the master branch.

Discussion
----------

[Docs] Some minor fixes: Typos, Notations, Formatting

Fixes for:
* Notations: html > HTML; javascript > JavaScript; composer > Composer
* Typos
* Wrong function names: ``escaper`` > ``escape``; ``include`` > ``source`` (in new chapter about ``source``)
* Formatting issues, e.g. remove RST from code blocks, it's not evaluated
* Wording where code sample outputs something: returns > outputs
* ``true`` parameter for ``autoescape`` - not needed any more

Commits
-------

a21df95 [Docs] Some minor fixes: Typos, Notations

10 years ago[Docs] Some minor fixes: Typos, Notations
Philipp Rieber [Sat, 23 Nov 2013 14:12:47 +0000]
[Docs] Some minor fixes: Typos, Notations

10 years agofixed optimizer max value
Fabien Potencier [Thu, 14 Nov 2013 08:08:49 +0000]
fixed optimizer max value

10 years agominor #1270 Use string instead of large integer (ptarjan)
Fabien Potencier [Wed, 13 Nov 2013 08:11:09 +0000]
minor #1270 Use string instead of large integer (ptarjan)

This PR was merged into the master branch.

Discussion
----------

Use string instead of large integer

HHVM differs from php-src on large integer parsing (php-src converts
them to floats, HHVM truncates them but leaves them as integers). The
point of this test is to make sure Twig parses it correctly, not the
underlying PHP execution engine.

Commits
-------

d401717 Use string instead of large integer

10 years agoUse string instead of large integer
ptarjan [Wed, 13 Nov 2013 07:38:46 +0000]
Use string instead of large integer

HHVM differs from php-src on large integer parsing (php-src converts
them to floats, HHVM truncates them but leaves them as integers). The
point of this test is to make sure Twig parses it correctly, not the
underlying PHP execution engine.

10 years agominor #1269 various cleanups (cordoval)
Fabien Potencier [Tue, 12 Nov 2013 17:59:00 +0000]
minor #1269 various cleanups (cordoval)

This PR was squashed before being merged into the master branch (closes #1269).

Discussion
----------

various cleanups

fix bool -> Boolean for consistency in other parts of twig's code removing
assignment to n as it is never used fix typo and docblock for consistency
remove line break not needed for consistency fix array docblock for
consistency

Commits
-------

cb651e8 various cleanups

10 years agovarious cleanups
Luis Cordova [Tue, 12 Nov 2013 04:16:28 +0000]
various cleanups

10 years agoadded the round filter
Fabien Potencier [Thu, 31 Oct 2013 07:49:30 +0000]
added the round filter

10 years agomoved README to rst
Fabien Potencier [Mon, 11 Nov 2013 19:04:42 +0000]
moved README to rst

10 years agominor #1260 fix typo 'in' operator (thewholelifetolearn)
Fabien Potencier [Wed, 6 Nov 2013 10:15:23 +0000]
minor #1260 fix typo 'in' operator (thewholelifetolearn)

This PR was merged into the master branch.

Discussion
----------

fix typo 'in' operator

Fixed a small typo in the negative 'in' test operator

Commits
-------

f9013d5 fix typo 'in' operator

10 years agofix typo 'in' operator
Ralph KEMPS [Wed, 6 Nov 2013 09:39:15 +0000]
fix typo 'in' operator

Fixed a small typo in the negative 'in' test operator

10 years agominor #1259 Fixed ZendServer specific DLL Path in install doc (tucksaun)
Fabien Potencier [Sun, 3 Nov 2013 19:14:49 +0000]
minor #1259 Fixed ZendServer specific DLL Path in install doc (tucksaun)

This PR was merged into the master branch.

Discussion
----------

Fixed ZendServer specific DLL Path in install doc

It seems the \ need to be escaped in the tip section.

(see the file on github or the Twig website)

Commits
-------

2b102e3 Fixed ZendServer specific DLL Path in install doc

10 years agoFixed ZendServer specific DLL Path in install doc
Tugdual Saunier [Sun, 3 Nov 2013 19:10:18 +0000]
Fixed ZendServer specific DLL Path in install doc

It seems the \ need to be escaped in the tip section.

(see the file on github or the Twig website)

10 years agoupdated CHANGELOG
Fabien Potencier [Sun, 3 Nov 2013 09:12:32 +0000]
updated CHANGELOG

10 years agobug #1258 Fix twig_first and twig_last filters for UTF8 multibyte strings (chEbba)
Fabien Potencier [Sun, 3 Nov 2013 09:11:57 +0000]
bug #1258 Fix twig_first and twig_last filters for UTF8 multibyte strings (chEbba)

This PR was squashed before being merged into the master branch (closes #1258).

Discussion
----------

Fix twig_first and twig_last filters for UTF8 multibyte strings

After string is sliced we already have the right result with a first/last letter for UTF8 string.

Commits
-------

6003ae4 Fix twig_first and twig_last filters for UTF8 multibyte strings

10 years agoFix twig_first and twig_last filters for UTF8 multibyte strings
Kirill chEbba Chebunin [Thu, 31 Oct 2013 16:50:58 +0000]
Fix twig_first and twig_last filters for UTF8 multibyte strings

10 years agofeature #1257 added a source function to include the content of a template without...
Fabien Potencier [Sat, 2 Nov 2013 20:45:37 +0000]
feature #1257 added a source function to include the content of a template without rendering it (fabpot)

This PR was merged into the master branch.

Discussion
----------

added a source function to include the content of a template without rendering it

Replaces #1230.

There is one question about the implementation: Should the content be considered safe (which is the current implementation)?

Commits
-------

dff7d2c added a source function to include the content of a template without rendering it

10 years agoadded a source function to include the content of a template without rendering it
Fabien Potencier [Thu, 31 Oct 2013 12:34:32 +0000]
added a source function to include the content of a template without rendering it

10 years agobumped version to 1.15
Fabien Potencier [Thu, 31 Oct 2013 12:37:55 +0000]
bumped version to 1.15

10 years agoRevert "merged branch Cottser/master (PR #1071)"
Fabien Potencier [Thu, 31 Oct 2013 12:17:35 +0000]
Revert "merged branch Cottser/master (PR #1071)"

This reverts commit 2f5c9899a4088fce3bb6325d96232cd1978161e4, reversing
changes made to 4e7094f6a3831dc86b4963d805c4567f4076fce3.

Conflicts:
lib/Twig/Environment.php

10 years agobug #1256 Fixed C extension sandbox behavior (tucksaun)
Fabien Potencier [Thu, 31 Oct 2013 11:37:11 +0000]
bug #1256 Fixed C extension sandbox behavior (tucksaun)

This PR was squashed before being merged into the master branch (closes #1256).

Discussion
----------

Fixed C extension sandbox behavior

fixes #1254

Commits
-------

40bba0e Fixed C extension sandbox behavior

10 years agoFixed C extension sandbox behavior
Tugdual Saunier [Thu, 31 Oct 2013 11:13:00 +0000]
Fixed C extension sandbox behavior

10 years agobumped version to 1.14.3-DEV
Fabien Potencier [Wed, 30 Oct 2013 08:31:01 +0000]
bumped version to 1.14.3-DEV

10 years agoprepared the 1.14.2 release
Fabien Potencier [Wed, 30 Oct 2013 08:20:53 +0000]
prepared the 1.14.2 release

10 years agoadded missing @throws
Fabien Potencier [Mon, 28 Oct 2013 13:44:04 +0000]
added missing @throws

10 years agobug #1249 fixed error filename/line when an error occurs in an included file (fabpot)
Fabien Potencier [Mon, 28 Oct 2013 13:36:23 +0000]
bug #1249 fixed error filename/line when an error occurs in an included file (fabpot)

This PR was merged into the master branch.

Discussion
----------

fixed error filename/line when an error occurs in an included file

fixed #1141

Commits
-------

ba0bf63 refactored some tests
1cdc913 fixed error filename/line when an error occurs in an included file
de985a8 failing test

10 years agofeature #1208 allowed tests to be made of 1 or 2 words (fabpot)
Fabien Potencier [Mon, 28 Oct 2013 10:44:48 +0000]
feature #1208 allowed tests to be made of 1 or 2 words (fabpot)

This PR was merged into the master branch.

Discussion
----------

allowed tests to be made of 1 or 2 words

Commits
-------

52c952c allowed tests to be made of 1 or 2 words

10 years agobug #1248 allowed operators that contain whitespaces to have more than one whitespace...
Fabien Potencier [Mon, 28 Oct 2013 10:43:01 +0000]
bug #1248 allowed operators that contain whitespaces to have more than one whitespace (fabpot)

This PR was merged into the master branch.

Discussion
----------

allowed operators that contain whitespaces to have more than one whitespace

Commits
-------

724dc61 allowed operators that contain whitespaces to have more than one whitespace

10 years agorefactored some tests
Fabien Potencier [Sun, 27 Oct 2013 18:18:00 +0000]
refactored some tests

10 years agofixed error filename/line when an error occurs in an included file
Fabien Potencier [Sun, 27 Oct 2013 13:47:59 +0000]
fixed error filename/line when an error occurs in an included file

To be able to cover all cases, we need to catch the exception when we
know the execution context (the block being rendered). The only
possibility is to actually try/catch exceptions in the displayBlock()
method directly.

10 years agofailing test
Kris Wallsmith [Thu, 18 Jul 2013 00:25:28 +0000]
failing test

the error filename is incorrect when an exception is thrown from an
included file

10 years agoallowed tests to be made of 1 or 2 words
Fabien Potencier [Sat, 28 Sep 2013 17:28:24 +0000]
allowed tests to be made of 1 or 2 words

10 years agoallowed operators that contain whitespaces to have more than one whitespace
Fabien Potencier [Sun, 27 Oct 2013 09:56:11 +0000]
allowed operators that contain whitespaces to have more than one whitespace

10 years agoremoved whitespaces
Fabien Potencier [Sat, 26 Oct 2013 07:59:29 +0000]
removed whitespaces

10 years agoremoved whitespaces in docs
Fabien Potencier [Sat, 26 Oct 2013 06:34:09 +0000]
removed whitespaces in docs

10 years agofixed CS in docs
Fabien Potencier [Sat, 26 Oct 2013 06:29:21 +0000]
fixed CS in docs

10 years agominor #1247 Fixed minor typo "base" into "based" line 67 (annesosensio)
Fabien Potencier [Sat, 26 Oct 2013 06:16:32 +0000]
minor #1247 Fixed minor typo "base" into "based" line 67 (annesosensio)

This PR was merged into the master branch.

Discussion
----------

Fixed minor typo "base" into "based" line 67

Commits
-------

08282d3 Fixed minor typo "base" into "based" line 67

10 years agoFixed minor typo "base" into "based" line 67
annesosensio [Fri, 25 Oct 2013 13:23:13 +0000]
Fixed minor typo "base" into "based" line 67

10 years agominor #1237 missing closing parenthesis (karlhorky)
Fabien Potencier [Thu, 17 Oct 2013 08:34:06 +0000]
minor #1237 missing closing parenthesis (karlhorky)

This PR was merged into the master branch.

Discussion
----------

missing closing parenthesis

Commits
-------

9b73224 missing closing parenthesis

10 years agomissing closing parenthesis
Karl Horky [Thu, 17 Oct 2013 08:00:32 +0000]
missing closing parenthesis

10 years agobumped version to 1.14.2-DEV
Fabien Potencier [Tue, 15 Oct 2013 19:39:15 +0000]
bumped version to 1.14.2-DEV

10 years agoprepared the 1.14.1 release
Fabien Potencier [Tue, 15 Oct 2013 19:17:38 +0000]
prepared the 1.14.1 release

10 years agofeature #1235 made it possible to use named operators as variables (fabpot)
Fabien Potencier [Tue, 15 Oct 2013 16:44:00 +0000]
feature #1235 made it possible to use named operators as variables (fabpot)

This PR was merged into the master branch.

Discussion
----------

made it possible to use named operators as variables

Commits
-------

8d805aa made it possible to use named operators as variables

10 years agomade it possible to use named operators as variables
Fabien Potencier [Tue, 15 Oct 2013 16:27:17 +0000]
made it possible to use named operators as variables

10 years agofixed the possibility to have a variable named 'matches' (closes #1227)
Fabien Potencier [Tue, 15 Oct 2013 16:09:36 +0000]
fixed the possibility to have a variable named 'matches' (closes #1227)

10 years agominor #1231 fix phpdoc for environment, lexer and parser (Tobion)
Fabien Potencier [Tue, 15 Oct 2013 15:54:43 +0000]
minor #1231 fix phpdoc for environment, lexer and parser (Tobion)

This PR was squashed before being merged into the master branch (closes #1231).

Discussion
----------

fix phpdoc for environment, lexer and parser

First commit fixes several phpdocs <del>and also an instanceof check</del>.
The second commit changes an exception from Runtime to Syntax because it doesn't make sense to throw runtime exception during compilation. It also makes it consistent with all the rest (lexer, parser, compiler classes).

Commits
-------

cc5f3c4 fix phpdoc for environment, lexer and parser

10 years agofix phpdoc for environment, lexer and parser
Tobias Schultze [Wed, 9 Oct 2013 22:52:04 +0000]
fix phpdoc for environment, lexer and parser

10 years agomade a cosmetic change (closes #1226)
Fabien Potencier [Tue, 15 Oct 2013 15:51:49 +0000]
made a cosmetic change (closes #1226)

10 years agoupdated CHANGELOG
Fabien Potencier [Tue, 15 Oct 2013 15:50:35 +0000]
updated CHANGELOG

10 years agofeature #1234 Added support DateTimeInterface (PHP 5.5) if available (hidenorigoto)
Fabien Potencier [Tue, 15 Oct 2013 15:50:14 +0000]
feature #1234 Added support DateTimeInterface (PHP 5.5) if available (hidenorigoto)

This PR was squashed before being merged into the master branch (closes #1234).

Discussion
----------

Added support DateTimeInterface (PHP 5.5) if available

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | new BSD
| Doc PR        |

Commits
-------

ca61fac Added support DateTimeInterface (PHP 5.5) if available

10 years agoAdded support DateTimeInterface (PHP 5.5) if available
hidenorigoto [Tue, 15 Oct 2013 09:17:03 +0000]
Added support DateTimeInterface (PHP 5.5) if available

10 years agogit push #1225 Fixed minor typo (deguif)
Fabien Potencier [Mon, 7 Oct 2013 10:00:50 +0000]
git push #1225 Fixed minor typo (deguif)

This PR was merged into the master branch.

Discussion
----------

Fixed minor typo

Commits
-------

c05c2e1 Fixed minor typo

10 years agoFixed minor typo
deguif [Mon, 7 Oct 2013 09:50:40 +0000]
Fixed minor typo