fix: package lock fingerprint

This commit is contained in:
nuno maduro
2026-07-18 01:10:01 +01:00
parent 9e79e491e2
commit 820fa08313
237 changed files with 2409 additions and 2100 deletions
@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
use Pest\Exceptions\InvalidExpectationValue;
use PHPUnit\Framework\ExpectationFailedException;
@@ -19,18 +21,18 @@ $array = [
],
];
test('pass', function () use ($array) {
test('pass', function () use ($array): void {
expect($array)->toHaveCamelCaseKeys();
});
test('failures', function () {
test('failures', function (): void {
expect('not-an-array')->toHaveCamelCaseKeys();
})->throws(InvalidExpectationValue::class);
test('failures with message', function () use ($array) {
test('failures with message', function () use ($array): void {
expect($array)->not->toHaveCamelCaseKeys('oh no!');
})->throws(ExpectationFailedException::class, 'oh no!');
test('not failures', function () use ($array) {
test('not failures', function () use ($array): void {
expect($array)->not->toHaveCamelCaseKeys();
})->throws(ExpectationFailedException::class);