Skip to content

Commit 31e0ff4

Browse files
fix: prevent to apply patcher into twig files that have functions
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 644bc25 commit 31e0ff4

File tree

5 files changed

+55
-50
lines changed

5 files changed

+55
-50
lines changed

composer/twig/twig/src/Resources/core.php

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*
1818
* @deprecated since Twig 3.9
1919
*/
20-
function \OCA\Libresign\Vendor\twig_cycle($values, $position)
20+
function twig_cycle($values, $position)
2121
{
2222
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
2323
return CoreExtension::cycle($values, $position);
@@ -27,7 +27,7 @@ function \OCA\Libresign\Vendor\twig_cycle($values, $position)
2727
*
2828
* @deprecated since Twig 3.9
2929
*/
30-
function \OCA\Libresign\Vendor\twig_random(Environment $env, $values = null, $max = null)
30+
function twig_random(Environment $env, $values = null, $max = null)
3131
{
3232
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
3333
return CoreExtension::random($env->getCharset(), $values, $max);
@@ -37,7 +37,7 @@ function \OCA\Libresign\Vendor\twig_random(Environment $env, $values = null, $ma
3737
*
3838
* @deprecated since Twig 3.9
3939
*/
40-
function \OCA\Libresign\Vendor\twig_date_format_filter(Environment $env, $date, $format = null, $timezone = null)
40+
function twig_date_format_filter(Environment $env, $date, $format = null, $timezone = null)
4141
{
4242
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
4343
return $env->getExtension(CoreExtension::class)->formatDate($date, $format, $timezone);
@@ -47,7 +47,7 @@ function \OCA\Libresign\Vendor\twig_date_format_filter(Environment $env, $date,
4747
*
4848
* @deprecated since Twig 3.9
4949
*/
50-
function \OCA\Libresign\Vendor\twig_date_modify_filter(Environment $env, $date, $modifier)
50+
function twig_date_modify_filter(Environment $env, $date, $modifier)
5151
{
5252
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
5353
return $env->getExtension(CoreExtension::class)->modifyDate($date, $modifier);
@@ -57,7 +57,7 @@ function \OCA\Libresign\Vendor\twig_date_modify_filter(Environment $env, $date,
5757
*
5858
* @deprecated since Twig 3.9
5959
*/
60-
function \OCA\Libresign\Vendor\twig_sprintf($format, ...$values)
60+
function twig_sprintf($format, ...$values)
6161
{
6262
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
6363
return CoreExtension::sprintf($format, ...$values);
@@ -67,7 +67,7 @@ function \OCA\Libresign\Vendor\twig_sprintf($format, ...$values)
6767
*
6868
* @deprecated since Twig 3.9
6969
*/
70-
function \OCA\Libresign\Vendor\twig_date_converter(Environment $env, $date = null, $timezone = null)
70+
function twig_date_converter(Environment $env, $date = null, $timezone = null)
7171
{
7272
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
7373
return $env->getExtension(CoreExtension::class)->convertDate($date, $timezone);
@@ -77,7 +77,7 @@ function \OCA\Libresign\Vendor\twig_date_converter(Environment $env, $date = nul
7777
*
7878
* @deprecated since Twig 3.9
7979
*/
80-
function \OCA\Libresign\Vendor\twig_replace_filter($str, $from)
80+
function twig_replace_filter($str, $from)
8181
{
8282
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
8383
return CoreExtension::replace($str, $from);
@@ -87,7 +87,7 @@ function \OCA\Libresign\Vendor\twig_replace_filter($str, $from)
8787
*
8888
* @deprecated since Twig 3.9
8989
*/
90-
function \OCA\Libresign\Vendor\twig_round($value, $precision = 0, $method = 'common')
90+
function twig_round($value, $precision = 0, $method = 'common')
9191
{
9292
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
9393
return CoreExtension::round($value, $precision, $method);
@@ -97,7 +97,7 @@ function \OCA\Libresign\Vendor\twig_round($value, $precision = 0, $method = 'com
9797
*
9898
* @deprecated since Twig 3.9
9999
*/
100-
function \OCA\Libresign\Vendor\twig_number_format_filter(Environment $env, $number, $decimal = null, $decimalPoint = null, $thousandSep = null)
100+
function twig_number_format_filter(Environment $env, $number, $decimal = null, $decimalPoint = null, $thousandSep = null)
101101
{
102102
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
103103
return $env->getExtension(CoreExtension::class)->formatNumber($number, $decimal, $decimalPoint, $thousandSep);
@@ -107,7 +107,7 @@ function \OCA\Libresign\Vendor\twig_number_format_filter(Environment $env, $numb
107107
*
108108
* @deprecated since Twig 3.9
109109
*/
110-
function \OCA\Libresign\Vendor\twig_urlencode_filter($url)
110+
function twig_urlencode_filter($url)
111111
{
112112
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
113113
return CoreExtension::urlencode($url);
@@ -117,7 +117,7 @@ function \OCA\Libresign\Vendor\twig_urlencode_filter($url)
117117
*
118118
* @deprecated since Twig 3.9
119119
*/
120-
function \OCA\Libresign\Vendor\twig_array_merge(...$arrays)
120+
function twig_array_merge(...$arrays)
121121
{
122122
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
123123
return CoreExtension::merge(...$arrays);
@@ -127,7 +127,7 @@ function \OCA\Libresign\Vendor\twig_array_merge(...$arrays)
127127
*
128128
* @deprecated since Twig 3.9
129129
*/
130-
function \OCA\Libresign\Vendor\twig_slice(Environment $env, $item, $start, $length = null, $preserveKeys = \false)
130+
function twig_slice(Environment $env, $item, $start, $length = null, $preserveKeys = \false)
131131
{
132132
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
133133
return CoreExtension::slice($env->getCharset(), $item, $start, $length, $preserveKeys);
@@ -137,7 +137,7 @@ function \OCA\Libresign\Vendor\twig_slice(Environment $env, $item, $start, $leng
137137
*
138138
* @deprecated since Twig 3.9
139139
*/
140-
function \OCA\Libresign\Vendor\twig_first(Environment $env, $item)
140+
function twig_first(Environment $env, $item)
141141
{
142142
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
143143
return CoreExtension::first($env->getCharset(), $item);
@@ -147,7 +147,7 @@ function \OCA\Libresign\Vendor\twig_first(Environment $env, $item)
147147
*
148148
* @deprecated since Twig 3.9
149149
*/
150-
function \OCA\Libresign\Vendor\twig_last(Environment $env, $item)
150+
function twig_last(Environment $env, $item)
151151
{
152152
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
153153
return CoreExtension::last($env->getCharset(), $item);
@@ -157,7 +157,7 @@ function \OCA\Libresign\Vendor\twig_last(Environment $env, $item)
157157
*
158158
* @deprecated since Twig 3.9
159159
*/
160-
function \OCA\Libresign\Vendor\twig_join_filter($value, $glue = '', $and = null)
160+
function twig_join_filter($value, $glue = '', $and = null)
161161
{
162162
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
163163
return CoreExtension::join($value, $glue, $and);
@@ -167,7 +167,7 @@ function \OCA\Libresign\Vendor\twig_join_filter($value, $glue = '', $and = null)
167167
*
168168
* @deprecated since Twig 3.9
169169
*/
170-
function \OCA\Libresign\Vendor\twig_split_filter(Environment $env, $value, $delimiter, $limit = null)
170+
function twig_split_filter(Environment $env, $value, $delimiter, $limit = null)
171171
{
172172
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
173173
return CoreExtension::split($env->getCharset(), $value, $delimiter, $limit);
@@ -177,7 +177,7 @@ function \OCA\Libresign\Vendor\twig_split_filter(Environment $env, $value, $deli
177177
*
178178
* @deprecated since Twig 3.9
179179
*/
180-
function \OCA\Libresign\Vendor\twig_get_array_keys_filter($array)
180+
function twig_get_array_keys_filter($array)
181181
{
182182
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
183183
return CoreExtension::keys($array);
@@ -187,7 +187,7 @@ function \OCA\Libresign\Vendor\twig_get_array_keys_filter($array)
187187
*
188188
* @deprecated since Twig 3.9
189189
*/
190-
function \OCA\Libresign\Vendor\twig_reverse_filter(Environment $env, $item, $preserveKeys = \false)
190+
function twig_reverse_filter(Environment $env, $item, $preserveKeys = \false)
191191
{
192192
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
193193
return CoreExtension::reverse($env->getCharset(), $item, $preserveKeys);
@@ -197,7 +197,7 @@ function \OCA\Libresign\Vendor\twig_reverse_filter(Environment $env, $item, $pre
197197
*
198198
* @deprecated since Twig 3.9
199199
*/
200-
function \OCA\Libresign\Vendor\twig_sort_filter(Environment $env, $array, $arrow = null)
200+
function twig_sort_filter(Environment $env, $array, $arrow = null)
201201
{
202202
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
203203
return CoreExtension::sort($env, $array, $arrow);
@@ -207,7 +207,7 @@ function \OCA\Libresign\Vendor\twig_sort_filter(Environment $env, $array, $arrow
207207
*
208208
* @deprecated since Twig 3.9
209209
*/
210-
function \OCA\Libresign\Vendor\twig_matches(string $regexp, ?string $str)
210+
function twig_matches(string $regexp, ?string $str)
211211
{
212212
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
213213
return CoreExtension::matches($regexp, $str);
@@ -217,7 +217,7 @@ function \OCA\Libresign\Vendor\twig_matches(string $regexp, ?string $str)
217217
*
218218
* @deprecated since Twig 3.9
219219
*/
220-
function \OCA\Libresign\Vendor\twig_trim_filter($string, $characterMask = null, $side = 'both')
220+
function twig_trim_filter($string, $characterMask = null, $side = 'both')
221221
{
222222
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
223223
return CoreExtension::trim($string, $characterMask, $side);
@@ -227,7 +227,7 @@ function \OCA\Libresign\Vendor\twig_trim_filter($string, $characterMask = null,
227227
*
228228
* @deprecated since Twig 3.9
229229
*/
230-
function \OCA\Libresign\Vendor\twig_nl2br($string)
230+
function twig_nl2br($string)
231231
{
232232
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
233233
return CoreExtension::nl2br($string);
@@ -237,7 +237,7 @@ function \OCA\Libresign\Vendor\twig_nl2br($string)
237237
*
238238
* @deprecated since Twig 3.9
239239
*/
240-
function \OCA\Libresign\Vendor\twig_spaceless($content)
240+
function twig_spaceless($content)
241241
{
242242
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
243243
return CoreExtension::spaceless($content);
@@ -247,7 +247,7 @@ function \OCA\Libresign\Vendor\twig_spaceless($content)
247247
*
248248
* @deprecated since Twig 3.9
249249
*/
250-
function \OCA\Libresign\Vendor\twig_convert_encoding($string, $to, $from)
250+
function twig_convert_encoding($string, $to, $from)
251251
{
252252
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
253253
return CoreExtension::convertEncoding($string, $to, $from);
@@ -257,7 +257,7 @@ function \OCA\Libresign\Vendor\twig_convert_encoding($string, $to, $from)
257257
*
258258
* @deprecated since Twig 3.9
259259
*/
260-
function \OCA\Libresign\Vendor\twig_length_filter(Environment $env, $thing)
260+
function twig_length_filter(Environment $env, $thing)
261261
{
262262
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
263263
return CoreExtension::length($env->getCharset(), $thing);
@@ -267,7 +267,7 @@ function \OCA\Libresign\Vendor\twig_length_filter(Environment $env, $thing)
267267
*
268268
* @deprecated since Twig 3.9
269269
*/
270-
function \OCA\Libresign\Vendor\twig_upper_filter(Environment $env, $string)
270+
function twig_upper_filter(Environment $env, $string)
271271
{
272272
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
273273
return CoreExtension::upper($env->getCharset(), $string);
@@ -277,7 +277,7 @@ function \OCA\Libresign\Vendor\twig_upper_filter(Environment $env, $string)
277277
*
278278
* @deprecated since Twig 3.9
279279
*/
280-
function \OCA\Libresign\Vendor\twig_lower_filter(Environment $env, $string)
280+
function twig_lower_filter(Environment $env, $string)
281281
{
282282
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
283283
return CoreExtension::lower($env->getCharset(), $string);
@@ -287,7 +287,7 @@ function \OCA\Libresign\Vendor\twig_lower_filter(Environment $env, $string)
287287
*
288288
* @deprecated since Twig 3.9
289289
*/
290-
function \OCA\Libresign\Vendor\twig_striptags($string, $allowable_tags = null)
290+
function twig_striptags($string, $allowable_tags = null)
291291
{
292292
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
293293
return CoreExtension::striptags($string, $allowable_tags);
@@ -297,7 +297,7 @@ function \OCA\Libresign\Vendor\twig_striptags($string, $allowable_tags = null)
297297
*
298298
* @deprecated since Twig 3.9
299299
*/
300-
function \OCA\Libresign\Vendor\twig_title_string_filter(Environment $env, $string)
300+
function twig_title_string_filter(Environment $env, $string)
301301
{
302302
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
303303
return CoreExtension::titleCase($env->getCharset(), $string);
@@ -307,7 +307,7 @@ function \OCA\Libresign\Vendor\twig_title_string_filter(Environment $env, $strin
307307
*
308308
* @deprecated since Twig 3.9
309309
*/
310-
function \OCA\Libresign\Vendor\twig_capitalize_string_filter(Environment $env, $string)
310+
function twig_capitalize_string_filter(Environment $env, $string)
311311
{
312312
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
313313
return CoreExtension::capitalize($env->getCharset(), $string);
@@ -317,7 +317,7 @@ function \OCA\Libresign\Vendor\twig_capitalize_string_filter(Environment $env, $
317317
*
318318
* @deprecated since Twig 3.9
319319
*/
320-
function \OCA\Libresign\Vendor\twig_test_empty($value)
320+
function twig_test_empty($value)
321321
{
322322
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
323323
return CoreExtension::testEmpty($value);
@@ -327,7 +327,7 @@ function \OCA\Libresign\Vendor\twig_test_empty($value)
327327
*
328328
* @deprecated since Twig 3.9
329329
*/
330-
function \OCA\Libresign\Vendor\twig_test_iterable($value)
330+
function twig_test_iterable($value)
331331
{
332332
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
333333
return \is_iterable($value);
@@ -337,7 +337,7 @@ function \OCA\Libresign\Vendor\twig_test_iterable($value)
337337
*
338338
* @deprecated since Twig 3.9
339339
*/
340-
function \OCA\Libresign\Vendor\twig_include(Environment $env, $context, $template, $variables = [], $withContext = \true, $ignoreMissing = \false, $sandboxed = \false)
340+
function twig_include(Environment $env, $context, $template, $variables = [], $withContext = \true, $ignoreMissing = \false, $sandboxed = \false)
341341
{
342342
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
343343
return CoreExtension::include($env, $context, $template, $variables, $withContext, $ignoreMissing, $sandboxed);
@@ -347,7 +347,7 @@ function \OCA\Libresign\Vendor\twig_include(Environment $env, $context, $templat
347347
*
348348
* @deprecated since Twig 3.9
349349
*/
350-
function \OCA\Libresign\Vendor\twig_source(Environment $env, $name, $ignoreMissing = \false)
350+
function twig_source(Environment $env, $name, $ignoreMissing = \false)
351351
{
352352
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
353353
return CoreExtension::source($env, $name, $ignoreMissing);
@@ -357,7 +357,7 @@ function \OCA\Libresign\Vendor\twig_source(Environment $env, $name, $ignoreMissi
357357
*
358358
* @deprecated since Twig 3.9
359359
*/
360-
function \OCA\Libresign\Vendor\twig_constant($constant, $object = null)
360+
function twig_constant($constant, $object = null)
361361
{
362362
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
363363
return CoreExtension::constant($constant, $object);
@@ -367,7 +367,7 @@ function \OCA\Libresign\Vendor\twig_constant($constant, $object = null)
367367
*
368368
* @deprecated since Twig 3.9
369369
*/
370-
function \OCA\Libresign\Vendor\twig_constant_is_defined($constant, $object = null)
370+
function twig_constant_is_defined($constant, $object = null)
371371
{
372372
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
373373
return CoreExtension::constant($constant, $object, \true);
@@ -377,7 +377,7 @@ function \OCA\Libresign\Vendor\twig_constant_is_defined($constant, $object = nul
377377
*
378378
* @deprecated since Twig 3.9
379379
*/
380-
function \OCA\Libresign\Vendor\twig_array_batch($items, $size, $fill = null, $preserveKeys = \true)
380+
function twig_array_batch($items, $size, $fill = null, $preserveKeys = \true)
381381
{
382382
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
383383
return CoreExtension::batch($items, $size, $fill, $preserveKeys);
@@ -387,7 +387,7 @@ function \OCA\Libresign\Vendor\twig_array_batch($items, $size, $fill = null, $pr
387387
*
388388
* @deprecated since Twig 3.9
389389
*/
390-
function \OCA\Libresign\Vendor\twig_array_column($array, $name, $index = null) : array
390+
function twig_array_column($array, $name, $index = null) : array
391391
{
392392
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
393393
return CoreExtension::column($array, $name, $index);
@@ -397,7 +397,7 @@ function \OCA\Libresign\Vendor\twig_array_column($array, $name, $index = null) :
397397
*
398398
* @deprecated since Twig 3.9
399399
*/
400-
function \OCA\Libresign\Vendor\twig_array_filter(Environment $env, $array, $arrow)
400+
function twig_array_filter(Environment $env, $array, $arrow)
401401
{
402402
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
403403
return CoreExtension::filter($env, $array, $arrow);
@@ -407,7 +407,7 @@ function \OCA\Libresign\Vendor\twig_array_filter(Environment $env, $array, $arro
407407
*
408408
* @deprecated since Twig 3.9
409409
*/
410-
function \OCA\Libresign\Vendor\twig_array_map(Environment $env, $array, $arrow)
410+
function twig_array_map(Environment $env, $array, $arrow)
411411
{
412412
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
413413
return CoreExtension::map($env, $array, $arrow);
@@ -417,7 +417,7 @@ function \OCA\Libresign\Vendor\twig_array_map(Environment $env, $array, $arrow)
417417
*
418418
* @deprecated since Twig 3.9
419419
*/
420-
function \OCA\Libresign\Vendor\twig_array_reduce(Environment $env, $array, $arrow, $initial = null)
420+
function twig_array_reduce(Environment $env, $array, $arrow, $initial = null)
421421
{
422422
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
423423
return CoreExtension::reduce($env, $array, $arrow, $initial);
@@ -427,7 +427,7 @@ function \OCA\Libresign\Vendor\twig_array_reduce(Environment $env, $array, $arro
427427
*
428428
* @deprecated since Twig 3.9
429429
*/
430-
function \OCA\Libresign\Vendor\twig_array_some(Environment $env, $array, $arrow)
430+
function twig_array_some(Environment $env, $array, $arrow)
431431
{
432432
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
433433
return CoreExtension::arraySome($env, $array, $arrow);
@@ -437,7 +437,7 @@ function \OCA\Libresign\Vendor\twig_array_some(Environment $env, $array, $arrow)
437437
*
438438
* @deprecated since Twig 3.9
439439
*/
440-
function \OCA\Libresign\Vendor\twig_array_every(Environment $env, $array, $arrow)
440+
function twig_array_every(Environment $env, $array, $arrow)
441441
{
442442
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
443443
return CoreExtension::arrayEvery($env, $array, $arrow);
@@ -447,7 +447,7 @@ function \OCA\Libresign\Vendor\twig_array_every(Environment $env, $array, $arrow
447447
*
448448
* @deprecated since Twig 3.9
449449
*/
450-
function \OCA\Libresign\Vendor\twig_check_arrow_in_sandbox(Environment $env, $arrow, $thing, $type)
450+
function twig_check_arrow_in_sandbox(Environment $env, $arrow, $thing, $type)
451451
{
452452
trigger_deprecation('twig/twig', '3.9', 'Using the internal "%s" function is deprecated.', __FUNCTION__);
453453
CoreExtension::checkArrow($env, $arrow, $thing, $type);

0 commit comments

Comments
 (0)