File tree Expand file tree Collapse file tree 5 files changed +25
-25
lines changed
src/Event/Events/Test/HookMethod Expand file tree Collapse file tree 5 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 21
21
*
22
22
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
23
23
*/
24
- final class AfterLastTestMethodErrored implements Event
24
+ final readonly class AfterLastTestMethodErrored implements Event
25
25
{
26
- private readonly Telemetry \Info $ telemetryInfo ;
26
+ private Telemetry \Info $ telemetryInfo ;
27
27
28
28
/**
29
29
* @var class-string
30
30
*/
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 ;
34
34
35
35
/**
36
36
* @param class-string $testClassName
Original file line number Diff line number Diff line change 21
21
*
22
22
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
23
23
*/
24
- final class AfterTestMethodErrored implements Event
24
+ final readonly class AfterTestMethodErrored implements Event
25
25
{
26
- private readonly Telemetry \Info $ telemetryInfo ;
26
+ private Telemetry \Info $ telemetryInfo ;
27
27
28
28
/**
29
29
* @var class-string
30
30
*/
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 ;
34
34
35
35
/**
36
36
* @param class-string $testClassName
Original file line number Diff line number Diff line change 21
21
*
22
22
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
23
23
*/
24
- final class BeforeTestMethodErrored implements Event
24
+ final readonly class BeforeTestMethodErrored implements Event
25
25
{
26
- private readonly Telemetry \Info $ telemetryInfo ;
26
+ private Telemetry \Info $ telemetryInfo ;
27
27
28
28
/**
29
29
* @var class-string
30
30
*/
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 ;
34
34
35
35
/**
36
36
* @param class-string $testClassName
Original file line number Diff line number Diff line change 21
21
*
22
22
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
23
23
*/
24
- final class PostConditionErrored implements Event
24
+ final readonly class PostConditionErrored implements Event
25
25
{
26
- private readonly Telemetry \Info $ telemetryInfo ;
26
+ private Telemetry \Info $ telemetryInfo ;
27
27
28
28
/**
29
29
* @var class-string
30
30
*/
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 ;
34
34
35
35
/**
36
36
* @param class-string $testClassName
Original file line number Diff line number Diff line change 21
21
*
22
22
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
23
23
*/
24
- final class PreConditionErrored implements Event
24
+ final readonly class PreConditionErrored implements Event
25
25
{
26
- private readonly Telemetry \Info $ telemetryInfo ;
26
+ private Telemetry \Info $ telemetryInfo ;
27
27
28
28
/**
29
29
* @var class-string
30
30
*/
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 ;
34
34
35
35
/**
36
36
* @param class-string $testClassName
You can’t perform that action at this time.
0 commit comments