2018-11-29 00:56:59 +01:00
|
|
|
parameters:
|
|
|
|
# PHP 7.2 "object" type hint
|
|
|
|
enable_object_type: true
|
|
|
|
|
2018-10-03 21:14:08 +08:00
|
|
|
services:
|
2018-10-30 18:45:13 +01:00
|
|
|
Rector\Php\Rector\Each\WhileEachToForeachRector: ~
|
2018-10-03 21:14:08 +08:00
|
|
|
Rector\Php\Rector\Each\ListEachRector: ~
|
2018-10-17 05:21:02 +02:00
|
|
|
Rector\Php\Rector\Unset_\UnsetCastRector: ~
|
2018-11-03 00:29:56 +01:00
|
|
|
Rector\Php\Rector\ConstFetch\BarewordStringRector: ~
|
2018-10-17 10:35:11 +02:00
|
|
|
|
|
|
|
Rector\Rector\Function_\FunctionReplaceRector:
|
|
|
|
jpeg2wbmp: 'imagecreatefromjpeg' # and imagewbmp
|
|
|
|
png2wbmp: 'imagecreatefrompng' # or imagewbmp
|
2018-12-14 21:03:30 +01:00
|
|
|
# http://php.net/manual/en/migration72.deprecated.php#migration72.deprecated.gmp_random-function
|
2018-10-17 10:35:11 +02:00
|
|
|
gmp_random: 'gmp_random_bits' # or gmp_random_range
|
|
|
|
read_exif_data: 'exif_read_data'
|
2018-11-29 00:56:59 +01:00
|
|
|
|
|
|
|
Rector\Php\Rector\FunctionLike\ParamScalarTypehintRector: ~
|
|
|
|
Rector\Php\Rector\FunctionLike\ReturnScalarTypehintRector: ~
|
2018-12-14 21:20:58 +01:00
|
|
|
Rector\Php\Rector\FuncCall\GetClassOnNullRector: ~
|
2018-12-14 22:31:21 +01:00
|
|
|
Rector\Php\Rector\FuncCall\IsObjectOnIncompleteClassRector: ~
|