Upgrade to PHP8.4

This commit is contained in:
2025-01-28 09:18:50 +00:00
parent 2212d45f61
commit 22002891c5
10 changed files with 56 additions and 56 deletions

View File

@ -16,7 +16,7 @@ use PHPUnit\Framework\Attributes\UsesClass;
#[UsesClass(GaussianDistribution::class)]
class DrawMarginTest extends TestCase
{
private const ERROR_TOLERANCE = 0.000001;
private const float ERROR_TOLERANCE = 0.000001;
public function testGetDrawMarginFromDrawProbability(): void
{

View File

@ -13,9 +13,9 @@ use PHPUnit\Framework\TestCase;
class TrueSkillCalculatorTests
{
private const ERROR_TOLERANCE_TRUESKILL = 0.085;
private const float ERROR_TOLERANCE_TRUESKILL = 0.085;
private const ERROR_TOLERANCE_MATCH_QUALITY = 0.0005;
private const float ERROR_TOLERANCE_MATCH_QUALITY = 0.0005;
// These are the roll-up ones