PhpMigration\Changes\v5dot3\DeprecatedTest::testFunc PHP Method

testFunc() public method

public testFunc ( )
    public function testFunc()
    {
        // Not-new
        $this->assertNotSpot('not_new();');
        $table = TestHelper::fetchProperty($this->change, 'funcTable');
        foreach ($table as $name => $dummy) {
            // Normal name
            $this->assertHasSpot(sprintf('%s();', $name));
            // Case Insensitive name
            $this->assertHasSpot(sprintf('%s();', strtoupper($name)));
        }
    }