Skip to content

Commit

Permalink
Remove unused private methods
Browse files Browse the repository at this point in the history
  • Loading branch information
alamirault authored and nicolas-grekas committed Feb 23, 2023
1 parent 8e4629b commit 4c9dc4d
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Tests/Dumper/CliDumperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -449,22 +449,4 @@ public function testDumpArrayWithColor($value, $flags, $expectedOut)

$this->assertSame($expectedOut, $out);
}

private function getSpecialVars()
{
foreach (array_keys($GLOBALS) as $var) {
if ('GLOBALS' !== $var) {
unset($GLOBALS[$var]);
}
}

$var = function &() {
$var = [];
$var[] = &$var;

return $var;
};

return eval('return [$var(), $GLOBALS, &$GLOBALS];');
}
}

0 comments on commit 4c9dc4d

Please sign in to comment.