Commit Graph

4956 Commits

Author SHA1 Message Date
Ruud Kamphuis 2df6814c27 IntlExtension > Handle MissingResourceException 2020-02-05 19:09:57 +01:00
Fabien Potencier a086a3704d Merge branch '1.x' into 2.x
* 1.x:
  Fix license to use the "official" BSD wording
2020-01-31 09:01:32 +01:00
Fabien Potencier d1686608d5 Fix license to use the "official" BSD wording 2020-01-31 09:01:23 +01:00
Fabien Potencier e52bcf67cf Merge branch '1.x' into 2.x
* 1.x:
  Syntax error in doc
2020-01-13 09:20:25 +01:00
Fabien Potencier ad9d4e93ef minor #3243 Syntax error in doc (JakeFr)
This PR was merged into the 1.x branch.

Discussion
----------

Syntax error in doc

This code sample in advanced.rst is not highlighted in php because the second semicolon is missing

Commits
-------

fbfac78f Syntax error in doc
2020-01-13 09:20:10 +01:00
JakeFr fbfac78fbd Syntax error in doc
This code sample in advanced.rst is not highlighted in php because the second semicolon is missing
2020-01-13 08:58:15 +01:00
Fabien Potencier dd7965a8e1 Merge branch '1.x' into 2.x
* 1.x:
  Fix versionadded in doc
2020-01-11 16:41:40 +01:00
Fabien Potencier 0ee1c7081c minor #3240 Fix versionadded in doc (fancyweb)
This PR was merged into the 1.x branch.

Discussion
----------

Fix versionadded in doc

I think those versionadded blocks don't show because they have a typo.

Commits
-------

6b25dccf Fix versionadded in doc
2020-01-11 16:39:51 +01:00
fancyweb 6b25dccf33 Fix versionadded in doc 2020-01-11 12:21:32 +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
Fabien Potencier ca4d96b7b7 bug #3237 Replace strtolower() with strtr() when dealing with method names (mpdude)
This PR was squashed before being merged into the 1.x branch (closes #3237).

Discussion
----------

Replace strtolower() with strtr() when dealing with method names

This is to improve consistency with the implementation of case-insensitivity for method names etc. in the Zend Engine: In fact, the ZE does not apply the internal `strtolower` implementation, but just maps ASCII `A-Z` to `a-z`.

This was done in https://github.com/php/php-src/commit/582514d4c7b216dbdc7a8429962cf3e5776206f0 to fix issues like https://bugs.php.net/bug.php?id=18556.

Additionally, `strtok` might give a tiny (measurable?) performance gain over `strtolower`, plus it is not locale-dependant.

Commits
-------

30feddef Replace strtolower() with strtr() when dealing with method names
2020-01-08 09:27:15 +01:00
Matthias Pigulla 30feddef10 Replace strtolower() with strtr() when dealing with method names 2020-01-08 09:27:07 +01:00
Fabien Potencier e770b80203 minor #3235 Minor fixes in docs (l-vo)
This PR was squashed before being merged into the 2.x branch (closes #3235).

Discussion
----------

Minor fixes in docs

Commits
-------

59243e8c Minor fixes in docs
2020-01-03 20:00:30 +01:00
Laurent VOULLEMIER 59243e8ce3 Minor fixes in docs 2020-01-03 20:00:22 +01:00
Fabien Potencier 9d03c1edd5 minor #3233 lower php requirement (Guite)
This PR was merged into the 2.x branch.

Discussion
----------

lower php requirement

This PR adjusts the minimum PHP version to `7.2.5+` which is the version that is also required by Symfony 5.

Commits
-------

c3b4b8ee lower php requirement
2020-01-02 19:40:02 +01:00
Guite c3b4b8ee53 lower php requirement 2020-01-02 13:43:40 +01:00
Fabien Potencier 6aae22ecde Bump license year 2020-01-01 18:10:47 +01:00
Fabien Potencier b370b79a14 Merge branch '1.x' into 2.x
* 1.x:
  Bump license year
2020-01-01 18:09:27 +01:00
Fabien Potencier 54be566c04 Bump license year 2020-01-01 18:09:02 +01:00
Fabien Potencier 41a87b9729 Bump version to 2.12.4-DEV 2019-12-28 08:14:03 +01:00
Fabien Potencier 97b6311585 Prepare the 2.12.3 release v2.12.3 2019-12-28 08:12:03 +01:00
Fabien Potencier 8279c11538 Update CHANGELOG 2019-12-28 08:10:31 +01:00
Fabien Potencier e74a51ecb1 Merge branch '1.x' into 2.x
* 1.x:
  Update doc with new escaping behavior
  Remove obsolete page
  language typo
2019-12-28 08:09:20 +01:00
Fabien Potencier 7f75a23f85 minor #3230 Fix constraints (fabpot)
This PR was merged into the 2.x branch.

Discussion
----------

Fix constraints

Commits
-------

966fa451 Fix constraints
2019-12-27 08:37:45 +01:00
Fabien Potencier 6acf02e3bf bug #3226 Allow Symfony 5 (Guite)
This PR was submitted for the 3.x branch but it was merged into the 2.x branch instead (closes #3226).

Discussion
----------

Allow Symfony 5

This fixes #3225

Commits
-------

d735a43e support Sf5
2019-12-27 08:36:12 +01:00
Axel Guckelsberger d735a43e4e support Sf5 2019-12-27 08:36:07 +01:00
Fabien Potencier 966fa45126 Fix constraints 2019-12-27 08:33:44 +01:00
Fabien Potencier 82362775bb minor #3224 Update doc with new escaping behavior on ternary statements (l-vo)
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead (closes #3224).

Discussion
----------

Update doc with new escaping behavior on ternary statements

According to https://symfony.com/blog/better-white-space-control-in-twig-templates#fine-grained-escaping-on-ternary-expressions

Commits
-------

92e1cd35 Update doc with new escaping behavior
2019-12-27 08:28:59 +01:00
Laurent VOULLEMIER 92e1cd35c5 Update doc with new escaping behavior
When applied on ternary statements
2019-12-27 08:28:48 +01:00
Fabien Potencier 1a874b581a Remove obsolete page 2019-12-20 13:14:10 +01:00
Fabien Potencier 0a5fd1762a minor #3223 Remove the (feldenla)
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes #3223).

Discussion
----------

Remove `the`

Remove the article `the` to make a correct statement.

Commits
-------

8b8cfb0f language typo
2019-12-20 13:13:13 +01:00
feldenla 8b8cfb0f4e language typo 2019-12-20 13:13:08 +01:00
Fabien Potencier bf9544515e minor #3216 Add missing suggestions in Twig Extra Bundle (fabpot)
This PR was merged into the 2.x branch.

Discussion
----------

Add missing suggestions in Twig Extra Bundle

Commits
-------

8c2c193a Add missing suggestions in Twig Extra Bundle
2019-12-11 11:42:19 +01:00
Fabien Potencier 8c2c193a29 Add missing suggestions in Twig Extra Bundle 2019-12-11 11:08:55 +01:00
Fabien Potencier 46e232b37c Merge branch '1.x' into 2.x
* 1.x:
  Add missing link in docs
  Correct return type of twig_date_converter
2019-12-09 17:39:17 +01:00
Fabien Potencier 335dcad4b0 Add missing link in docs 2019-12-09 17:35:58 +01:00
Fabien Potencier e45476d9d0 minor #3215 [Minor] Correct return type of twig_date_converter (mcfedr)
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead (closes #3215).

Discussion
----------

[Minor] Correct return type of twig_date_converter

if a `\DateTimeImmutable` is passed to `twig_date_converter` it will return a `\DateTimeImmutable`, not a `\DateTime`.

Commits
-------

e927e859 Correct return type of twig_date_converter
2019-12-09 17:33:13 +01:00
Fred Cox e927e859ea Correct return type of twig_date_converter 2019-12-09 17:33:08 +01:00
Fabien Potencier fdb691a424 minor #3205 Updated spaceless deprecation to point to apply tag, as the filter tag is now deprecated too (snebes)
This PR was squashed before being merged into the 2.x branch (closes #3205).

Discussion
----------

Updated spaceless deprecation to point to `apply` tag, as the `filter` tag is now deprecated too

Title says it all.  No reason to chase our tail if we find a random `spaceless` tag yet.

Commits
-------

a3435895 Updated spaceless deprecation to point to `apply` tag, as the `filter` tag is now deprecated too
2019-11-28 15:04:06 +01:00
Steve Nebes a343589583 Updated spaceless deprecation to point to apply tag, as the filter tag is now deprecated too 2019-11-28 15:04:01 +01:00
Fabien Potencier 41b651736c Merge branch '1.x' into 2.x
* 1.x:
  Fix tests
2019-11-28 15:02:56 +01:00
Fabien Potencier 3853841c9f minor #3206 Fix tests (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Fix tests

Commits
-------

8a6010f6 Fix tests
2019-11-28 15:02:09 +01:00
Fabien Potencier 8a6010f695 Fix tests 2019-11-28 14:58:09 +01:00
Fabien Potencier aecce3d92e Merge branch '1.x' into 2.x
* 1.x:
  Remove mention of the obsolete twig-extensions repository
  Remove usage of the old Autoloader class in the docs
2019-11-18 18:29:44 +01:00
Fabien Potencier badf167c2c minor #3200 Remove mentions of the obsolete twig-extensions repository (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Remove mentions of the obsolete twig-extensions repository

Commits
-------

7f48a181 Remove mention of the obsolete twig-extensions repository
2019-11-18 18:28:41 +01:00
Fabien Potencier 7f48a181cd Remove mention of the obsolete twig-extensions repository 2019-11-18 18:27:43 +01:00
Fabien Potencier 34a2a74596 bug #3198 Fix number formatter in Intl extra extension (fabpot)
This PR was squashed before being merged into the 2.x branch (closes #3198).

Discussion
----------

Fix number formatter in Intl extra extension

Commits
-------

a6cf3f3f Fix number formatter in Intl extra extension
2019-11-15 21:27:23 +01:00
Fabien Potencier a6cf3f3f37 Fix number formatter in Intl extra extension 2019-11-15 21:27:18 +01:00
Fabien Potencier d796e12863 minor #3197 Fix README (fabpot)
This PR was merged into the 2.x branch.

Discussion
----------

Fix README

Commits
-------

ddad9d8c Fix README
2019-11-15 17:09:10 +01:00
Fabien Potencier ddad9d8c98 Fix README 2019-11-15 17:07:38 +01:00