File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function testPassingCostWithinBoundsDoesNotThrow(): void
56
56
{
57
57
foreach (range (BcryptHash::MINIMUM_COST , BcryptHash::MAXIMUM_COST ) as $ cost ) {
58
58
new BcryptHash (Algorithm::Bcrypt, compact ('cost ' ));
59
- $ this ->addToAssertionCount ( 1 );
59
+ $ this ->expectNotToPerformAssertions ( );
60
60
}
61
61
}
62
62
Original file line number Diff line number Diff line change 21
21
22
22
/**
23
23
* Inspired from https://github.com/kubawerlos/php-cs-fixer-custom-fixers/blob/main/.dev-tools/src/InfectionConfigBuilder.php.
24
- *
25
- * @internal
26
24
*/
27
25
final class InfectionConfigBuilder
28
26
{
@@ -126,7 +124,7 @@ public static function build(): array
126
124
'testFrameworkOptions ' => '--group=unit-test ' ,
127
125
];
128
126
129
- $ mutators = array_keys (ProfileList::ALL_MUTATORS );
127
+ $ mutators = array_keys (ProfileList::ALL_MUTATORS ); // @phpstan-ignore classConstant.internalClass
130
128
sort ($ mutators );
131
129
132
130
foreach ($ mutators as $ mutator ) {
You can’t perform that action at this time.
0 commit comments