Skip to content

Commit 39efc06

Browse files
committed
fix "webServerDir must not be accessed before initialization"
1 parent b3bc87d commit 39efc06

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
2.0.1
5+
-----
6+
7+
* Fix accessing `PantherTestCaseTrait::$webServerDir` before initialization
8+
49
2.0.0
510
-----
611

src/PantherTestCaseTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ trait PantherTestCaseTrait
3131
{
3232
public static bool $stopServerOnTeardown = true;
3333

34-
protected static ?string $webServerDir;
34+
protected static ?string $webServerDir = null;
3535

3636
protected static ?WebServerManager $webServerManager = null;
3737

0 commit comments

Comments
 (0)