Remove usage of ob_* functions in favor of yielding

This commit is contained in:
Fabien Potencier
2024-01-25 13:09:52 +01:00
parent 594c548b92
commit 3b6cbf98d8
30 changed files with 657 additions and 78 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ class BlockReferenceTest extends NodeTestCase
return [
[new BlockReferenceNode('foo', 1), <<<EOF
// line 1
\$this->displayBlock('foo', \$context, \$blocks);
{$this->getDisplayOrYieldBlock('$this')}('foo', \$context, \$blocks);
EOF
],
];