mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Take out unnecessary analysis step
This commit is contained in:
parent
592194e9f2
commit
b4542316fa
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user