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 -4
View File
@@ -2,18 +2,18 @@
$file = __DIR__.DIRECTORY_SEPARATOR.'after-all-test';
beforeAll(function () use ($file) {
beforeAll(function () use ($file): void {
@unlink($file);
});
afterAll(function () use ($file) {
afterAll(function () use ($file): void {
@unlink($file);
});
test('deletes file after all', function () use ($file) {
test('deletes file after all', function () use ($file): void {
file_put_contents($file, 'foo');
$this->assertFileExists($file);
register_shutdown_function(function () {
register_shutdown_function(function (): void {
// $this->assertFileDoesNotExist($file);
});
});