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
+4 -6
View File
@@ -1,12 +1,10 @@
<?php
pest()->presets()->custom('myFramework', function (array $userNamespaces) {
return [
expect($userNamespaces)->toBe(['Pest']),
];
});
pest()->presets()->custom('myFramework', fn (array $userNamespaces): array => [
expect($userNamespaces)->toBe(['Pest']),
]);
test('preset invalid name', function () {
test('preset invalid name', function (): void {
$this->preset()->myAnotherFramework();
})->throws(InvalidArgumentException::class, 'The preset [myAnotherFramework] does not exist. The available presets are [php, laravel, strict, security, relaxed, myFramework].');