Alexandre Daubois
797e490356
Improve exception expectations reliability
2024-09-04 15:22:48 +02:00
Alexander M. Turek
f2053bbea0
PHPUnit 11
2024-09-04 12:11:51 +02:00
Fabien Potencier
6f9f7e2d29
Merge branch '3.x' into 4.x
...
* 3.x:
Fix tests that don't perform assertions
2024-09-03 22:59:28 +02:00
Alexander M. Turek
db22abfadf
Fix tests that don't perform assertions
2024-09-03 22:51:23 +02:00
Fabien Potencier
a789eca738
Merge branch '3.x' into 4.x
...
* 3.x:
Validate the input of CoreExtension::map()
Rename AbstractTest to ProfilerTestCase
Make data providers static
Prepare IntegrationTestCase for static data providers
2024-09-03 22:20:28 +02:00
Alexander M. Turek
6ddb76bb76
Make data providers static
2024-09-03 16:32:00 +02:00
Alexander M. Turek
0ab26b08b9
Switch to expectUserDeprecationMessage()
2024-09-02 15:38:53 +02:00
Fabien Potencier
5fca700cbd
Deprecate the fact that the extends and use tags are always allowed in a sandboxed template
2024-08-28 13:40:53 +02:00
Fabien Potencier
58d5780ef3
Fix two-word tests precedence over one-word tests
2024-08-26 17:47:41 +02:00
Fabien Potencier
cde9e7dcd4
Use proper node names when they are integers
2024-08-26 09:59:54 +02:00
Fabien Potencier
65048fa3bb
Fix CS
2024-08-18 19:27:14 +02:00
Simon André
470965fcc2
Add missing return types in 4.0
2024-08-17 23:10:07 +02:00
Fabien Potencier
eaf04e53f0
Remove deprecated code
2024-08-14 23:34:13 +02:00
Fabien Potencier
3156d8093e
Move FunctionExpression/FilterExpression/TestExpression attributes from compilation time to parsing time
2024-08-14 18:45:35 +02:00
Fabien Potencier
148d3e079d
Make various optimization for dynamic Twig callables
2024-08-12 09:45:32 +02:00
Fabien Potencier
f5e10e10f1
Fix CS
2024-08-07 19:34:09 +02:00
Fabien Potencier
e4e95f5b86
Replace template loader mocks by ArrayLoader
2024-07-24 08:27:23 +02:00
Fabien Potencier
c44be99a84
Rename array to sequence
2024-06-22 19:37:51 +02:00
Fabien Potencier
5157402a77
Rename hash to mapping
2024-06-22 19:36:24 +02:00
Fabien Potencier
2b2ac80d34
Fxi some errors reported by phpstan
2024-02-05 17:48:36 +01:00
Fabien Potencier
c44bd1ff62
Optimize TextNodes
2024-01-10 20:22:00 +01:00
Nicolas Grekas
75efa5e1ba
Fix spread operator implementation
2023-07-20 18:11:45 +02:00
Ryan Weaver
ba4fe3ba34
Adding support for the ...spread operator on arrays and hashes
2023-07-20 16:08:57 +02:00
Fabien Potencier
77dcff7186
Merge branch '1.x' into 2.x
...
* 1.x:
Bump version
Tweak docs
Update CHANGELOG
Support object init from variable
2020-08-23 14:01:18 +02:00
Fabien Potencier
b0ce4f64ba
Update CHANGELOG
2020-08-23 13:56:44 +02:00
Jérôme TAMARELLE
133edb3696
Support object init from variable
...
{a} is a shortcut for {a:a}
From ECMAScript 2015 syntax https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Object_initializer
2020-08-23 13:54:49 +02:00
Fabien Potencier
656c295ed9
Merge branch '1.x' into 2.x
...
* 1.x:
removed usage of getmockBuilder() when not needed
2019-08-08 13:33:07 +02:00
Fabien Potencier
5861a539e4
removed usage of getmockBuilder() when not needed
2019-08-08 11:59:51 +02:00
Fabien Potencier
5ebcecf24b
Fix PHPUnit deprecations
2019-08-08 11:03:05 +02:00
Fabien Potencier
c829dafd75
Merge branch '1.x' into 2.x
...
* 1.x:
Update to PhpUnitBridge and fix deprecations
2019-08-08 10:19:01 +02:00
Jérémy Derussé
b776e41f5a
Update to PhpUnitBridge and fix deprecations
2019-08-08 09:39:49 +02:00
Fabien Potencier
1e3bb75010
moved test under tests/
2019-06-30 14:51:54 +02:00
Fabien Potencier
22a1317249
moved tests under tests/
2019-06-30 14:48:27 +02:00