1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Take out unnecessary analysis step

This commit is contained in:
Matthew Brown 2017-07-16 15:41:45 -04:00
parent 592194e9f2
commit b4542316fa

View File

@ -92,7 +92,6 @@ class MethodMutationTest extends TestCase
$file_checker = new FileChecker('somefile.php', $this->project_checker);
$context = new Context();
$file_checker->visit($context);
$file_checker->analyze(false, true);
$method_context = new Context();
$this->project_checker->getMethodMutations('FooController::barBar', $method_context);
@ -130,7 +129,6 @@ class MethodMutationTest extends TestCase
$file_checker = new FileChecker('somefile.php', $this->project_checker);
$context = new Context();
$file_checker->visit($context);
$file_checker->analyze(false, true);
$method_context = new Context();
$this->project_checker->getMethodMutations('FooController::__construct', $method_context);
@ -168,7 +166,6 @@ class MethodMutationTest extends TestCase
$file_checker = new FileChecker('somefile.php', $this->project_checker);
$context = new Context();
$file_checker->visit($context);
$file_checker->analyze(false, true);
$method_context = new Context();
$this->project_checker->getMethodMutations('FooController::__construct', $method_context);