Commit Graph

1839 Commits

Author SHA1 Message Date
Fabien Potencier e7e1a71bd5 fixed CS 2019-02-17 11:04:35 +01:00
Fabien Potencier e9919c2187 fixed CS 2019-02-17 10:53:37 +01:00
Fabien Potencier 1ddb825336 moved most FQCN to use statements 2019-02-17 10:37:46 +01:00
Fabien Potencier c92feb6ab9 prepared use statements 2019-02-17 10:31:45 +01:00
Fabien Potencier 3632a46e82 moved to namespaced classes by default 2019-02-15 08:28:49 +01:00
Fabien Potencier db751d62d3 fixed some class names 2019-02-15 08:28:49 +01:00
Fabien Potencier 66b708bde8 bumped version to 1.38 2019-02-15 08:28:49 +01:00
Fabien Potencier 966296ff42 fixed CS 2019-02-15 07:56:53 +01:00
Fabien Potencier 98a15a8973 tweaked PHP-CS-Fixer config 2019-02-15 06:17:13 +01:00
Fabien Potencier a8e7eacd46 minor #2841 Change PHP-CS config (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Change PHP-CS config

Commits
-------

add887d6 fixed CS
2019-02-15 06:04:38 +01:00
Fabien Potencier b8daa6c458 prefixed some classes with a backslash 2019-02-15 05:51:47 +01:00
Fabien Potencier add887d60c fixed CS 2019-02-15 04:46:05 +01:00
Fabien Potencier ceb3c93e28 simplified some phpdocs 2019-02-15 04:20:04 +01:00
Fabien Potencier dcf228e91d removed the <pre> tag in docblocks 2019-02-12 08:50:54 +01:00
Christian Flothmann edcbcc18ad remove duplicated directory separator
The $rootPath property is already initialized with a trailing directory
separator in the class constructor.
2019-02-04 13:03:18 +01:00
Fabien Potencier 9544f7ef87 bumped version to 1.37.2-DEV 2019-01-14 16:00:04 +01:00
Fabien Potencier 66be9366c7 prepared the 1.37.1 release 2019-01-14 15:59:29 +01:00
Christian Flothmann 6df989bafe fix key exists check for non ArrayObject objects 2019-01-14 13:02:12 +01:00
Fabien Potencier 361d864178 fixed logic in TemplateWrapper 2019-01-14 10:42:01 +01:00
Fabien Potencier 9f0ed3c39b bumped version to 1.37.1-DEV 2019-01-14 09:21:52 +01:00
Fabien Potencier e48a7b32a4 prepared the 1.37.0 release 2019-01-14 09:20:10 +01:00
Fabien Potencier 1f7fb33147 bug #2808 Fix embedded templates starting with a BOM (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Fix embedded templates starting with a BOM

fixes #2137

Commits
-------

a573d464 fixed embedded templates starting with a BOM
2019-01-14 08:56:06 +01:00
Fabien Potencier 749075252c removed obsolete code 2019-01-13 15:13:51 +01:00
Fabien Potencier 844ab8f45e minor #2806 Remove pre PHP v5.3 code (rosier)
This PR was merged into the 1.x branch.

Discussion
----------

Remove pre PHP v5.3 code

Commits
-------

4f8c480d Remove pre PHP v5.3 code
2019-01-13 15:12:41 +01:00
Fabien Potencier a573d464af fixed embedded templates starting with a BOM 2019-01-13 15:10:13 +01:00
Jan Rosier 4f8c480d07 Remove pre PHP v5.3 code 2019-01-12 21:19:44 +01:00
Yonel Ceruto 80e65b4c73 fixed ArrayObject access with a null value 2019-01-12 07:44:29 -05:00
Fabien Potencier 547fc6120e fixed using a Twig_TemplateWrapper instance as an argument to extends 2019-01-12 11:31:49 +01:00
Fabien Potencier 4208bb14e4 bug #2795 Fix float representation in compiled templates (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Fix float representation in compiled templates

closes #2788

Commits
-------

e346c2ac fixed float representation in compiled templates
2019-01-08 17:50:30 +01:00
Fabien Potencier 0446296d5f fixed more short array notations 2019-01-08 11:56:16 +01:00
Fabien Potencier 5c55243d71 switched to use PHP short array notation for Twig's code 2019-01-08 09:35:30 +01:00
Fabien Potencier 8758b570b8 switched to use short arrays in generated code 2019-01-08 09:29:44 +01:00
Fabien Potencier 777912e5b4 bumped version 2019-01-08 09:16:31 +01:00
Fabien Potencier e346c2accf fixed float representation in compiled templates 2019-01-08 09:14:49 +01:00
Fabien Potencier 22bc325859 fixed CS 2019-01-06 17:38:15 +01:00
Fabien Potencier e3790ab03c tweaked previous merge 2018-12-16 12:04:48 +01:00
LavaSlider bf529d0a7a Enhances join filter for natural language join (i.e., \"A, B and C\") 2018-12-16 11:41:42 +01:00
Fabien Potencier 7222faf6d6 bumped version to 1.36.1-DEV 2018-12-16 11:34:50 +01:00
Fabien Potencier 730c9c4471 prepared the 1.36.0 release 2018-12-16 11:34:11 +01:00
Chris Wilkinson a55f76bf4f Make sure twig_include returns a string 2018-10-05 07:46:05 +01:00
Nicolas Grekas 8863b68c93 Fix multi-byte UFT-8 in escape('html_attr') 2018-09-20 16:15:47 +02:00
Yonel Ceruto 2ab433833e Added "deprecated" tag 2018-07-31 08:18:50 -04:00
Fabien Potencier 4beb7bfb0b Add support for dynamic tests 2018-07-31 11:10:58 +02:00
Yonel Ceruto a0e8d58a6e Do not throw error on validate or parse name if throw var is false 2018-07-20 08:04:00 -04:00
Fabien Potencier cb848ee0a4 bumped version to 1.35.5-DEV 2018-07-13 09:13:09 +02:00
Fabien Potencier 7e081e9837 prepared the 1.35.4 release 2018-07-13 09:12:17 +02:00
Jérémy Derussé 230d34128d Use isset before array_key_exists 2018-06-25 14:32:40 +02:00
Christophe Coevoet 6fab6b0bfa Ensure that syntax errors are triggered with the right line 2018-06-06 20:59:03 +02:00
Fabien Potencier b705a3a028 fixed typo 2018-05-18 09:45:47 +02:00
Grégoire Pineau 35a1070a62 Fixed PHPDoc of Twig_Token::test
For exemple Twig_TokenParser_Set use ->test('endset')
2018-05-02 16:04:55 +02:00