Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maks-rafalko committed Jan 10, 2022
1 parent 32295b8 commit af01f22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
e2e-runner: ['bin/infection']
include:
- { operating-system: 'windows-latest', php-version: '8.0', coverage-driver: 'xdebug', e2e-runner: 'bin/infection' }
- { operating-system: 'ubuntu-latest', php-version: '8.0', coverage-driver: 'pcov', e2e-runner: 'bin/infection' }
- { operating-system: 'ubuntu-latest', php-version: '8.0', coverage-driver: 'pcov', e2e-runner: 'build/infection.phar' }
- { operating-system: 'ubuntu-latest', php-version: '8.0', coverage-driver: 'xdebug', e2e-runner: 'build/infection.phar' }
- { operating-system: 'ubuntu-latest', php-version: '8.1', coverage-driver: 'pcov', e2e-runner: 'bin/infection' }
Expand Down
4 changes: 2 additions & 2 deletions src/PhpParser/MutatedNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ private function __construct($value)
/**
* @param Node|Node[] $value
*/
public static function wrap(array | \PhpParser\Node $value): self
public static function wrap($value): self
{
return new self($value);
}

/**
* @return Node|Node[]
*/
public function unwrap(): array | \PhpParser\Node
public function unwrap()
{
return $this->value;
}
Expand Down
1 change: 1 addition & 0 deletions src/TestFramework/AdapterInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ final class AdapterInstaller
TestFrameworkTypes::PHPSPEC => 'infection/phpspec-adapter',
];

// 2 minutes
private const TIMEOUT = 120.0;

public function __construct(private ComposerExecutableFinder $composerExecutableFinder)
Expand Down

0 comments on commit af01f22

Please sign in to comment.