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

testCallTimePassByRef() public method

    public function testCallTimePassByRef()
    {
        $this->assertNotSpot('func($a, $b, "asdf");');
        // Call-time pass-by-reference
        $this->assertHasSpot('func($a, &$b, "asdf");');
        // Set skip
        $this->change->skipCallTimePassByRef(true);
        $this->assertNotSpot('func($a, &$b, "asdf");');
        // Cancle skip
        $this->change->skipCallTimePassByRef(false);
        $this->assertHasSpot('func($a, &$b, "asdf");');
    }