Merge branch '3.x' into 4.x

* 3.x:
  Remove obsolete code
  Deprecate Environment::mergeGlobals()
  Bump version
  Prepare the 3.13.0 release
  Fix wrong format of `Environment::VERSION_ID` constant
  Fix minor things
  Fix CS
  Fix isset in ForLoopNode
  Fix iterable return type
  Improve exception expectations reliability
This commit is contained in:
Fabien Potencier
2024-09-07 17:03:10 +02:00
25 changed files with 148 additions and 149 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ final class ReflectionCallable
private string $name;
public function __construct(
private TwigCallableInterface $twigCallable,
TwigCallableInterface $twigCallable,
) {
$callable = $twigCallable->getCallable();
if (\is_string($callable) && false !== $pos = strpos($callable, '::')) {