From e10896f90554c2f95b052c09fbc3685e84fb9a60 Mon Sep 17 00:00:00 2001 From: Declspeck Date: Sun, 25 Feb 2018 22:07:10 +0200 Subject: [PATCH] test(performance): don't eat exceptions during benchmark --- Performance.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Performance.php b/Performance.php index 6fc1c28..4d76d38 100644 --- a/Performance.php +++ b/Performance.php @@ -51,11 +51,7 @@ foreach($frameworks as $framework) { $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";