diff --git a/test/Util/Scenario.php b/test/Util/Scenario.php index d8000bec..645c31ed 100644 --- a/test/Util/Scenario.php +++ b/test/Util/Scenario.php @@ -35,22 +35,6 @@ public static function fromCommandInvocationAndInitialState(CommandInvocation $i return $scenario; } - /** - * @deprecated - * - * @param Directory $directory - * - * @return Scenario - */ - public static function fromDirectory(Directory $directory): self - { - $scenario = new self(); - - $scenario->initialState = State::fromDirectory($directory); - - return $scenario; - } - public function directory(): Directory { return $this->initialState->directory();