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 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments