mirror of
https://github.com/pestphp/pest.git
synced 2026-07-24 10:30:03 +02:00
fix: package lock fingerprint
This commit is contained in:
@@ -8,20 +8,20 @@ $foo->beforeEach = false;
|
||||
$foo->afterEach = false;
|
||||
$foo->afterAll = false;
|
||||
|
||||
beforeAll(function () use ($foo) {
|
||||
beforeAll(function () use ($foo): void {
|
||||
$foo->beforeAll = true;
|
||||
});
|
||||
beforeEach(function () use ($foo) {
|
||||
beforeEach(function () use ($foo): void {
|
||||
$foo->beforeEach = true;
|
||||
});
|
||||
afterEach(function () use ($foo) {
|
||||
afterEach(function () use ($foo): void {
|
||||
$foo->afterEach = true;
|
||||
});
|
||||
afterAll(function () use ($foo) {
|
||||
afterAll(function () use ($foo): void {
|
||||
$foo->afterAll = true;
|
||||
});
|
||||
|
||||
register_shutdown_function(function () use ($foo) {
|
||||
register_shutdown_function(function () use ($foo): void {
|
||||
assertFalse($foo->beforeAll);
|
||||
assertFalse($foo->beforeEach);
|
||||
assertFalse($foo->afterEach);
|
||||
|
||||
Reference in New Issue
Block a user