Fabien Potencier
bfdaee83f4
Merge branch '2.x' into 3.x
...
* 2.x:
Fix CS
2020-10-27 13:57:04 +01:00
Fabien Potencier
5fd9bf13bb
Fix CS
2020-10-27 13:56:56 +01:00
Fabien Potencier
1e449c0f6f
Merge branch '2.x' into 3.x
...
* 2.x:
Replace implicit dependence on ext/iconv in JS escaper
2020-09-14 15:15:32 +02:00
JoshyPHP
b77c2c40b4
Replace implicit dependence on ext/iconv in JS escaper
...
polyfill-iconv does not support the UTF-16BE conversion
2020-09-13 19:23:45 +02:00
Fabien Potencier
050fdf54b8
Merge branch '2.x' into 3.x
...
* 2.x:
Update api.rst
Fix typo
Fix typos
Fix CI on PHP5
2020-04-24 08:31:57 +02:00
Pierre Grimaud
0273057622
Fix typos
2020-04-24 08:22:30 +02:00
Fabien Potencier
136ec52a8d
Merge branch '2.x' into 3.x
...
* 2.x:
Add a check to ensure that iconv() is defined
2020-02-11 16:22:55 +01:00
Fabien Potencier
158a8530c5
Add a check to ensure that iconv() is defined
2020-02-11 16:06:59 +01:00
Fabien Potencier
3af95b91fa
Merge branch '2.x' into 3.x
...
* 2.x:
-
added the possibility to register classes/interfaces as being safe for the escaper
2019-05-25 12:24:55 +02:00
Fabien Potencier
c7df3a20b9
removed obsolete code
2019-05-22 16:03:56 +02:00
Fabien Potencier
53b87622f3
Merge branch '2.x' into 3.x
...
* 2.x:
tweaked docs
Add information for when `filter` filter was added in 2.x branch
moved tests
deprecated CoreExtension::setEscaper() and CoreExtension::getEscaper() in favor of the same methods on EscaperExtension
tweaked docs
doc(filter): add example of `filter` without `for` use
updated CHANGELOG
Local macros auto-import
fixed CS
updated docs for macros
simplified code
tweaked docs for macros
added a better error message for unknown macros
2019-05-22 16:00:25 +02:00
Fabien Potencier
fe6503fe02
-
2019-05-21 16:09:37 +02:00
Fabien Potencier
b18733bce0
added the possibility to register classes/interfaces as being safe for the escaper
2019-05-21 15:41:28 +02:00
Fabien Potencier
59d1d5d4b6
deprecated CoreExtension::setEscaper() and CoreExtension::getEscaper() in favor of the same methods on EscaperExtension
2019-05-21 09:01:26 +02:00
Fabien Potencier
54cec4e3b8
added type hints
2019-04-26 12:01:21 +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
037ee67224
switched to namespace first, PSR-0 as a fallback
2019-03-05 08:14:45 +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