rector/config/level/php/php74.yaml

18 lines
916 B
YAML
Raw Normal View History

services:
2018-10-05 17:05:03 +08:00
Rector\Php\Rector\Property\TypedPropertyRector: ~
2018-12-31 01:10:56 +01:00
Rector\Rector\Function_\FunctionReplaceRector:
# https://wiki.php.net/rfc/deprecations_php_7_4#the_real_type
is_float: 'is_real'
# https://wiki.php.net/rfc/deprecations_php_7_4#apache_request_headers_function
apache_request_headers: 'getallheaders'
hebrevc: ['nl2br', 'hebrev']
Rector\Php\Rector\FuncCall\ArrayKeyExistsOnPropertyRector: ~
Rector\Php\Rector\FuncCall\FilterVarToAddSlashesRector: ~
Rector\Php\Rector\StaticCall\ExportToReflectionFunctionRector: ~
Rector\Php\Rector\MagicConstClass\ClassConstantToSelfClassRector: ~
Rector\Php\Rector\FuncCall\GetCalledClassToStaticClassRector: ~
Rector\Php\Rector\FuncCall\MbStrrposEncodingArgumentPositionRector: ~
2019-01-08 11:37:34 +01:00
Rector\Php\Rector\Double\RealToFloatTypeCastRector: ~
Rector\Php\Rector\Assign\NullCoalescingOperatorRector: ~