Skip to content

Commit

Permalink
Update infection builder
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Jan 7, 2025
1 parent 94e0bfa commit 62625da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion infection.json5
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,11 @@
"SpreadRemoval": true,
"Ternary": true,
"This": true,
"Throw_": true,
"Throw_": {
"ignore": [
"Nexus\\Encryption\\Key::__unserialize"
]
},
"TrueValue": {
"ignore": [
"Nexus\\Collection\\Collection::generateDiffHashTable"
Expand Down
4 changes: 4 additions & 0 deletions tools/src/InfectionConfigBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use Infection\Mutator\ProfileList;
use Nexus\Clock\SystemClock;
use Nexus\Collection\Collection;
use Nexus\Encryption\Key;
use Nexus\Password\Hash\Pbkdf2Hash;
use Nexus\Password\Hash\SodiumHash;

Expand Down Expand Up @@ -83,6 +84,9 @@ final class InfectionConfigBuilder
'ModEqual' => [
SystemClock::class,
],
'Throw_' => [
Key::class.'::__unserialize',
],
'TrueValue' => [
Collection::class.'::generateDiffHashTable',
],
Expand Down

0 comments on commit 62625da

Please sign in to comment.