Skip to content

Commit 65d36da

Browse files
authored
Merge pull request #404 from PHPCSStandards/feature/tests-bypass-php-8.4-deprecation
Tests: fix for PHP 8.4 deprecation of implicitly nullable types
2 parents 0eb29a9 + 7e3c481 commit 65d36da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestSuite7.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class TestSuite extends PHPUnit_TestSuite
2323
*
2424
* @return \PHPUnit\Framework\TestResult
2525
*/
26-
public function run(TestResult $result=null): TestResult
26+
public function run(?TestResult $result=null): TestResult
2727
{
2828
$result = parent::run($result);
2929
printPHPCodeSnifferTestOutput();

0 commit comments

Comments
 (0)