Skip to content

Commit

Permalink
Merge pull request #315 from factorial-io/feature/phpstan-fixes
Browse files Browse the repository at this point in the history
fix: phpstan fixes, composer updates
  • Loading branch information
stmh authored Aug 23, 2023
2 parents b5a7d68 + 4c2dc00 commit cb81e3e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 32 deletions.
62 changes: 31 additions & 31 deletions composer.lock

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

4 changes: 3 additions & 1 deletion tests/RunCommandBaseMethodTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ public function testYarnRunCommand($config, $yarn_run_context)

$this->assertEquals($yarn_run_context, $host_config->getProperty('yarn.context'));
$this->context->set('command', 'info react');
$this->methodFactory->getMethod('yarn')->yarn($host_config, $this->context);
$method = $this->methodFactory->getMethod('yarn');
/** @var YarnMethod $method */
$method->yarn($host_config, $this->context);
$result = $this->context->getCommandResult();

$this->assertEquals(0, $result->getExitCode());
Expand Down

0 comments on commit cb81e3e

Please sign in to comment.