Fabien Potencier
55704ce1d2
feature #3133 Add the spaceship operator (fabpot)
...
This PR was merged into the 2.x branch.
Discussion
----------
Add the spaceship operator
Commits
-------
f5950a5b added the spaceship operator
2019-08-20 10:37:55 +02:00
Fabien Potencier
f5950a5b1f
added the spaceship operator
2019-08-20 10:30:06 +02:00
Fabien Potencier
491d4a814d
feature #3132 Add support for an "arrow" function on the "sort" filter (fabpot)
...
This PR was merged into the 2.x branch.
Discussion
----------
Add support for an "arrow" function on the "sort" filter
closes #3131
Commits
-------
330024b6 added support for an "arrow" function on the "sort" filter
2019-08-20 10:29:20 +02:00
Fabien Potencier
330024b67e
added support for an "arrow" function on the "sort" filter
2019-08-20 10:18:43 +02:00
Fabien Potencier
163f6a0979
minor #3126 Clean up the code (fabpot)
...
This PR was merged into the 2.x branch.
Discussion
----------
Clean up the code
Commits
-------
ba8f7a5e cleaned up the code
2019-08-12 09:26:54 +02:00
Fabien Potencier
ba8f7a5e4c
cleaned up the code
2019-08-12 09:23:06 +02:00
Fabien Potencier
905f551621
minor #3125 Fix intl-extra docs and links (pierredup)
...
This PR was squashed before being merged into the 2.x branch (closes #3125 ).
Discussion
----------
Fix intl-extra docs and links
Commits
-------
6f73ac72 Fix intl-extra docs and links
2019-08-12 09:17:35 +02:00
Pierre du Plessis
6f73ac72de
Fix intl-extra docs and links
2019-08-12 09:17:28 +02:00
Fabien Potencier
cf444dde71
removed unneeded condition
2019-08-12 08:43:14 +02:00
Fabien Potencier
9d5de4b438
minor #3124 move mime to req (fabpot)
...
This PR was merged into the 2.x branch.
Discussion
----------
move mime to req
Commits
-------
9dc85f5e moved mime to req
2019-08-11 19:50:54 +02:00
Fabien Potencier
9dc85f5e0c
moved mime to req
2019-08-11 19:49:57 +02:00
Fabien Potencier
d937ff1f91
fixed code
2019-08-11 12:37:10 +02:00
Fabien Potencier
bdfc63b864
updated CHANGELOG
2019-08-11 12:22:17 +02:00
Fabien Potencier
21f5b49e43
feature #3122 Add the cssinliner and inky extensions (fabpot)
...
This PR was merged into the 2.x branch.
Discussion
----------
Add the cssinliner and inky extensions
Commits
-------
37ed0436 added the cssinliner and inky extensions
2019-08-11 12:20:08 +02:00
Fabien Potencier
37ed0436dd
added the cssinliner and inky extensions
2019-08-11 12:14:28 +02:00
Fabien Potencier
0339772557
minor #3121 Tweak doc (fabpot)
...
This PR was merged into the 2.x branch.
Discussion
----------
Tweak doc
Commits
-------
499a6eeb tweaked doc
2019-08-11 11:48:25 +02:00
Fabien Potencier
499a6eeb13
tweaked doc
2019-08-11 11:46:30 +02:00
Fabien Potencier
5168c0e2fe
fixed markup in docs
2019-08-10 16:16:47 +02:00
Fabien Potencier
1e7ca11c0f
fixed markup in docs
2019-08-10 16:14:01 +02:00
Fabien Potencier
d3ee0f7479
fixed typo
2019-08-10 16:12:34 +02:00
Fabien Potencier
42611d7c40
fixed CS
2019-08-10 16:11:58 +02:00
Fabien Potencier
b41eb45c3b
fixed typo
2019-08-10 16:08:18 +02:00
Fabien Potencier
f67b567ca2
feature #3108 Add an Intl extension (fabpot)
...
This PR was merged into the 2.x branch.
Discussion
----------
Add an Intl extension
This new Intl extension is made of 2 parts: one is about formatting dates/currencies/numbers (which is what we already have partially in twig-extensions) and the second part is about ICU data as available in Symfony 4.3+.
I've decided to put this extension into Twig instead of the Symfony bridge because of the functions that do not rely on Symfony (and I wanted everything in the same place). Also, some Twig features now depends on some external libraries, so it makes more sense now than a few years ago where Twig had no external dependencies. Last, but not least, intl is an important topic, and I think it deserves to be a Twig first class citizen.
TODO:
- [x] add documentation
- [ ] what do we want to do with the existing `date` and `number_format` filters?
closes https://github.com/symfony/symfony/pull/20053
closes #2567
closes https://github.com/symfony/symfony/issues/13641
closes https://github.com/twigphp/Twig-extensions/pull/134
closes https://github.com/twigphp/Twig-extensions/pull/137
closes https://github.com/twigphp/Twig-extensions/pull/183
closes https://github.com/twigphp/Twig-extensions/pull/229
closes https://github.com/twigphp/Twig-extensions/issues/167
closes https://github.com/twigphp/Twig-extensions/issues/211
Commits
-------
03d93aac added the Intl extension
2019-08-10 16:01:08 +02:00
Fabien Potencier
03d93aace8
added the Intl extension
2019-08-10 15:59:48 +02:00
Fabien Potencier
0a1c0f6d7c
minor #3120 Disable some tests that are not compatible with pHp 7.4 yet (fabpot)
...
This PR was merged into the 2.x branch.
Discussion
----------
Disable some tests that are not compatible with pHp 7.4 yet
Commits
-------
7fedcba5 disabled some tests that are not compatible with pHp 7.4 yet
2019-08-10 15:49:38 +02:00
Fabien Potencier
7fedcba568
disabled some tests that are not compatible with pHp 7.4 yet
2019-08-10 15:48:29 +02:00
Fabien Potencier
3d5d053238
fixed typos
2019-08-10 15:14:08 +02:00
Fabien Potencier
f3355fe878
fixed wrong class usage
2019-08-10 14:59:27 +02:00
Fabien Potencier
51242d807f
made a class final
2019-08-10 14:48:51 +02:00
Fabien Potencier
19a1487f85
feature #3118 Add suggestions for extra extensions (fabpot)
...
This PR was merged into the 2.x branch.
Discussion
----------
Add suggestions for extra extensions
Commits
-------
908eef05 added suggestions for extra extensions
2019-08-10 14:32:15 +02:00
Fabien Potencier
908eef05de
added suggestions for extra extensions
2019-08-10 14:29:58 +02:00
Fabien Potencier
879d1b1e76
fixed path
2019-08-10 14:29:31 +02:00
Fabien Potencier
a8ccf22d4b
added missing dep
2019-08-10 14:21:21 +02:00
Fabien Potencier
af1ead5014
fixed Travis config
2019-08-10 14:19:10 +02:00
Fabien Potencier
2658b4a390
fixed config/ directory in extra bundle
2019-08-10 14:18:25 +02:00
Fabien Potencier
43a7e3ae09
minor #3119 Revamping bundle structure to not mix source code with config files (yceruto)
...
This PR was merged into the 2.x branch.
Discussion
----------
Revamping bundle structure to not mix source code with config files
Still compatible with any Symfony version.
Commits
-------
f24f057a Revamping bundle structure to not mix source code with config files
2019-08-10 14:11:12 +02:00
Yonel Ceruto
f24f057a15
Revamping bundle structure to not mix source code with config files
2019-08-10 08:00:43 -04:00
Fabien Potencier
8374211dd8
minor #3117 Fix PHPDoc of twig_get_attribute() (szepeviktor)
...
This PR was submitted for the 3.x branch but it was merged into the 2.x branch instead (closes #3117 ).
Discussion
----------
Fix PHPDoc of twig_get_attribute()
@fabpot Repel the attack of the French keyboard
props. @phpstan
Commits
-------
1aa7dbff Fix PHPDoc of twig_get_attribute()
2019-08-10 13:39:14 +02:00
Viktor Szépe
1aa7dbff35
Fix PHPDoc of twig_get_attribute()
...
Repel the attack of the French keyboard
2019-08-10 13:39:07 +02:00
Fabien Potencier
33fbbe5097
fixed composer.json
2019-08-10 11:50:28 +02:00
Fabien Potencier
5d6205ba90
feature #3115 Add the Markdown extension (fabpot)
...
This PR was merged into the 2.x branch.
Discussion
----------
Add the Markdown extension
Commits
-------
741ea46e added the Markdown extension
2019-08-10 11:29:54 +02:00
Fabien Potencier
741ea46e02
added the Markdown extension
2019-08-10 11:29:35 +02:00
Fabien Potencier
f8c0c76f46
fixed package name
2019-08-10 11:23:15 +02:00
Fabien Potencier
2e3aa4f7ec
fixed Travis
2019-08-10 11:21:33 +02:00
Fabien Potencier
be629b591b
bug #3116 Fix HTML extension (fabpot)
...
This PR was merged into the 2.x branch.
Discussion
----------
Fix HTML extension
Commits
-------
5cc40a06 fixed HTML extension
2019-08-10 11:08:29 +02:00
Fabien Potencier
5cc40a06f1
fixed HTML extension
2019-08-10 11:07:38 +02:00
Fabien Potencier
40fa5ea8ab
feature #3113 move the HTML extension to an external Composer package (fabpot)
...
This PR was merged into the 2.x branch.
Discussion
----------
move the HTML extension to an external Composer package
Commits
-------
59bb9d10 moved the HTML extension to an external Composer package
2019-08-10 07:41:42 +02:00
Fabien Potencier
59bb9d1033
moved the HTML extension to an external Composer package
2019-08-08 18:10:45 +02:00
Fabien Potencier
f07a7f388d
Merge branch '1.x' into 2.x
...
* 1.x:
added an entry to .gitignore
2019-08-08 18:07:29 +02:00
Fabien Potencier
a8c77b85a7
added an entry to .gitignore
2019-08-08 18:07:23 +02:00