Skip to content

Commit 8fe3bf3

Browse files
Merge branch '11.5' into 12.0
2 parents ea80433 + 3d0aa17 commit 8fe3bf3

File tree

5 files changed

+25
-25
lines changed

5 files changed

+25
-25
lines changed

src/Event/Events/Test/HookMethod/AfterLastTestMethodErrored.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
*
2222
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
2323
*/
24-
final class AfterLastTestMethodErrored implements Event
24+
final readonly class AfterLastTestMethodErrored implements Event
2525
{
26-
private readonly Telemetry\Info $telemetryInfo;
26+
private Telemetry\Info $telemetryInfo;
2727

2828
/**
2929
* @var class-string
3030
*/
31-
private readonly string $testClassName;
32-
private readonly Code\ClassMethod $calledMethod;
33-
private readonly Throwable $throwable;
31+
private string $testClassName;
32+
private Code\ClassMethod $calledMethod;
33+
private Throwable $throwable;
3434

3535
/**
3636
* @param class-string $testClassName

src/Event/Events/Test/HookMethod/AfterTestMethodErrored.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
*
2222
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
2323
*/
24-
final class AfterTestMethodErrored implements Event
24+
final readonly class AfterTestMethodErrored implements Event
2525
{
26-
private readonly Telemetry\Info $telemetryInfo;
26+
private Telemetry\Info $telemetryInfo;
2727

2828
/**
2929
* @var class-string
3030
*/
31-
private readonly string $testClassName;
32-
private readonly Code\ClassMethod $calledMethod;
33-
private readonly Throwable $throwable;
31+
private string $testClassName;
32+
private Code\ClassMethod $calledMethod;
33+
private Throwable $throwable;
3434

3535
/**
3636
* @param class-string $testClassName

src/Event/Events/Test/HookMethod/BeforeTestMethodErrored.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
*
2222
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
2323
*/
24-
final class BeforeTestMethodErrored implements Event
24+
final readonly class BeforeTestMethodErrored implements Event
2525
{
26-
private readonly Telemetry\Info $telemetryInfo;
26+
private Telemetry\Info $telemetryInfo;
2727

2828
/**
2929
* @var class-string
3030
*/
31-
private readonly string $testClassName;
32-
private readonly Code\ClassMethod $calledMethod;
33-
private readonly Throwable $throwable;
31+
private string $testClassName;
32+
private Code\ClassMethod $calledMethod;
33+
private Throwable $throwable;
3434

3535
/**
3636
* @param class-string $testClassName

src/Event/Events/Test/HookMethod/PostConditionErrored.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
*
2222
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
2323
*/
24-
final class PostConditionErrored implements Event
24+
final readonly class PostConditionErrored implements Event
2525
{
26-
private readonly Telemetry\Info $telemetryInfo;
26+
private Telemetry\Info $telemetryInfo;
2727

2828
/**
2929
* @var class-string
3030
*/
31-
private readonly string $testClassName;
32-
private readonly Code\ClassMethod $calledMethod;
33-
private readonly Throwable $throwable;
31+
private string $testClassName;
32+
private Code\ClassMethod $calledMethod;
33+
private Throwable $throwable;
3434

3535
/**
3636
* @param class-string $testClassName

src/Event/Events/Test/HookMethod/PreConditionErrored.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
*
2222
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
2323
*/
24-
final class PreConditionErrored implements Event
24+
final readonly class PreConditionErrored implements Event
2525
{
26-
private readonly Telemetry\Info $telemetryInfo;
26+
private Telemetry\Info $telemetryInfo;
2727

2828
/**
2929
* @var class-string
3030
*/
31-
private readonly string $testClassName;
32-
private readonly Code\ClassMethod $calledMethod;
33-
private readonly Throwable $throwable;
31+
private string $testClassName;
32+
private Code\ClassMethod $calledMethod;
33+
private Throwable $throwable;
3434

3535
/**
3636
* @param class-string $testClassName

0 commit comments

Comments
 (0)