Update minimum PHP to 8.1

This commit is contained in:
itismadness
2023-10-13 00:00:15 +00:00
parent ea558fc679
commit 2addd8d588
4 changed files with 27 additions and 26 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ namespace OrpheusNET\BencodeTorrent;
class BencodeTest extends \PHPUnit\Framework\TestCase
{
public function dataProvider(): array
public static function dataProvider(): array
{
return [
['i0e', 0],
@@ -47,7 +47,7 @@ class BencodeTest extends \PHPUnit\Framework\TestCase
$bencode->decodeString('di1e5:valuee');
}
public function invalidIntegers(): array
public static function invalidIntegers(): array
{
return [['-0'], ['a'], ['1.0']];
}