Added support DateTimeInterface (PHP 5.5) if available
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
updated CHANGELOG
made a cosmetic change (closes #1226)
fix phpdoc for environment, lexer and parser
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
fixed the possibility to have a variable named 'matches' (closes #1227)
made it possible to use named operators as variables
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
prepared the 1.14.1 release
bumped version to 1.14.2-DEV
missing closing parenthesis
minor #1237 missing closing parenthesis (karlhorky)

This PR was merged into the master branch.

Discussion
----------

missing closing parenthesis

Commits
-------

9b73224 missing closing parenthesis
Fixed minor typo "base" into "based" line 67
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
fixed CS in docs
removed whitespaces in docs
removed whitespaces
allowed operators that contain whitespaces to have more than one whitespace
allowed tests to be made of 1 or 2 words