Skip to content

Commit

Permalink
test(performance): don't eat exceptions during benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Declspeck authored and felixfbecker committed Feb 28, 2018
1 parent b412c12 commit e10896f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Performance.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@
$definitionResolver = new DefinitionResolver($index);
$parser = new PhpParser\Parser();

try {
$document = new PhpDocument($testCaseFile, $fileContents, $index, $parser, $docBlockFactory, $definitionResolver);
} catch (\Throwable $e) {
continue;
}
$document = new PhpDocument($testCaseFile, $fileContents, $index, $parser, $docBlockFactory, $definitionResolver);
}

echo "------------------------------\n";
Expand Down

0 comments on commit e10896f

Please sign in to comment.