Skip to content

Commit

Permalink
Merge pull request #549 from ergebnis/dependabot/composer/tools/vimeo…
Browse files Browse the repository at this point in the history
…/psalm-3.16

composer(deps-dev): bump vimeo/psalm from 3.15 to 3.16 in /tools
  • Loading branch information
ergebnis-bot authored Sep 22, 2020
2 parents 905e869 + aae5dd9 commit 9a55459
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 23 deletions.
16 changes: 10 additions & 6 deletions test/Util/Scenario.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@ final class Scenario
*/
private $initialState;

public static function fromCommandInvocationAndInitialState(CommandInvocation $invocationStyle, State $initialState): self
private function __construct(CommandInvocation $commandInvocation, State $initialState)
{
$scenario = new self();

$scenario->commandInvocation = $invocationStyle;
$scenario->initialState = $initialState;
$this->commandInvocation = $commandInvocation;
$this->initialState = $initialState;
}

return $scenario;
public static function fromCommandInvocationAndInitialState(CommandInvocation $commandInvocation, State $initialState): self
{
return new self(
$commandInvocation,
$initialState
);
}

public function directory(): Directory
Expand Down
2 changes: 1 addition & 1 deletion tools/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"ergebnis/license": "~1.0.0",
"ergebnis/php-cs-fixer-config": "^2.2.1",
"psalm/plugin-phpunit": "~0.12.1",
"vimeo/psalm": "^3.15"
"vimeo/psalm": "^3.16"
},
"config": {
"platform": {
Expand Down
47 changes: 31 additions & 16 deletions tools/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9a55459

Please sign in to comment.