We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa29484 commit 3958048Copy full SHA for 3958048
Tests/Dumper/ContextualizedDumperTest.php
@@ -19,16 +19,19 @@
19
20
/**
21
* @author Kévin Thérage <therage.kevin@gmail.com>
22
+ *
23
+ * @backupGlobals
24
*/
25
class ContextualizedDumperTest extends TestCase
26
{
27
public function testContextualizedCliDumper()
28
29
+ $_ENV['SYMFONY_IDE'] = $_SERVER['SYMFONY_IDE'] = '';
30
$wrappedDumper = new CliDumper('php://output');
31
$wrappedDumper->setColors(true);
32
33
$var = 'example';
- $href = \sprintf('file://%s#L%s', __FILE__, 37);
34
+ $href = \sprintf('file://%s#L%s', __FILE__, 40);
35
$dumper = new ContextualizedDumper($wrappedDumper, [new SourceContextProvider()]);
36
$cloner = new VarCloner();
37
$data = $cloner->cloneVar($var);
0 commit comments