Skip to content

Commit b4b5164

Browse files
Rename variables
1 parent b521550 commit b4b5164

12 files changed

+60
-60
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
final readonly class AfterTestMethodCalled implements Event
2323
{
2424
private Telemetry\Info $telemetryInfo;
25-
private Code\TestMethod $test;
25+
private Code\TestMethod $testMethod;
2626
private Code\ClassMethod $calledMethod;
2727

28-
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod)
28+
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $testMethod, Code\ClassMethod $calledMethod)
2929
{
3030
$this->telemetryInfo = $telemetryInfo;
31-
$this->test = $test;
31+
$this->testMethod = $testMethod;
3232
$this->calledMethod = $calledMethod;
3333
}
3434

@@ -39,7 +39,7 @@ public function telemetryInfo(): Telemetry\Info
3939

4040
public function testMethod(): Code\TestMethod
4141
{
42-
return $this->test;
42+
return $this->testMethod;
4343
}
4444

4545
/**
@@ -49,7 +49,7 @@ public function testMethod(): Code\TestMethod
4949
*/
5050
public function testClassName(): string
5151
{
52-
return $this->test->className();
52+
return $this->testMethod->className();
5353
}
5454

5555
public function calledMethod(): Code\ClassMethod

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
final readonly class AfterTestMethodErrored implements Event
2525
{
2626
private Telemetry\Info $telemetryInfo;
27-
private Code\TestMethod $test;
27+
private Code\TestMethod $testMethod;
2828
private Code\ClassMethod $calledMethod;
2929
private Throwable $throwable;
3030

31-
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod, Throwable $throwable)
31+
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $testMethod, Code\ClassMethod $calledMethod, Throwable $throwable)
3232
{
3333
$this->telemetryInfo = $telemetryInfo;
34-
$this->test = $test;
34+
$this->testMethod = $testMethod;
3535
$this->calledMethod = $calledMethod;
3636
$this->throwable = $throwable;
3737
}
@@ -43,7 +43,7 @@ public function telemetryInfo(): Telemetry\Info
4343

4444
public function testMethod(): Code\TestMethod
4545
{
46-
return $this->test;
46+
return $this->testMethod;
4747
}
4848

4949
/**
@@ -53,7 +53,7 @@ public function testMethod(): Code\TestMethod
5353
*/
5454
public function testClassName(): string
5555
{
56-
return $this->test->className();
56+
return $this->testMethod->className();
5757
}
5858

5959
public function calledMethod(): Code\ClassMethod

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@
2323
final readonly class AfterTestMethodFinished implements Event
2424
{
2525
private Telemetry\Info $telemetryInfo;
26-
private Code\TestMethod $test;
26+
private Code\TestMethod $testMethod;
2727

2828
/**
2929
* @var list<Code\ClassMethod>
3030
*/
3131
private array $calledMethods;
3232

33-
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod ...$calledMethods)
33+
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $testMethod, Code\ClassMethod ...$calledMethods)
3434
{
3535
$this->telemetryInfo = $telemetryInfo;
36-
$this->test = $test;
36+
$this->testMethod = $testMethod;
3737
$this->calledMethods = $calledMethods;
3838
}
3939

@@ -44,7 +44,7 @@ public function telemetryInfo(): Telemetry\Info
4444

4545
public function testMethod(): Code\TestMethod
4646
{
47-
return $this->test;
47+
return $this->testMethod;
4848
}
4949

5050
/**
@@ -54,7 +54,7 @@ public function testMethod(): Code\TestMethod
5454
*/
5555
public function testClassName(): string
5656
{
57-
return $this->test->className();
57+
return $this->testMethod->className();
5858
}
5959

6060
/**

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
final readonly class BeforeTestMethodCalled implements Event
2323
{
2424
private Telemetry\Info $telemetryInfo;
25-
private Code\TestMethod $test;
25+
private Code\TestMethod $testMethod;
2626
private Code\ClassMethod $calledMethod;
2727

28-
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod)
28+
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $testMethod, Code\ClassMethod $calledMethod)
2929
{
3030
$this->telemetryInfo = $telemetryInfo;
31-
$this->test = $test;
31+
$this->testMethod = $testMethod;
3232
$this->calledMethod = $calledMethod;
3333
}
3434

@@ -39,7 +39,7 @@ public function telemetryInfo(): Telemetry\Info
3939

4040
public function testMethod(): Code\TestMethod
4141
{
42-
return $this->test;
42+
return $this->testMethod;
4343
}
4444

4545
/**
@@ -49,7 +49,7 @@ public function testMethod(): Code\TestMethod
4949
*/
5050
public function testClassName(): string
5151
{
52-
return $this->test->className();
52+
return $this->testMethod->className();
5353
}
5454

5555
public function calledMethod(): Code\ClassMethod

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
final readonly class BeforeTestMethodErrored implements Event
2525
{
2626
private Telemetry\Info $telemetryInfo;
27-
private Code\TestMethod $test;
27+
private Code\TestMethod $testMethod;
2828
private Code\ClassMethod $calledMethod;
2929
private Throwable $throwable;
3030

31-
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod, Throwable $throwable)
31+
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $testMethod, Code\ClassMethod $calledMethod, Throwable $throwable)
3232
{
3333
$this->telemetryInfo = $telemetryInfo;
34-
$this->test = $test;
34+
$this->testMethod = $testMethod;
3535
$this->calledMethod = $calledMethod;
3636
$this->throwable = $throwable;
3737
}
@@ -43,7 +43,7 @@ public function telemetryInfo(): Telemetry\Info
4343

4444
public function testMethod(): Code\TestMethod
4545
{
46-
return $this->test;
46+
return $this->testMethod;
4747
}
4848

4949
/**
@@ -53,7 +53,7 @@ public function testMethod(): Code\TestMethod
5353
*/
5454
public function testClassName(): string
5555
{
56-
return $this->test->className();
56+
return $this->testMethod->className();
5757
}
5858

5959
public function calledMethod(): Code\ClassMethod

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@
2323
final readonly class BeforeTestMethodFinished implements Event
2424
{
2525
private Telemetry\Info $telemetryInfo;
26-
private Code\TestMethod $test;
26+
private Code\TestMethod $testMethod;
2727

2828
/**
2929
* @var list<Code\ClassMethod>
3030
*/
3131
private array $calledMethods;
3232

33-
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod ...$calledMethods)
33+
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $testMethod, Code\ClassMethod ...$calledMethods)
3434
{
3535
$this->telemetryInfo = $telemetryInfo;
36-
$this->test = $test;
36+
$this->testMethod = $testMethod;
3737
$this->calledMethods = $calledMethods;
3838
}
3939

@@ -44,7 +44,7 @@ public function telemetryInfo(): Telemetry\Info
4444

4545
public function testMethod(): Code\TestMethod
4646
{
47-
return $this->test;
47+
return $this->testMethod;
4848
}
4949

5050
/**
@@ -54,7 +54,7 @@ public function testMethod(): Code\TestMethod
5454
*/
5555
public function testClassName(): string
5656
{
57-
return $this->test->className();
57+
return $this->testMethod->className();
5858
}
5959

6060
/**

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
final readonly class PostConditionCalled implements Event
2323
{
2424
private Telemetry\Info $telemetryInfo;
25-
private Code\TestMethod $test;
25+
private Code\TestMethod $testMethod;
2626
private Code\ClassMethod $calledMethod;
2727

28-
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod)
28+
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $testMethod, Code\ClassMethod $calledMethod)
2929
{
3030
$this->telemetryInfo = $telemetryInfo;
31-
$this->test = $test;
31+
$this->testMethod = $testMethod;
3232
$this->calledMethod = $calledMethod;
3333
}
3434

@@ -39,7 +39,7 @@ public function telemetryInfo(): Telemetry\Info
3939

4040
public function testMethod(): Code\TestMethod
4141
{
42-
return $this->test;
42+
return $this->testMethod;
4343
}
4444

4545
/**
@@ -49,7 +49,7 @@ public function testMethod(): Code\TestMethod
4949
*/
5050
public function testClassName(): string
5151
{
52-
return $this->test->className();
52+
return $this->testMethod->className();
5353
}
5454

5555
public function calledMethod(): Code\ClassMethod

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
final readonly class PostConditionErrored implements Event
2525
{
2626
private Telemetry\Info $telemetryInfo;
27-
private Code\TestMethod $test;
27+
private Code\TestMethod $testMethod;
2828
private Code\ClassMethod $calledMethod;
2929
private Throwable $throwable;
3030

31-
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod, Throwable $throwable)
31+
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $testMethod, Code\ClassMethod $calledMethod, Throwable $throwable)
3232
{
3333
$this->telemetryInfo = $telemetryInfo;
34-
$this->test = $test;
34+
$this->testMethod = $testMethod;
3535
$this->calledMethod = $calledMethod;
3636
$this->throwable = $throwable;
3737
}
@@ -43,7 +43,7 @@ public function telemetryInfo(): Telemetry\Info
4343

4444
public function testMethod(): Code\TestMethod
4545
{
46-
return $this->test;
46+
return $this->testMethod;
4747
}
4848

4949
/**
@@ -53,7 +53,7 @@ public function testMethod(): Code\TestMethod
5353
*/
5454
public function testClassName(): string
5555
{
56-
return $this->test->className();
56+
return $this->testMethod->className();
5757
}
5858

5959
public function calledMethod(): Code\ClassMethod

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@
2323
final readonly class PostConditionFinished implements Event
2424
{
2525
private Telemetry\Info $telemetryInfo;
26-
private Code\TestMethod $test;
26+
private Code\TestMethod $testMethod;
2727

2828
/**
2929
* @var list<Code\ClassMethod>
3030
*/
3131
private array $calledMethods;
3232

33-
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod ...$calledMethods)
33+
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $testMethod, Code\ClassMethod ...$calledMethods)
3434
{
3535
$this->telemetryInfo = $telemetryInfo;
36-
$this->test = $test;
36+
$this->testMethod = $testMethod;
3737
$this->calledMethods = $calledMethods;
3838
}
3939

@@ -44,7 +44,7 @@ public function telemetryInfo(): Telemetry\Info
4444

4545
public function testMethod(): Code\TestMethod
4646
{
47-
return $this->test;
47+
return $this->testMethod;
4848
}
4949

5050
/**
@@ -54,7 +54,7 @@ public function testMethod(): Code\TestMethod
5454
*/
5555
public function testClassName(): string
5656
{
57-
return $this->test->className();
57+
return $this->testMethod->className();
5858
}
5959

6060
/**

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
final readonly class PreConditionCalled implements Event
2323
{
2424
private Telemetry\Info$telemetryInfo;
25-
private Code\TestMethod $test;
25+
private Code\TestMethod $testMethod;
2626
private Code\ClassMethod $calledMethod;
2727

28-
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod)
28+
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $testMethod, Code\ClassMethod $calledMethod)
2929
{
3030
$this->telemetryInfo = $telemetryInfo;
31-
$this->test = $test;
31+
$this->testMethod = $testMethod;
3232
$this->calledMethod = $calledMethod;
3333
}
3434

@@ -39,7 +39,7 @@ public function telemetryInfo(): Telemetry\Info
3939

4040
public function testMethod(): Code\TestMethod
4141
{
42-
return $this->test;
42+
return $this->testMethod;
4343
}
4444

4545
/**
@@ -49,7 +49,7 @@ public function testMethod(): Code\TestMethod
4949
*/
5050
public function testClassName(): string
5151
{
52-
return $this->test->className();
52+
return $this->testMethod->className();
5353
}
5454

5555
public function calledMethod(): Code\ClassMethod

0 commit comments

Comments
 (0)