mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 03:35:01 +01:00
18 lines
556 B
YAML
18 lines
556 B
YAML
services:
|
|
# <> → !=
|
|
Rector\Celebrity\Rector\NotEqual\CommonNotEqualRector: ~
|
|
|
|
Rector\Rector\Function_\RenameFunctionRector:
|
|
split: 'explode'
|
|
join: 'implode'
|
|
|
|
# settype($value, 'int') → (int) $value
|
|
Rector\Celebrity\Rector\FuncCall\SetTypeToCastRector: ~
|
|
|
|
# class { var $value; } → class { public $value; }
|
|
Rector\Php\Rector\Property\VarToPublicPropertyRector: ~
|
|
|
|
# false or true → false || true
|
|
# false and true → false && true
|
|
Rector\Celebrity\Rector\BooleanOp\LogicalToBooleanRector: ~
|