Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e361824

Browse files
Merge branch '6.4' into 7.0
* 6.4: Use typed properties in tests as much as possible
2 parents 1daa2a7 + 1132f6e commit e361824

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/ExecutableFinderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
class ExecutableFinderTest extends TestCase
2121
{
22-
private $path;
22+
private string|false $path = false;
2323

2424
protected function tearDown(): void
2525
{

Tests/ProcessTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
*/
2929
class ProcessTest extends TestCase
3030
{
31-
private static $phpBin;
32-
private static $process;
33-
private static $sigchild;
31+
private static string $phpBin;
32+
private static ?Process $process = null;
33+
private static bool $sigchild;
3434

3535
public static function setUpBeforeClass(): void
3636
{

0 commit comments

Comments
 (0)