mirror of
				https://github.com/furyfire/trueskill.git
				synced 2025-11-04 10:12:28 +01:00 
			
		
		
		
	Rector: deadcode.
This commit is contained in:
		@@ -14,4 +14,4 @@ return RectorConfig::configure()
 | 
			
		||||
    ])
 | 
			
		||||
    // uncomment to reach your current PHP version
 | 
			
		||||
    ->withPhpSets()
 | 
			
		||||
    ->withPreparedSets(typeDeclarations : true);
 | 
			
		||||
    ->withPreparedSets(deadCode: true, codeQuality: true, typeDeclarations : true);
 | 
			
		||||
 
 | 
			
		||||
@@ -13,13 +13,13 @@ class RangeTest extends TestCase
 | 
			
		||||
    public function testConstructInvalidParam(): void
 | 
			
		||||
    {
 | 
			
		||||
        $this->expectException(Exception::class);
 | 
			
		||||
        $range = new Range(10, 5);
 | 
			
		||||
        new Range(10, 5);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function testFactoryInclusiveInvalidParam(): void
 | 
			
		||||
    {
 | 
			
		||||
        $this->expectException(Exception::class);
 | 
			
		||||
        $range = Range::inclusive(10, 5);
 | 
			
		||||
        Range::inclusive(10, 5);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function testNormalUse(): void
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user