Skip to content

Commit bbb8cfa

Browse files
Fix
1 parent a58e175 commit bbb8cfa

File tree

8 files changed

+32
-32
lines changed

8 files changed

+32
-32
lines changed

src/Event/Emitter/DispatchingEmitter.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ public function testBeforeTestMethodErrored(string $testClassName, ClassMethod $
425425
}
426426

427427
/**
428-
* @psalm-param class-string $testClassName
428+
* @param class-string $testClassName
429429
*
430430
* @throws InvalidArgumentException
431431
* @throws UnknownEventTypeException
@@ -477,7 +477,7 @@ public function testPreConditionErrored(string $testClassName, ClassMethod $call
477477
}
478478

479479
/**
480-
* @psalm-param class-string $testClassName
480+
* @param class-string $testClassName
481481
*
482482
* @throws InvalidArgumentException
483483
* @throws UnknownEventTypeException
@@ -1065,7 +1065,7 @@ public function testPostConditionErrored(string $testClassName, ClassMethod $cal
10651065
}
10661066

10671067
/**
1068-
* @psalm-param class-string $testClassName
1068+
* @param class-string $testClassName
10691069
*
10701070
* @throws InvalidArgumentException
10711071
* @throws UnknownEventTypeException
@@ -1117,7 +1117,7 @@ public function testAfterTestMethodErrored(string $testClassName, ClassMethod $c
11171117
}
11181118

11191119
/**
1120-
* @psalm-param class-string $testClassName
1120+
* @param class-string $testClassName
11211121
*
11221122
* @throws InvalidArgumentException
11231123
* @throws UnknownEventTypeException
@@ -1169,7 +1169,7 @@ public function testAfterLastTestMethodErrored(string $testClassName, ClassMetho
11691169
}
11701170

11711171
/**
1172-
* @psalm-param class-string $testClassName
1172+
* @param class-string $testClassName
11731173
*
11741174
* @throws InvalidArgumentException
11751175
* @throws UnknownEventTypeException

src/Event/Emitter/Emitter.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function testBeforeTestMethodCalled(string $testClassName, ClassMethod $c
9191
public function testBeforeTestMethodErrored(string $testClassName, ClassMethod $calledMethod, Throwable $throwable): void;
9292

9393
/**
94-
* @psalm-param class-string $testClassName
94+
* @param class-string $testClassName
9595
*/
9696
public function testBeforeTestMethodFinished(string $testClassName, ClassMethod ...$calledMethods): void;
9797

@@ -106,7 +106,7 @@ public function testPreConditionCalled(string $testClassName, ClassMethod $calle
106106
public function testPreConditionErrored(string $testClassName, ClassMethod $calledMethod, Throwable $throwable): void;
107107

108108
/**
109-
* @psalm-param class-string $testClassName
109+
* @param class-string $testClassName
110110
*/
111111
public function testPreConditionFinished(string $testClassName, ClassMethod ...$calledMethods): void;
112112

@@ -267,7 +267,7 @@ public function testPostConditionCalled(string $testClassName, ClassMethod $call
267267
public function testPostConditionErrored(string $testClassName, ClassMethod $calledMethod, Throwable $throwable): void;
268268

269269
/**
270-
* @psalm-param class-string $testClassName
270+
* @param class-string $testClassName
271271
*/
272272
public function testPostConditionFinished(string $testClassName, ClassMethod ...$calledMethods): void;
273273

@@ -282,7 +282,7 @@ public function testAfterTestMethodCalled(string $testClassName, ClassMethod $ca
282282
public function testAfterTestMethodErrored(string $testClassName, ClassMethod $calledMethod, Throwable $throwable): void;
283283

284284
/**
285-
* @psalm-param class-string $testClassName
285+
* @param class-string $testClassName
286286
*/
287287
public function testAfterTestMethodFinished(string $testClassName, ClassMethod ...$calledMethods): void;
288288

@@ -297,7 +297,7 @@ public function testAfterLastTestMethodCalled(string $testClassName, ClassMethod
297297
public function testAfterLastTestMethodErrored(string $testClassName, ClassMethod $calledMethod, Throwable $throwable): void;
298298

299299
/**
300-
* @psalm-param class-string $testClassName
300+
* @param class-string $testClassName
301301
*/
302302
public function testAfterLastTestMethodFinished(string $testClassName, ClassMethod ...$calledMethods): void;
303303

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use PHPUnit\Event\Telemetry;
1818

1919
/**
20-
* @psalm-immutable
20+
* @immutable
2121
*
2222
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
2323
*/
@@ -26,14 +26,14 @@ final class AfterLastTestMethodErrored implements Event
2626
private readonly Telemetry\Info $telemetryInfo;
2727

2828
/**
29-
* @psalm-var class-string
29+
* @var class-string
3030
*/
3131
private readonly string $testClassName;
3232
private readonly Code\ClassMethod $calledMethod;
3333
private readonly Throwable $throwable;
3434

3535
/**
36-
* @psalm-param class-string $testClassName
36+
* @param class-string $testClassName
3737
*/
3838
public function __construct(Telemetry\Info $telemetryInfo, string $testClassName, Code\ClassMethod $calledMethod, Throwable $throwable)
3939
{
@@ -49,7 +49,7 @@ public function telemetryInfo(): Telemetry\Info
4949
}
5050

5151
/**
52-
* @psalm-return class-string
52+
* @return class-string
5353
*/
5454
public function testClassName(): string
5555
{

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use PHPUnit\Event\Telemetry;
1818

1919
/**
20-
* @psalm-immutable
20+
* @immutable
2121
*
2222
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
2323
*/
@@ -26,14 +26,14 @@ final class AfterTestMethodErrored implements Event
2626
private readonly Telemetry\Info $telemetryInfo;
2727

2828
/**
29-
* @psalm-var class-string
29+
* @var class-string
3030
*/
3131
private readonly string $testClassName;
3232
private readonly Code\ClassMethod $calledMethod;
3333
private readonly Throwable $throwable;
3434

3535
/**
36-
* @psalm-param class-string $testClassName
36+
* @param class-string $testClassName
3737
*/
3838
public function __construct(Telemetry\Info $telemetryInfo, string $testClassName, Code\ClassMethod $calledMethod, Throwable $throwable)
3939
{
@@ -49,7 +49,7 @@ public function telemetryInfo(): Telemetry\Info
4949
}
5050

5151
/**
52-
* @psalm-return class-string
52+
* @return class-string
5353
*/
5454
public function testClassName(): string
5555
{

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use PHPUnit\Event\Telemetry;
1818

1919
/**
20-
* @psalm-immutable
20+
* @immutable
2121
*
2222
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
2323
*/
@@ -26,14 +26,14 @@ final class BeforeTestMethodErrored implements Event
2626
private readonly Telemetry\Info $telemetryInfo;
2727

2828
/**
29-
* @psalm-var class-string
29+
* @var class-string
3030
*/
3131
private readonly string $testClassName;
3232
private readonly Code\ClassMethod $calledMethod;
3333
private readonly Throwable $throwable;
3434

3535
/**
36-
* @psalm-param class-string $testClassName
36+
* @param class-string $testClassName
3737
*/
3838
public function __construct(Telemetry\Info $telemetryInfo, string $testClassName, Code\ClassMethod $calledMethod, Throwable $throwable)
3939
{
@@ -49,7 +49,7 @@ public function telemetryInfo(): Telemetry\Info
4949
}
5050

5151
/**
52-
* @psalm-return class-string
52+
* @return class-string
5353
*/
5454
public function testClassName(): string
5555
{

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use PHPUnit\Event\Telemetry;
1818

1919
/**
20-
* @psalm-immutable
20+
* @immutable
2121
*
2222
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
2323
*/
@@ -26,14 +26,14 @@ final class PostConditionErrored implements Event
2626
private readonly Telemetry\Info $telemetryInfo;
2727

2828
/**
29-
* @psalm-var class-string
29+
* @var class-string
3030
*/
3131
private readonly string $testClassName;
3232
private readonly Code\ClassMethod $calledMethod;
3333
private readonly Throwable $throwable;
3434

3535
/**
36-
* @psalm-param class-string $testClassName
36+
* @param class-string $testClassName
3737
*/
3838
public function __construct(Telemetry\Info $telemetryInfo, string $testClassName, Code\ClassMethod $calledMethod, Throwable $throwable)
3939
{
@@ -49,7 +49,7 @@ public function telemetryInfo(): Telemetry\Info
4949
}
5050

5151
/**
52-
* @psalm-return class-string
52+
* @return class-string
5353
*/
5454
public function testClassName(): string
5555
{

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use PHPUnit\Event\Telemetry;
1818

1919
/**
20-
* @psalm-immutable
20+
* @immutable
2121
*
2222
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
2323
*/
@@ -26,14 +26,14 @@ final class PreConditionErrored implements Event
2626
private readonly Telemetry\Info $telemetryInfo;
2727

2828
/**
29-
* @psalm-var class-string
29+
* @var class-string
3030
*/
3131
private readonly string $testClassName;
3232
private readonly Code\ClassMethod $calledMethod;
3333
private readonly Throwable $throwable;
3434

3535
/**
36-
* @psalm-param class-string $testClassName
36+
* @param class-string $testClassName
3737
*/
3838
public function __construct(Telemetry\Info $telemetryInfo, string $testClassName, Code\ClassMethod $calledMethod, Throwable $throwable)
3939
{
@@ -49,7 +49,7 @@ public function telemetryInfo(): Telemetry\Info
4949
}
5050

5151
/**
52-
* @psalm-return class-string
52+
* @return class-string
5353
*/
5454
public function testClassName(): string
5555
{

src/TextUI/Configuration/SourceFilter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class SourceFilter
1919
private static ?self $instance = null;
2020

2121
/**
22-
* @psalm-var array<non-empty-string, true>
22+
* @var array<non-empty-string, true>
2323
*/
2424
private readonly array $map;
2525

@@ -37,7 +37,7 @@ public static function instance(): self
3737
}
3838

3939
/**
40-
* @psalm-param array<non-empty-string, true> $map
40+
* @param array<non-empty-string, true> $map
4141
*/
4242
public function __construct(array $map)
4343
{

0 commit comments

Comments
 (0)