mirror of
				https://github.com/furyfire/trueskill.git
				synced 2025-11-04 02:02:29 +01:00 
			
		
		
		
	Upgrade to PHP8.4
This commit is contained in:
		@@ -14,7 +14,7 @@ use PHPUnit\Framework\Attributes\UsesClass;
 | 
			
		||||
#[UsesClass(BasicMath::class)]
 | 
			
		||||
class GaussianDistributionTest extends TestCase
 | 
			
		||||
{
 | 
			
		||||
    private const ERROR_TOLERANCE = 0.000001;
 | 
			
		||||
    private const float ERROR_TOLERANCE = 0.000001;
 | 
			
		||||
 | 
			
		||||
    public function testGetters(): void
 | 
			
		||||
    {
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
    {
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user