Skip to content

Commit

Permalink
Removed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Dec 29, 2022
1 parent d22352d commit 99b61ae
Showing 1 changed file with 0 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,79 +107,6 @@ function hasMethod(object $input, string $method): bool {
file_put_contents($declaredClassSymbolPath, $declaredClassSymbol);
file_put_contents($repeatedDeclaredClassSymbolPath, $declaredClassSymbol);

$mutationAttributes = array_combine(
MutationAttributeKeys::ALL,
array_map('strlen', MutationAttributeKeys::ALL),
);

$this->mutantWithValidCode = new Mutant(
$validCodePath,
new Mutation(
'foo',
[],
'Plus',
$mutationAttributes,
'',
MutatedNode::wrap([]),
0,
[],
),
now($validCode),
now(''),
now(''),
);

$this->mutantWithInvalidCode = new Mutant(
$invalidCodePath,
new Mutation(
'foo',
[],
'Plus',
$mutationAttributes,
'',
MutatedNode::wrap([]),
0,
[],
),
now($invalidCode),
now(''),
now(''),
);

$this->mutantWithValidCodeReferencingProjectFiles = new Mutant(
$validCodeReferencingProjectFilesPath,
new Mutation(
'foo',
[],
'Plus',
$mutationAttributes,
'',
MutatedNode::wrap([]),
0,
[],
),
now($validCodeReferencingProjectFiles),
now(''),
now(''),
);

$this->mutantWithValidCodeReferencingReflectionApi = new Mutant(
$validCodeReferencingReflectionApiPath,
new Mutation(
'foo',
[],
'Plus',
$mutationAttributes,
'',
MutatedNode::wrap([]),
0,
[],
),
now($validCodeReferencingProjectFiles),
now(''),
now(''),
);

if (! defined('PSALM_VERSION')) {
define('PSALM_VERSION', Versions::getVersion('vimeo/psalm'));
}
Expand Down

0 comments on commit 99b61ae

Please sign in to comment.