PHP Class PhpMigration\Changes\v7dot0\SwitchMultipleDefaults

See also: http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.other.multiple-default
Inheritance: extends PhpMigration\Changes\AbstractChange
Show file Open project: monque/php-migration

Protected Properties

Property Type Description
$currentSwitch Record current switch block only in this file. Do not move to CheckVisitor if no another need.
$hasDefault
$version

Public Methods

Method Description
enterNode ( $node )
leaveNode ( $node )

Method Details

enterNode() public method

public enterNode ( $node )

leaveNode() public method

public leaveNode ( $node )

Property Details

$currentSwitch protected property

Record current switch block only in this file. Do not move to CheckVisitor if no another need.
protected $currentSwitch

$hasDefault protected property

protected $hasDefault

$version protected static property

protected static $version