chore: coding style changes

This commit is contained in:
nuno maduro
2026-08-07 14:52:56 +01:00
parent eb88513baf
commit 42d9b777bf
221 changed files with 139 additions and 3086 deletions
+3 -9
View File
@@ -41,15 +41,11 @@ it('skips with falsy', function (): void {
expect($this->unlessObject)
->unless(
1,
function ($value) {
return $value->trueValue->toBeFalse(); // fails
}
fn ($value) => $value->trueValue->toBeFalse()
)
->unless(
true,
function ($value) {
return $value->trueValue->toBeFalse(); // fails
}
fn ($value) => $value->trueValue->toBeFalse()
)
->foo->toEqual('foo')
->and(static::getCount())->toBe(1);
@@ -69,9 +65,7 @@ it('skips with falsy closure condition', function (): void {
expect($this->unlessObject)
->unless(
fn (): string => '1',
function ($value) {
return $value->trueValue->toBeFalse(); // fails
}
fn ($value) => $value->trueValue->toBeFalse()
)
->foo->toEqual('foo')
->and(static::getCount())->toBe(1);