Skip to content

Commit

Permalink
Merge pull request #3 from ovr/patch-1
Browse files Browse the repository at this point in the history
Update demo.php  - fix deprecated code
  • Loading branch information
ircmaxell committed Jul 22, 2015
2 parents adc7c83 + 9260740 commit 2b38c8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ function foo(array $a) {
$block = $parser->parse($code, __FILE__);
$traverser->traverse($block);

$dumper = new PHPCfg\Dumper;
echo $dumper->dump($block);
$dumper = new PHPCfg\Printer\Text();
echo $dumper->printCFG(array($block))

$scanner = new PHPSQLiScanner\Scanner;

Expand Down

0 comments on commit 2b38c8d

Please # to comment.