Commit Graph

182 Commits

Author SHA1 Message Date
Jannik Zschiesche ccc2dbb043 Allow trailing commas in macros + functions + filters 2020-07-06 13:58:05 +02:00
Fabien Potencier e99363231b Fix CS 2020-06-22 08:11:03 +02:00
Fabien Potencier 76352a037d Merge branch '2.x' into 3.x
* 2.x:
  Replace strtolower() with strtr() when dealing with method names
2020-01-08 09:32:39 +01:00
Fabien Potencier 04174b5f62 Merge branch '1.x' into 2.x
* 1.x:
  Replace strtolower() with strtr() when dealing with method names
2020-01-08 09:32:31 +01:00
Matthias Pigulla 30feddef10 Replace strtolower() with strtr() when dealing with method names 2020-01-08 09:27:07 +01:00
Fabien Potencier ad0a7b376f Merge branch '2.x' into 3.x
* 2.x:
  allowed string operators as variables names in assignments
2019-06-03 12:16:18 +02:00
Fabien Potencier 3fde1536d3 Merge branch '1.x' into 2.x
* 1.x:
  allowed string operators as variables names in assignments
2019-06-03 12:15:17 +02:00
Fabien Potencier 5835c2344f allowed string operators as variables names in assignments 2019-06-03 11:58:56 +02:00
Fabien Potencier c191b7a184 Merge branch '2.x' into 3.x
* 2.x:
  added support for macros on "is defined" tests
2019-05-17 18:56:16 +02:00
Fabien Potencier 9fe3213d1b added support for macros on "is defined" tests 2019-05-17 18:04:15 +02:00
Fabien Potencier 3d1b9a11d8 Merge branch '2.x' into 3.x
* 2.x:
  fixed CS
  added the key to the map and filter filters
  added support for iterators
  removed fn in front of arrow functions
  changed arrow syntax
  added "filter", "map", and "reduce" filters
  simplified code
  fixed CS
  bumped version to 2.10
  bumped version to 1.41
  fixed partial output leak when a PHP fatal error occurs
  fixed markup in docs
2019-05-09 13:29:19 +02:00
Fabien Potencier 00966f434f fixed CS 2019-05-09 13:27:48 +02:00
Fabien Potencier 5c484ce7eb Merge branch '1.x' into 2.x
* 1.x:
  added the key to the map and filter filters
  added support for iterators
  removed fn in front of arrow functions
  changed arrow syntax
  added "filter", "map", and "reduce" filters
  simplified code
  fixed CS
  fixed partial output leak when a PHP fatal error occurs
2019-05-09 13:25:49 +02:00
Fabien Potencier 175041e01b removed fn in front of arrow functions 2019-05-03 18:12:19 +02:00
Fabien Potencier dc2776359c changed arrow syntax 2019-05-03 17:09:12 +02:00
Fabien Potencier b30bce1139 added "filter", "map", and "reduce" filters 2019-05-03 17:09:12 +02:00
Fabien Potencier ababe1a430 simplified code 2019-05-03 15:44:36 +02:00
Fabien Potencier 54cec4e3b8 added type hints 2019-04-26 12:01:21 +02:00
Fabien Potencier 73f5b8115b removed dead code 2019-04-23 18:36:23 +02:00
Fabien Potencier 592ab0376e feature #2965 Change false to null to allow for type hinting (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Change false to null to allow for type hinting

Commits
-------

75333805 changed false to null to allow for type hinting
2019-04-23 18:34:47 +02:00
Fabien Potencier 7fb5fb4468 simplified code 2019-04-23 18:20:14 +02:00
Fabien Potencier 7533380596 changed false to null to allow for type hinting 2019-04-23 17:43:53 +02:00
Fabien Potencier 273b666a71 removed the obsolete lib/ directory, removed PSR-0 class aliases 2019-04-23 16:34:05 +02:00
Fabien Potencier c844cdbe64 fixed CS 2019-04-03 16:07:17 +02:00
Fabien Potencier 241f95cb25 added some type hints on private methods 2019-03-16 13:24:59 +01:00
Fabien Potencier 3fbe43f965 fixed usage of ::class 2019-03-06 13:13:35 +01:00
Fabien Potencier edb99c2e99 fixed typo 2019-03-05 13:46:34 +01:00
Fabien Potencier 037ee67224 switched to namespace first, PSR-0 as a fallback 2019-03-05 08:14:45 +01:00
Fabien Potencier baa70287f5 switched to namespace first, PSR-0 as a fallback 2019-03-04 21:33:40 +01:00
Maxime Steinhausser 2c174e4015 Use class_exists instead of require 2017-06-05 23:42:50 +02:00
Nicolas Grekas 5420a5e3f8 Add the aliases 2017-05-25 08:32:07 +02:00
Nicolas Grekas 71af32b306 Add namespaced aliases 2017-05-24 10:12:32 +02:00