diff --git a/config/set/code-quality.php b/config/set/code-quality.php index 26cf12fa84d..ca4a106ec1d 100644 --- a/config/set/code-quality.php +++ b/config/set/code-quality.php @@ -139,7 +139,7 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat $services->set(\Rector\CodeQuality\Rector\Foreach_\UnusedForeachValueToArrayKeysRector::class); $services->set(\Rector\CodeQuality\Rector\Array_\ArrayThisCallToThisMethodCallRector::class); $services->set(\Rector\CodeQuality\Rector\NotEqual\CommonNotEqualRector::class); - $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->call('configure', [[\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::OLD_FUNCTION_TO_NEW_FUNCTION => [ + $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->configure([ 'split' => 'explode', 'join' => 'implode', 'sizeof' => 'count', @@ -163,7 +163,7 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat 'mbstrpos' => 'mb_strpos', 'mbstrrpos' => 'mb_strrpos', 'mbsubstr' => 'mb_substr', - ]]]); + ]); $services->set(\Rector\CodeQuality\Rector\FuncCall\SetTypeToCastRector::class); $services->set(\Rector\CodeQuality\Rector\LogicalAnd\LogicalToBooleanRector::class); $services->set(\Rector\Php52\Rector\Property\VarToPublicPropertyRector::class); diff --git a/config/set/coding-style.php b/config/set/coding-style.php index a9f4ca75e75..12b471fa0b4 100644 --- a/config/set/coding-style.php +++ b/config/set/coding-style.php @@ -62,7 +62,7 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat $services->set(\Rector\CodingStyle\Rector\FuncCall\CallUserFuncArrayToVariadicRector::class); $services->set(\Rector\CodingStyle\Rector\FuncCall\VersionCompareFuncCallToConstantRector::class); $services->set(\Rector\CodingStyle\Rector\MethodCall\UseMessageVariableForSprintfInSymfonyStyleRector::class); - $services->set(\Rector\Transform\Rector\FuncCall\FuncCallToConstFetchRector::class)->call('configure', [[\Rector\Transform\Rector\FuncCall\FuncCallToConstFetchRector::FUNCTIONS_TO_CONSTANTS => ['php_sapi_name' => 'PHP_SAPI', 'pi' => 'M_PI']]]); + $services->set(\Rector\Transform\Rector\FuncCall\FuncCallToConstFetchRector::class)->configure(['php_sapi_name' => 'PHP_SAPI', 'pi' => 'M_PI']); $services->set(\Rector\CodingStyle\Rector\Use_\SeparateMultiUseImportsRector::class); $services->set(\Rector\CodingStyle\Rector\ClassMethod\RemoveDoubleUnderscoreInMethodNameRector::class); $services->set(\Rector\CodingStyle\Rector\PostInc\PostIncDecToPreIncDecRector::class); diff --git a/config/set/downgrade-php80.php b/config/set/downgrade-php80.php index aab3ba3a79b..b5a0fa5c15c 100644 --- a/config/set/downgrade-php80.php +++ b/config/set/downgrade-php80.php @@ -28,22 +28,21 @@ use Rector\DowngradePhp80\Rector\StaticCall\DowngradePhpTokenRector; use Rector\DowngradePhp80\ValueObject\DowngradeAttributeToAnnotation; use Rector\Removing\Rector\Class_\RemoveInterfacesRector; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -use Symplify\SymfonyPhpConfig\ValueObjectInliner; return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $parameters = $containerConfigurator->parameters(); $parameters->set(\Rector\Core\Configuration\Option::PHP_VERSION_FEATURES, \Rector\Core\ValueObject\PhpVersion::PHP_74); $services = $containerConfigurator->services(); - $services->set(\Rector\Removing\Rector\Class_\RemoveInterfacesRector::class)->call('configure', [[\Rector\Removing\Rector\Class_\RemoveInterfacesRector::INTERFACES_TO_REMOVE => [ + $services->set(\Rector\Removing\Rector\Class_\RemoveInterfacesRector::class)->configure([ // @see https://wiki.php.net/rfc/stringable 'Stringable', - ]]]); + ]); $services->set(\Rector\DowngradePhp80\Rector\MethodCall\DowngradeNamedArgumentRector::class); - $services->set(\Rector\DowngradePhp80\Rector\Class_\DowngradeAttributeToAnnotationRector::class)->call('configure', [[\Rector\DowngradePhp80\Rector\Class_\DowngradeAttributeToAnnotationRector::ATTRIBUTE_TO_ANNOTATION => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([ + $services->set(\Rector\DowngradePhp80\Rector\Class_\DowngradeAttributeToAnnotationRector::class)->configure([ // Symfony new \Rector\DowngradePhp80\ValueObject\DowngradeAttributeToAnnotation('Symfony\\Contracts\\Service\\Attribute\\Required', 'required'), // Nette new \Rector\DowngradePhp80\ValueObject\DowngradeAttributeToAnnotation('Nette\\DI\\Attributes\\Inject', 'inject'), - ])]]); + ]); $services->set(\Rector\DowngradePhp80\Rector\Property\DowngradeUnionTypeTypedPropertyRector::class); $services->set(\Rector\DowngradePhp80\Rector\FunctionLike\DowngradeUnionTypeDeclarationRector::class); $services->set(\Rector\DowngradePhp80\Rector\FunctionLike\DowngradeMixedTypeDeclarationRector::class); diff --git a/config/set/flysystem-20.php b/config/set/flysystem-20.php index cadabaa56c1..7bb033c5a06 100644 --- a/config/set/flysystem-20.php +++ b/config/set/flysystem-20.php @@ -6,10 +6,9 @@ namespace RectorPrefix20211130; use Rector\Renaming\Rector\MethodCall\RenameMethodRector; use Rector\Renaming\ValueObject\MethodCallRename; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -use Symplify\SymfonyPhpConfig\ValueObjectInliner; return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); - $services->set(\Rector\Renaming\Rector\MethodCall\RenameMethodRector::class)->call('configure', [[\Rector\Renaming\Rector\MethodCall\RenameMethodRector::METHOD_CALL_RENAMES => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([ + $services->set(\Rector\Renaming\Rector\MethodCall\RenameMethodRector::class)->configure([ // Rename is now move, specific for files. new \Rector\Renaming\ValueObject\MethodCallRename('League\\Flysystem\\FilesystemInterface', 'rename', 'move'), // No arbitrary abbreviations @@ -25,5 +24,5 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat new \Rector\Renaming\ValueObject\MethodCallRename('League\\Flysystem\\FilesystemInterface', 'getMimetype', 'mimeType'), new \Rector\Renaming\ValueObject\MethodCallRename('League\\Flysystem\\FilesystemInterface', 'getSize', 'fileSize'), new \Rector\Renaming\ValueObject\MethodCallRename('League\\Flysystem\\FilesystemInterface', 'getVisibility', 'visibility'), - ])]]); + ]); }; diff --git a/config/set/gmagick_to_imagick.php b/config/set/gmagick_to_imagick.php index edd49257d47..852420f339b 100644 --- a/config/set/gmagick_to_imagick.php +++ b/config/set/gmagick_to_imagick.php @@ -7,10 +7,9 @@ use Rector\Renaming\Rector\MethodCall\RenameMethodRector; use Rector\Renaming\Rector\Name\RenameClassRector; use Rector\Renaming\ValueObject\MethodCallRename; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -use Symplify\SymfonyPhpConfig\ValueObjectInliner; # https://www.php.net/manual/en/book.gmagick.php → https://www.php.net/manual/en/book.imagick.php return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); - $services->set(\Rector\Renaming\Rector\Name\RenameClassRector::class)->call('configure', [[\Rector\Renaming\Rector\Name\RenameClassRector::OLD_TO_NEW_CLASSES => ['Gmagick' => 'Imagick', 'GmagickPixel' => 'ImagickPixel']]]); - $services->set(\Rector\Renaming\Rector\MethodCall\RenameMethodRector::class)->call('configure', [[\Rector\Renaming\Rector\MethodCall\RenameMethodRector::METHOD_CALL_RENAMES => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'addimage', 'addImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'addnoiseimage', 'addNoiseImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'annotateimage', 'annotateImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'blurimage', 'blurImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'borderimage', 'borderImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'charcoalimage', 'charcoalImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'chopimage', 'chopImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'commentimage', 'commentImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'compositeimage', 'compositeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'cropimage', 'cropImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'cropthumbnailimage', 'cropThumbnailImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'cyclecolormapimage', 'cycleColormapImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'deconstructimages', 'deconstructImages'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'despeckleimage', 'despeckleImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'drawimage', 'drawImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'edgeimage', 'edgeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'embossimage', 'embossImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'enhanceimage', 'enhanceImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'equalizeimage', 'equalizeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'flipimage', 'flipImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'flopimage', 'flopImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'frameimage', 'frameImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'gammaimage', 'gammaImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getcopyright', 'getCopyright'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getfilename', 'getFilename'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagebackgroundcolor', 'getImageBackgroundColor'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageblueprimary', 'getImageBluePrimary'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagebordercolor', 'getImageBorderColor'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagechanneldepth', 'getImageChannelDepth'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagecolors', 'getImageColors'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagecolorspace', 'getImageColorspace'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagecompose', 'getImageCompose'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagedelay', 'getImageDelay'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagedepth', 'getImageDepth'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagedispose', 'getImageDispose'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageextrema', 'getImageExtrema'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagefilename', 'getImageFilename'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageformat', 'getImageFormat'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagegamma', 'getImageGamma'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagegreenprimary', 'getImageGreenPrimary'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageheight', 'getImageHeight'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagehistogram', 'getImageHistogram'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageindex', 'getImageIndex'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageinterlacescheme', 'getImageInterlaceScheme'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageiterations', 'getImageIterations'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagematte', 'getImageMatte'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagemattecolor', 'getImageMatteColor'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageprofile', 'getImageProfile'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageredprimary', 'getImageRedPrimary'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagerenderingintent', 'getImageRenderingIntent'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageresolution', 'getImageResolution'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagescene', 'getImageScene'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagesignature', 'getImageSignature'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagetype', 'getImageType'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageunits', 'getImageUnits'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagewhitepoint', 'getImageWhitePoint'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagewidth', 'getImageWidth'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getpackagename', 'getPackageName'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getquantumdepth', 'getQuantumDepth'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getreleasedate', 'getReleaseDate'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getsamplingfactors', 'getSamplingFactors'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getsize', 'getSize'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getversion', 'getVersion'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'hasnextimage', 'hasNextImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'haspreviousimage', 'hasPreviousImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'implodeimage', 'implodeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'labelimage', 'labelImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'levelimage', 'levelImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'magnifyimage', 'magnifyImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'mapimage', 'mapImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'medianfilterimage', 'medianFilterImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'minifyimage', 'minifyImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'modulateimage', 'modulateImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'motionblurimage', 'motionBlurImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'newimage', 'newImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'nextimage', 'nextImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'normalizeimage', 'normalizeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'oilpaintimage', 'oilPaintImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'previousimage', 'previousImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'profileimage', 'profileImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'quantizeimage', 'quantizeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'quantizeimages', 'quantizeImages'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'queryfontmetrics', 'queryFontMetrics'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'queryfonts', 'queryFonts'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'queryformats', 'queryFormats'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'radialblurimage', 'radialBlurImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'raiseimage', 'raiseImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'readimage', 'readimages'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'readimageblob', 'readImageBlob'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'readimagefile', 'readImageFile'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'reducenoiseimage', 'reduceNoiseImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'removeimage', 'removeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'removeimageprofile', 'removeImageProfile'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'resampleimage', 'resampleImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'resizeimage', 'resizeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'rollimage', 'rollImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'rotateimage', 'rotateImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'scaleimage', 'scaleImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'separateimagechannel', 'separateImageChannel'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setCompressionQuality', 'getCompressionQuality'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setfilename', 'setFilename'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagebackgroundcolor', 'setImageBackgroundColor'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageblueprimary', 'setImageBluePrimary'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagebordercolor', 'setImageBorderColor'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagechanneldepth', 'setImageChannelDepth'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagecolorspace', 'setImageColorspace'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagecompose', 'setImageCompose'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagedelay', 'setImageDelay'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagedepth', 'setImageDepth'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagedispose', 'setImageDispose'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagefilename', 'setImageFilename'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageformat', 'setImageFormat'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagegamma', 'setImageGamma'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagegreenprimary', 'setImageGreenPrimary'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageindex', 'setImageIndex'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageinterlacescheme', 'setImageInterlaceScheme'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageiterations', 'setImageIterations'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageprofile', 'setImageProfile'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageredprimary', 'setImageRedPrimary'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagerenderingintent', 'setImageRenderingIntent'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageresolution', 'setImageResolution'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagescene', 'setImageScene'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagetype', 'setImageType'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageunits', 'setImageUnits'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagewhitepoint', 'setImageWhitePoint'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setsamplingfactors', 'setSamplingFactors'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setsize', 'setSize'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'shearimage', 'shearImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'solarizeimage', 'solarizeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'spreadimage', 'spreadImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'stripimage', 'stripImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'swirlimage', 'swirlImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'thumbnailimage', 'thumbnailImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'trimimage', 'trimImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'writeimage', 'writeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('GmagickPixel', 'getcolor', 'getColor'), new \Rector\Renaming\ValueObject\MethodCallRename('GmagickPixel', 'getcolorcount', 'getColorCount'), new \Rector\Renaming\ValueObject\MethodCallRename('GmagickPixel', 'getcolorvalue', 'getColorValue'), new \Rector\Renaming\ValueObject\MethodCallRename('GmagickPixel', 'setcolor', 'setColor'), new \Rector\Renaming\ValueObject\MethodCallRename('GmagickPixel', 'setcolorvalue', 'setColorValue')])]]); + $services->set(\Rector\Renaming\Rector\Name\RenameClassRector::class)->configure(['Gmagick' => 'Imagick', 'GmagickPixel' => 'ImagickPixel']); + $services->set(\Rector\Renaming\Rector\MethodCall\RenameMethodRector::class)->configure([new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'addimage', 'addImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'addnoiseimage', 'addNoiseImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'annotateimage', 'annotateImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'blurimage', 'blurImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'borderimage', 'borderImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'charcoalimage', 'charcoalImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'chopimage', 'chopImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'commentimage', 'commentImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'compositeimage', 'compositeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'cropimage', 'cropImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'cropthumbnailimage', 'cropThumbnailImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'cyclecolormapimage', 'cycleColormapImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'deconstructimages', 'deconstructImages'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'despeckleimage', 'despeckleImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'drawimage', 'drawImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'edgeimage', 'edgeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'embossimage', 'embossImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'enhanceimage', 'enhanceImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'equalizeimage', 'equalizeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'flipimage', 'flipImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'flopimage', 'flopImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'frameimage', 'frameImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'gammaimage', 'gammaImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getcopyright', 'getCopyright'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getfilename', 'getFilename'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagebackgroundcolor', 'getImageBackgroundColor'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageblueprimary', 'getImageBluePrimary'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagebordercolor', 'getImageBorderColor'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagechanneldepth', 'getImageChannelDepth'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagecolors', 'getImageColors'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagecolorspace', 'getImageColorspace'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagecompose', 'getImageCompose'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagedelay', 'getImageDelay'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagedepth', 'getImageDepth'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagedispose', 'getImageDispose'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageextrema', 'getImageExtrema'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagefilename', 'getImageFilename'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageformat', 'getImageFormat'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagegamma', 'getImageGamma'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagegreenprimary', 'getImageGreenPrimary'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageheight', 'getImageHeight'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagehistogram', 'getImageHistogram'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageindex', 'getImageIndex'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageinterlacescheme', 'getImageInterlaceScheme'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageiterations', 'getImageIterations'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagematte', 'getImageMatte'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagemattecolor', 'getImageMatteColor'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageprofile', 'getImageProfile'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageredprimary', 'getImageRedPrimary'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagerenderingintent', 'getImageRenderingIntent'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageresolution', 'getImageResolution'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagescene', 'getImageScene'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagesignature', 'getImageSignature'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagetype', 'getImageType'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimageunits', 'getImageUnits'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagewhitepoint', 'getImageWhitePoint'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getimagewidth', 'getImageWidth'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getpackagename', 'getPackageName'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getquantumdepth', 'getQuantumDepth'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getreleasedate', 'getReleaseDate'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getsamplingfactors', 'getSamplingFactors'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getsize', 'getSize'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'getversion', 'getVersion'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'hasnextimage', 'hasNextImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'haspreviousimage', 'hasPreviousImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'implodeimage', 'implodeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'labelimage', 'labelImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'levelimage', 'levelImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'magnifyimage', 'magnifyImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'mapimage', 'mapImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'medianfilterimage', 'medianFilterImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'minifyimage', 'minifyImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'modulateimage', 'modulateImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'motionblurimage', 'motionBlurImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'newimage', 'newImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'nextimage', 'nextImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'normalizeimage', 'normalizeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'oilpaintimage', 'oilPaintImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'previousimage', 'previousImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'profileimage', 'profileImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'quantizeimage', 'quantizeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'quantizeimages', 'quantizeImages'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'queryfontmetrics', 'queryFontMetrics'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'queryfonts', 'queryFonts'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'queryformats', 'queryFormats'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'radialblurimage', 'radialBlurImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'raiseimage', 'raiseImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'readimage', 'readimages'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'readimageblob', 'readImageBlob'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'readimagefile', 'readImageFile'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'reducenoiseimage', 'reduceNoiseImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'removeimage', 'removeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'removeimageprofile', 'removeImageProfile'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'resampleimage', 'resampleImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'resizeimage', 'resizeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'rollimage', 'rollImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'rotateimage', 'rotateImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'scaleimage', 'scaleImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'separateimagechannel', 'separateImageChannel'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setCompressionQuality', 'getCompressionQuality'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setfilename', 'setFilename'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagebackgroundcolor', 'setImageBackgroundColor'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageblueprimary', 'setImageBluePrimary'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagebordercolor', 'setImageBorderColor'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagechanneldepth', 'setImageChannelDepth'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagecolorspace', 'setImageColorspace'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagecompose', 'setImageCompose'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagedelay', 'setImageDelay'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagedepth', 'setImageDepth'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagedispose', 'setImageDispose'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagefilename', 'setImageFilename'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageformat', 'setImageFormat'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagegamma', 'setImageGamma'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagegreenprimary', 'setImageGreenPrimary'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageindex', 'setImageIndex'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageinterlacescheme', 'setImageInterlaceScheme'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageiterations', 'setImageIterations'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageprofile', 'setImageProfile'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageredprimary', 'setImageRedPrimary'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagerenderingintent', 'setImageRenderingIntent'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageresolution', 'setImageResolution'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagescene', 'setImageScene'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagetype', 'setImageType'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimageunits', 'setImageUnits'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setimagewhitepoint', 'setImageWhitePoint'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setsamplingfactors', 'setSamplingFactors'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'setsize', 'setSize'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'shearimage', 'shearImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'solarizeimage', 'solarizeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'spreadimage', 'spreadImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'stripimage', 'stripImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'swirlimage', 'swirlImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'thumbnailimage', 'thumbnailImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'trimimage', 'trimImage'), new \Rector\Renaming\ValueObject\MethodCallRename('Gmagick', 'writeimage', 'writeImage'), new \Rector\Renaming\ValueObject\MethodCallRename('GmagickPixel', 'getcolor', 'getColor'), new \Rector\Renaming\ValueObject\MethodCallRename('GmagickPixel', 'getcolorcount', 'getColorCount'), new \Rector\Renaming\ValueObject\MethodCallRename('GmagickPixel', 'getcolorvalue', 'getColorValue'), new \Rector\Renaming\ValueObject\MethodCallRename('GmagickPixel', 'setcolor', 'setColor'), new \Rector\Renaming\ValueObject\MethodCallRename('GmagickPixel', 'setcolorvalue', 'setColorValue')]); }; diff --git a/config/set/guzzle50.php b/config/set/guzzle50.php index 3b992426e79..9dd000b4a40 100644 --- a/config/set/guzzle50.php +++ b/config/set/guzzle50.php @@ -10,11 +10,10 @@ use Rector\Transform\Rector\StaticCall\StaticCallToFuncCallRector; use Rector\Transform\ValueObject\FuncCallToMethodCall; use Rector\Transform\ValueObject\StaticCallToFuncCall; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -use Symplify\SymfonyPhpConfig\ValueObjectInliner; return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); $configuration = [new \Rector\Transform\ValueObject\FuncCallToMethodCall('GuzzleHttp\\json_decode', 'GuzzleHttp\\Utils', 'jsonDecode'), new \Rector\Transform\ValueObject\FuncCallToMethodCall('GuzzleHttp\\get_path', 'GuzzleHttp\\Utils', 'getPath')]; - $services->set(\Rector\Transform\Rector\FuncCall\FuncCallToMethodCallRector::class)->call('configure', [[\Rector\Transform\Rector\FuncCall\FuncCallToMethodCallRector::FUNC_CALL_TO_CLASS_METHOD_CALL => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline($configuration)]]); - $services->set(\Rector\Transform\Rector\StaticCall\StaticCallToFuncCallRector::class)->call('configure', [[\Rector\Transform\Rector\StaticCall\StaticCallToFuncCallRector::STATIC_CALLS_TO_FUNCTIONS => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\Transform\ValueObject\StaticCallToFuncCall('GuzzleHttp\\Utils', 'setPath', 'GuzzleHttp\\set_path'), new \Rector\Transform\ValueObject\StaticCallToFuncCall('GuzzleHttp\\Pool', 'batch', 'GuzzleHttp\\Pool\\batch')])]]); - $services->set(\Rector\Renaming\Rector\MethodCall\RenameMethodRector::class)->call('configure', [[\Rector\Renaming\Rector\MethodCall\RenameMethodRector::METHOD_CALL_RENAMES => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\Renaming\ValueObject\MethodCallRename('GuzzleHttp\\Message\\MessageInterface', 'getHeaderLines', 'getHeaderAsArray')])]]); + $services->set(\Rector\Transform\Rector\FuncCall\FuncCallToMethodCallRector::class)->configure($configuration); + $services->set(\Rector\Transform\Rector\StaticCall\StaticCallToFuncCallRector::class)->configure([new \Rector\Transform\ValueObject\StaticCallToFuncCall('GuzzleHttp\\Utils', 'setPath', 'GuzzleHttp\\set_path'), new \Rector\Transform\ValueObject\StaticCallToFuncCall('GuzzleHttp\\Pool', 'batch', 'GuzzleHttp\\Pool\\batch')]); + $services->set(\Rector\Renaming\Rector\MethodCall\RenameMethodRector::class)->configure([new \Rector\Renaming\ValueObject\MethodCallRename('GuzzleHttp\\Message\\MessageInterface', 'getHeaderLines', 'getHeaderAsArray')]); }; diff --git a/config/set/monolog20.php b/config/set/monolog20.php index e08610b59f5..38b3c327538 100644 --- a/config/set/monolog20.php +++ b/config/set/monolog20.php @@ -6,9 +6,8 @@ namespace RectorPrefix20211130; use Rector\Renaming\Rector\MethodCall\RenameMethodRector; use Rector\Renaming\ValueObject\MethodCallRename; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -use Symplify\SymfonyPhpConfig\ValueObjectInliner; # https://github.com/Seldaek/monolog/commit/39f8a20e6dadc0194e846b254c5f23d1c732290b#diff-dce565f403e044caa5e6a0d988339430 return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); - $services->set(\Rector\Renaming\Rector\MethodCall\RenameMethodRector::class)->call('configure', [[\Rector\Renaming\Rector\MethodCall\RenameMethodRector::METHOD_CALL_RENAMES => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addDebug', 'debug'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addInfo', 'info'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addNotice', 'notice'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addWarning', 'warning'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addError', 'error'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addCritical', 'critical'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addAlert', 'alert'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addEmergency', 'emergency'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'warn', 'warning'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'err', 'error'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'crit', 'critical'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'emerg', 'emergency')])]]); + $services->set(\Rector\Renaming\Rector\MethodCall\RenameMethodRector::class)->configure([new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addDebug', 'debug'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addInfo', 'info'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addNotice', 'notice'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addWarning', 'warning'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addError', 'error'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addCritical', 'critical'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addAlert', 'alert'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'addEmergency', 'emergency'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'warn', 'warning'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'err', 'error'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'crit', 'critical'), new \Rector\Renaming\ValueObject\MethodCallRename('Monolog\\Logger', 'emerg', 'emergency')]); }; diff --git a/config/set/mysql-to-mysqli.php b/config/set/mysql-to-mysqli.php index bf7ce5259c1..754b32e592e 100644 --- a/config/set/mysql-to-mysqli.php +++ b/config/set/mysql-to-mysqli.php @@ -14,7 +14,6 @@ use Rector\Removing\ValueObject\RemoveFuncCallArg; use Rector\Renaming\Rector\ConstFetch\RenameConstantRector; use Rector\Renaming\Rector\FuncCall\RenameFunctionRector; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -use Symplify\SymfonyPhpConfig\ValueObjectInliner; return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); # https://stackoverflow.com/a/1390625/1348344 @@ -22,12 +21,12 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat # https://www.phpclasses.org/blog/package/9199/post/3-Smoothly-Migrate-your-PHP-Code-using-the-Old-MySQL-extension-to-MySQLi.html $services->set(\Rector\MysqlToMysqli\Rector\Assign\MysqlAssignToMysqliRector::class); $services->set(\Rector\MysqlToMysqli\Rector\FuncCall\MysqlFuncCallToMysqliRector::class); - $services->set(\Rector\Removing\Rector\FuncCall\RemoveFuncCallArgRector::class)->call('configure', [[\Rector\Removing\Rector\FuncCall\RemoveFuncCallArgRector::REMOVED_FUNCTION_ARGUMENTS => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\Removing\ValueObject\RemoveFuncCallArg('mysql_pconnect', 3), new \Rector\Removing\ValueObject\RemoveFuncCallArg('mysql_connect', 3), new \Rector\Removing\ValueObject\RemoveFuncCallArg('mysql_connect', 4)])]]); + $services->set(\Rector\Removing\Rector\FuncCall\RemoveFuncCallArgRector::class)->configure([new \Rector\Removing\ValueObject\RemoveFuncCallArg('mysql_pconnect', 3), new \Rector\Removing\ValueObject\RemoveFuncCallArg('mysql_connect', 3), new \Rector\Removing\ValueObject\RemoveFuncCallArg('mysql_connect', 4)]); $services->set(\Rector\MysqlToMysqli\Rector\FuncCall\MysqlPConnectToMysqliConnectRector::class); # first swap arguments, then rename - $services->set(\Rector\Arguments\Rector\FuncCall\SwapFuncCallArgumentsRector::class)->call('configure', [[\Rector\Arguments\Rector\FuncCall\SwapFuncCallArgumentsRector::FUNCTION_ARGUMENT_SWAPS => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\Arguments\ValueObject\SwapFuncCallArguments('mysql_query', [1, 0]), new \Rector\Arguments\ValueObject\SwapFuncCallArguments('mysql_real_escape_string', [1, 0]), new \Rector\Arguments\ValueObject\SwapFuncCallArguments('mysql_select_db', [1, 0]), new \Rector\Arguments\ValueObject\SwapFuncCallArguments('mysql_set_charset', [1, 0])])]]); - $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->call('configure', [[\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::OLD_FUNCTION_TO_NEW_FUNCTION => ['mysql_connect' => 'mysqli_connect', 'mysql_data_seek' => 'mysqli_data_seek', 'mysql_fetch_array' => 'mysqli_fetch_array', 'mysql_fetch_assoc' => 'mysqli_fetch_assoc', 'mysql_fetch_lengths' => 'mysqli_fetch_lengths', 'mysql_fetch_object' => 'mysqli_fetch_object', 'mysql_fetch_row' => 'mysqli_fetch_row', 'mysql_field_seek' => 'mysqli_field_seek', 'mysql_free_result' => 'mysqli_free_result', 'mysql_get_client_info' => 'mysqli_get_client_info', 'mysql_num_fields' => 'mysqli_num_fields', 'mysql_numfields' => 'mysqli_num_fields', 'mysql_num_rows' => 'mysqli_num_rows', 'mysql_numrows' => 'mysqli_num_rows']]]); + $services->set(\Rector\Arguments\Rector\FuncCall\SwapFuncCallArgumentsRector::class)->configure([new \Rector\Arguments\ValueObject\SwapFuncCallArguments('mysql_query', [1, 0]), new \Rector\Arguments\ValueObject\SwapFuncCallArguments('mysql_real_escape_string', [1, 0]), new \Rector\Arguments\ValueObject\SwapFuncCallArguments('mysql_select_db', [1, 0]), new \Rector\Arguments\ValueObject\SwapFuncCallArguments('mysql_set_charset', [1, 0])]); + $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->configure(['mysql_connect' => 'mysqli_connect', 'mysql_data_seek' => 'mysqli_data_seek', 'mysql_fetch_array' => 'mysqli_fetch_array', 'mysql_fetch_assoc' => 'mysqli_fetch_assoc', 'mysql_fetch_lengths' => 'mysqli_fetch_lengths', 'mysql_fetch_object' => 'mysqli_fetch_object', 'mysql_fetch_row' => 'mysqli_fetch_row', 'mysql_field_seek' => 'mysqli_field_seek', 'mysql_free_result' => 'mysqli_free_result', 'mysql_get_client_info' => 'mysqli_get_client_info', 'mysql_num_fields' => 'mysqli_num_fields', 'mysql_numfields' => 'mysqli_num_fields', 'mysql_num_rows' => 'mysqli_num_rows', 'mysql_numrows' => 'mysqli_num_rows']); # http://php.net/manual/en/mysql.constants.php → http://php.net/manual/en/mysqli.constants.php - $services->set(\Rector\Renaming\Rector\ConstFetch\RenameConstantRector::class)->call('configure', [[\Rector\Renaming\Rector\ConstFetch\RenameConstantRector::OLD_TO_NEW_CONSTANTS => ['MYSQL_ASSOC' => 'MYSQLI_ASSOC', 'MYSQL_BOTH' => 'MYSQLI_BOTH', 'MYSQL_CLIENT_COMPRESS' => 'MYSQLI_CLIENT_COMPRESS', 'MYSQL_CLIENT_IGNORE_SPACE' => 'MYSQLI_CLIENT_IGNORE_SPACE', 'MYSQL_CLIENT_INTERACTIVE' => 'MYSQLI_CLIENT_INTERACTIVE', 'MYSQL_CLIENT_SSL' => 'MYSQLI_CLIENT_SSL', 'MYSQL_NUM' => 'MYSQLI_NUM', 'MYSQL_PRIMARY_KEY_FLAG' => 'MYSQLI_PRI_KEY_FLAG']]]); + $services->set(\Rector\Renaming\Rector\ConstFetch\RenameConstantRector::class)->configure(['MYSQL_ASSOC' => 'MYSQLI_ASSOC', 'MYSQL_BOTH' => 'MYSQLI_BOTH', 'MYSQL_CLIENT_COMPRESS' => 'MYSQLI_CLIENT_COMPRESS', 'MYSQL_CLIENT_IGNORE_SPACE' => 'MYSQLI_CLIENT_IGNORE_SPACE', 'MYSQL_CLIENT_INTERACTIVE' => 'MYSQLI_CLIENT_INTERACTIVE', 'MYSQL_CLIENT_SSL' => 'MYSQLI_CLIENT_SSL', 'MYSQL_NUM' => 'MYSQLI_NUM', 'MYSQL_PRIMARY_KEY_FLAG' => 'MYSQLI_PRI_KEY_FLAG']); $services->set(\Rector\MysqlToMysqli\Rector\FuncCall\MysqlQueryMysqlErrorWithLinkRector::class); }; diff --git a/config/set/phalcon40.php b/config/set/phalcon40.php index 89d415b0638..df6d294d987 100644 --- a/config/set/phalcon40.php +++ b/config/set/phalcon40.php @@ -8,12 +8,11 @@ use Rector\Renaming\Rector\MethodCall\RenameMethodRector; use Rector\Renaming\Rector\Name\RenameClassRector; use Rector\Renaming\ValueObject\MethodCallRename; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -use Symplify\SymfonyPhpConfig\ValueObjectInliner; # https://docs.phalcon.io/4.0/en/upgrade#general-notes return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); # for class renames is better - https://docs.phalcon.io/4.0/en/upgrade#cheat-sheet - $services->set(\Rector\Renaming\Rector\Name\RenameClassRector::class)->call('configure', [[\Rector\Renaming\Rector\Name\RenameClassRector::OLD_TO_NEW_CLASSES => ['Phalcon\\Acl\\Adapter' => 'Phalcon\\Acl\\Adapter\\AbstractAdapter', 'Phalcon\\Acl\\Resource' => 'Phalcon\\Acl\\Component', 'Phalcon\\Acl\\ResourceInterface' => 'Phalcon\\Acl\\ComponentInterface', 'Phalcon\\Acl\\ResourceAware' => 'Phalcon\\Acl\\ComponentAware', 'Phalcon\\Assets\\ResourceInterface' => 'Phalcon\\Assets\\AssetInterface', 'Phalcon\\Validation\\MessageInterface' => 'Phalcon\\Messages\\MessageInterface', 'Phalcon\\Mvc\\Model\\MessageInterface' => 'Phalcon\\Messages\\MessageInterface', 'Phalcon\\Annotations\\Adapter' => 'Phalcon\\Annotations\\Adapter\\AbstractAdapter', 'Phalcon\\Annotations\\Factory' => 'Phalcon\\Annotations\\AnnotationsFactory', 'Phalcon\\Application' => 'Phalcon\\Application\\AbstractApplication', 'Phalcon\\Assets\\Resource' => 'Phalcon\\Assets\\Asset', 'Phalcon\\Assets\\Resource\\Css' => 'Phalcon\\Assets\\Asset\\Css', 'Phalcon\\Assets\\Resource\\Js' => 'Phalcon\\Assets\\Asset\\Js', 'Phalcon\\Cache\\Backend' => 'Phalcon\\Cache', 'Phalcon\\Cache\\Backend\\Factory' => 'Phalcon\\Cache\\AdapterFactory', 'Phalcon\\Cache\\Backend\\Apcu' => 'Phalcon\\Cache\\Adapter\\Apcu', 'Phalcon\\Cache\\Backend\\File' => 'Phalcon\\Cache\\Adapter\\Stream', 'Phalcon\\Cache\\Backend\\Libmemcached' => 'Phalcon\\Cache\\Adapter\\Libmemcached', 'Phalcon\\Cache\\Backend\\Memory' => 'Phalcon\\Cache\\Adapter\\Memory', 'Phalcon\\Cache\\Backend\\Redis' => 'Phalcon\\Cache\\Adapter\\Redis', 'Phalcon\\Cache\\Exception' => 'Phalcon\\Cache\\Exception\\Exception', 'Phalcon\\Config\\Factory' => 'Phalcon\\Config\\ConfigFactory', 'Phalcon\\Db' => 'Phalcon\\Db\\AbstractDb', 'Phalcon\\Db\\Adapter' => 'Phalcon\\Db\\Adapter\\AbstractAdapter', 'Phalcon\\Db\\Adapter\\Pdo' => 'Phalcon\\Db\\Adapter\\Pdo\\AbstractPdo', 'Phalcon\\Db\\Adapter\\Pdo\\Factory' => 'Phalcon\\Db\\Adapter\\PdoFactory', 'Phalcon\\Dispatcher' => 'Phalcon\\Dispatcher\\AbstractDispatcher', 'Phalcon\\Factory' => 'Phalcon\\Factory\\AbstractFactory', 'Phalcon\\Flash' => 'Phalcon\\Flash\\AbstractFlash', 'Phalcon\\Forms\\Element' => 'Phalcon\\Forms\\Element\\AbstractElement', 'Phalcon\\Image\\Adapter' => 'Phalcon\\Image\\Adapter\\AbstractAdapter', 'Phalcon\\Image\\Factory' => 'Phalcon\\Image\\ImageFactory', 'Phalcon\\Logger\\Adapter' => 'Phalcon\\Logger\\Adapter\\AbstractAdapter', 'Phalcon\\Logger\\Adapter\\Blackhole' => 'Phalcon\\Logger\\Adapter\\Noop', 'Phalcon\\Logger\\Adapter\\File' => 'Phalcon\\Logger\\Adapter\\Stream', 'Phalcon\\Logger\\Factory' => 'Phalcon\\Logger\\LoggerFactory', 'Phalcon\\Logger\\Formatter' => 'Phalcon\\Logger\\Formatter\\AbstractFormatter', 'Phalcon\\Mvc\\Collection' => 'Phalcon\\Collection', 'Phalcon\\Mvc\\Collection\\Exception' => 'Phalcon\\Collection\\Exception', 'Phalcon\\Mvc\\Model\\Message' => 'Phalcon\\Messages\\Message', 'Phalcon\\Mvc\\Model\\MetaData\\Files' => 'Phalcon\\Mvc\\Model\\MetaData\\Stream', 'Phalcon\\Mvc\\Model\\Validator' => 'Phalcon\\Validation\\Validator', 'Phalcon\\Mvc\\Model\\Validator\\Email' => 'Phalcon\\Validation\\Validator\\Email', 'Phalcon\\Mvc\\Model\\Validator\\Exclusionin' => 'Phalcon\\Validation\\Validator\\ExclusionIn', 'Phalcon\\Mvc\\Model\\Validator\\Inclusionin' => 'Phalcon\\Validation\\Validator\\InclusionIn', 'Phalcon\\Mvc\\Model\\Validator\\Ip' => 'Phalcon\\Validation\\Validator\\Ip', 'Phalcon\\Mvc\\Model\\Validator\\Numericality' => 'Phalcon\\Validation\\Validator\\Numericality', 'Phalcon\\Mvc\\Model\\Validator\\PresenceOf' => 'Phalcon\\Validation\\Validator\\PresenceOf', 'Phalcon\\Mvc\\Model\\Validator\\Regex' => 'Phalcon\\Validation\\Validator\\Regex', 'Phalcon\\Mvc\\Model\\Validator\\StringLength' => 'Phalcon\\Validation\\Validator\\StringLength', 'Phalcon\\Mvc\\Model\\Validator\\Uniqueness' => 'Phalcon\\Validation\\Validator\\Uniqueness', 'Phalcon\\Mvc\\Model\\Validator\\Url' => 'Phalcon\\Validation\\Validator\\Url', 'Phalcon\\Mvc\\Url' => 'Phalcon\\Url', 'Phalcon\\Mvc\\Url\\Exception' => 'Phalcon\\Url\\Exception', 'Phalcon\\Mvc\\User\\Component' => 'Phalcon\\Di\\Injectable', 'Phalcon\\Mvc\\User\\Module' => 'Phalcon\\Di\\Injectable', 'Phalcon\\Mvc\\User\\Plugin' => 'Phalcon\\Di\\Injectable', 'Phalcon\\Mvc\\View\\Engine' => 'Phalcon\\Mvc\\View\\Engine\\AbstractEngine', 'Phalcon\\Paginator\\Adapter' => 'Phalcon\\Paginator\\Adapter\\AbstractAdapter', 'Phalcon\\Paginator\\Factory' => 'Phalcon\\Paginator\\PaginatorFactory', 'Phalcon\\Session\\Adapter' => 'Phalcon\\Session\\Adapter\\AbstractAdapter', 'Phalcon\\Session\\Adapter\\Files' => 'Phalcon\\Session\\Adapter\\Stream', 'Phalcon\\Session\\Factory' => 'Phalcon\\Session\\Manager', 'Phalcon\\Translate\\Adapter' => 'Phalcon\\Translate\\Adapter\\AbstractAdapter', 'Phalcon\\Translate\\Factory' => 'Phalcon\\Translate\\TranslateFactory', 'Phalcon\\Validation\\CombinedFieldsValidator' => 'Phalcon\\Validation\\AbstractCombinedFieldsValidator', 'Phalcon\\Validation\\Message' => 'Phalcon\\Messages\\Message', 'Phalcon\\Validation\\Message\\Group' => 'Phalcon\\Messages\\Messages', 'Phalcon\\Validation\\Validator' => 'Phalcon\\Validation\\AbstractValidator', 'Phalcon\\Text' => 'Phalcon\\Helper\\Str', 'Phalcon\\Session\\AdapterInterface' => 'SessionHandlerInterface']]]); - $services->set(\Rector\Renaming\Rector\MethodCall\RenameMethodRector::class)->call('configure', [[\Rector\Renaming\Rector\MethodCall\RenameMethodRector::METHOD_CALL_RENAMES => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\AdapterInterface', 'isResource', 'isComponent'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\AdapterInterface', 'addResource', 'addComponent'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\AdapterInterface', 'addResourceAccess', 'addComponentAccess'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\AdapterInterface', 'dropResourceAccess', 'dropComponentAccess'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\AdapterInterface', 'getActiveResource', 'getActiveComponent'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\AdapterInterface', 'getResources', 'getComponents'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\Adapter\\Memory', 'isResource', 'isComponent'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\Adapter\\Memory', 'addResource', 'addComponent'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\Adapter\\Memory', 'addResourceAccess', 'addComponentAccess'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\Adapter\\Memory', 'dropResourceAccess', 'dropComponentAccess'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\Adapter\\Memory', 'getResources', 'getComponents'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Cli\\Console', 'addModules', 'registerModules'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Dispatcher', 'setModelBinding', 'setModelBinder'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Assets\\Manager', 'addResource', 'addAsset'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Assets\\Manager', 'addResourceByType', 'addAssetByType'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Assets\\Manager', 'collectionResourcesByType', 'collectionAssetsByType'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Http\\RequestInterface', 'isSecureRequest', 'isSecure'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Http\\RequestInterface', 'isSoapRequested', 'isSoap'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Paginator', 'getPaginate', 'paginate'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Mvc\\Model\\Criteria', 'order', 'orderBy')])]]); - $services->set(\Rector\Renaming\Rector\ConstFetch\RenameConstantRector::class)->call('configure', [[\Rector\Renaming\Rector\ConstFetch\RenameConstantRector::OLD_TO_NEW_CONSTANTS => ['FILTER_SPECIAL_CHARS' => 'FILTER_SPECIAL', 'FILTER_ALPHANUM' => 'FILTER_ALNUM']]]); + $services->set(\Rector\Renaming\Rector\Name\RenameClassRector::class)->configure(['Phalcon\\Acl\\Adapter' => 'Phalcon\\Acl\\Adapter\\AbstractAdapter', 'Phalcon\\Acl\\Resource' => 'Phalcon\\Acl\\Component', 'Phalcon\\Acl\\ResourceInterface' => 'Phalcon\\Acl\\ComponentInterface', 'Phalcon\\Acl\\ResourceAware' => 'Phalcon\\Acl\\ComponentAware', 'Phalcon\\Assets\\ResourceInterface' => 'Phalcon\\Assets\\AssetInterface', 'Phalcon\\Validation\\MessageInterface' => 'Phalcon\\Messages\\MessageInterface', 'Phalcon\\Mvc\\Model\\MessageInterface' => 'Phalcon\\Messages\\MessageInterface', 'Phalcon\\Annotations\\Adapter' => 'Phalcon\\Annotations\\Adapter\\AbstractAdapter', 'Phalcon\\Annotations\\Factory' => 'Phalcon\\Annotations\\AnnotationsFactory', 'Phalcon\\Application' => 'Phalcon\\Application\\AbstractApplication', 'Phalcon\\Assets\\Resource' => 'Phalcon\\Assets\\Asset', 'Phalcon\\Assets\\Resource\\Css' => 'Phalcon\\Assets\\Asset\\Css', 'Phalcon\\Assets\\Resource\\Js' => 'Phalcon\\Assets\\Asset\\Js', 'Phalcon\\Cache\\Backend' => 'Phalcon\\Cache', 'Phalcon\\Cache\\Backend\\Factory' => 'Phalcon\\Cache\\AdapterFactory', 'Phalcon\\Cache\\Backend\\Apcu' => 'Phalcon\\Cache\\Adapter\\Apcu', 'Phalcon\\Cache\\Backend\\File' => 'Phalcon\\Cache\\Adapter\\Stream', 'Phalcon\\Cache\\Backend\\Libmemcached' => 'Phalcon\\Cache\\Adapter\\Libmemcached', 'Phalcon\\Cache\\Backend\\Memory' => 'Phalcon\\Cache\\Adapter\\Memory', 'Phalcon\\Cache\\Backend\\Redis' => 'Phalcon\\Cache\\Adapter\\Redis', 'Phalcon\\Cache\\Exception' => 'Phalcon\\Cache\\Exception\\Exception', 'Phalcon\\Config\\Factory' => 'Phalcon\\Config\\ConfigFactory', 'Phalcon\\Db' => 'Phalcon\\Db\\AbstractDb', 'Phalcon\\Db\\Adapter' => 'Phalcon\\Db\\Adapter\\AbstractAdapter', 'Phalcon\\Db\\Adapter\\Pdo' => 'Phalcon\\Db\\Adapter\\Pdo\\AbstractPdo', 'Phalcon\\Db\\Adapter\\Pdo\\Factory' => 'Phalcon\\Db\\Adapter\\PdoFactory', 'Phalcon\\Dispatcher' => 'Phalcon\\Dispatcher\\AbstractDispatcher', 'Phalcon\\Factory' => 'Phalcon\\Factory\\AbstractFactory', 'Phalcon\\Flash' => 'Phalcon\\Flash\\AbstractFlash', 'Phalcon\\Forms\\Element' => 'Phalcon\\Forms\\Element\\AbstractElement', 'Phalcon\\Image\\Adapter' => 'Phalcon\\Image\\Adapter\\AbstractAdapter', 'Phalcon\\Image\\Factory' => 'Phalcon\\Image\\ImageFactory', 'Phalcon\\Logger\\Adapter' => 'Phalcon\\Logger\\Adapter\\AbstractAdapter', 'Phalcon\\Logger\\Adapter\\Blackhole' => 'Phalcon\\Logger\\Adapter\\Noop', 'Phalcon\\Logger\\Adapter\\File' => 'Phalcon\\Logger\\Adapter\\Stream', 'Phalcon\\Logger\\Factory' => 'Phalcon\\Logger\\LoggerFactory', 'Phalcon\\Logger\\Formatter' => 'Phalcon\\Logger\\Formatter\\AbstractFormatter', 'Phalcon\\Mvc\\Collection' => 'Phalcon\\Collection', 'Phalcon\\Mvc\\Collection\\Exception' => 'Phalcon\\Collection\\Exception', 'Phalcon\\Mvc\\Model\\Message' => 'Phalcon\\Messages\\Message', 'Phalcon\\Mvc\\Model\\MetaData\\Files' => 'Phalcon\\Mvc\\Model\\MetaData\\Stream', 'Phalcon\\Mvc\\Model\\Validator' => 'Phalcon\\Validation\\Validator', 'Phalcon\\Mvc\\Model\\Validator\\Email' => 'Phalcon\\Validation\\Validator\\Email', 'Phalcon\\Mvc\\Model\\Validator\\Exclusionin' => 'Phalcon\\Validation\\Validator\\ExclusionIn', 'Phalcon\\Mvc\\Model\\Validator\\Inclusionin' => 'Phalcon\\Validation\\Validator\\InclusionIn', 'Phalcon\\Mvc\\Model\\Validator\\Ip' => 'Phalcon\\Validation\\Validator\\Ip', 'Phalcon\\Mvc\\Model\\Validator\\Numericality' => 'Phalcon\\Validation\\Validator\\Numericality', 'Phalcon\\Mvc\\Model\\Validator\\PresenceOf' => 'Phalcon\\Validation\\Validator\\PresenceOf', 'Phalcon\\Mvc\\Model\\Validator\\Regex' => 'Phalcon\\Validation\\Validator\\Regex', 'Phalcon\\Mvc\\Model\\Validator\\StringLength' => 'Phalcon\\Validation\\Validator\\StringLength', 'Phalcon\\Mvc\\Model\\Validator\\Uniqueness' => 'Phalcon\\Validation\\Validator\\Uniqueness', 'Phalcon\\Mvc\\Model\\Validator\\Url' => 'Phalcon\\Validation\\Validator\\Url', 'Phalcon\\Mvc\\Url' => 'Phalcon\\Url', 'Phalcon\\Mvc\\Url\\Exception' => 'Phalcon\\Url\\Exception', 'Phalcon\\Mvc\\User\\Component' => 'Phalcon\\Di\\Injectable', 'Phalcon\\Mvc\\User\\Module' => 'Phalcon\\Di\\Injectable', 'Phalcon\\Mvc\\User\\Plugin' => 'Phalcon\\Di\\Injectable', 'Phalcon\\Mvc\\View\\Engine' => 'Phalcon\\Mvc\\View\\Engine\\AbstractEngine', 'Phalcon\\Paginator\\Adapter' => 'Phalcon\\Paginator\\Adapter\\AbstractAdapter', 'Phalcon\\Paginator\\Factory' => 'Phalcon\\Paginator\\PaginatorFactory', 'Phalcon\\Session\\Adapter' => 'Phalcon\\Session\\Adapter\\AbstractAdapter', 'Phalcon\\Session\\Adapter\\Files' => 'Phalcon\\Session\\Adapter\\Stream', 'Phalcon\\Session\\Factory' => 'Phalcon\\Session\\Manager', 'Phalcon\\Translate\\Adapter' => 'Phalcon\\Translate\\Adapter\\AbstractAdapter', 'Phalcon\\Translate\\Factory' => 'Phalcon\\Translate\\TranslateFactory', 'Phalcon\\Validation\\CombinedFieldsValidator' => 'Phalcon\\Validation\\AbstractCombinedFieldsValidator', 'Phalcon\\Validation\\Message' => 'Phalcon\\Messages\\Message', 'Phalcon\\Validation\\Message\\Group' => 'Phalcon\\Messages\\Messages', 'Phalcon\\Validation\\Validator' => 'Phalcon\\Validation\\AbstractValidator', 'Phalcon\\Text' => 'Phalcon\\Helper\\Str', 'Phalcon\\Session\\AdapterInterface' => 'SessionHandlerInterface']); + $services->set(\Rector\Renaming\Rector\MethodCall\RenameMethodRector::class)->configure([new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\AdapterInterface', 'isResource', 'isComponent'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\AdapterInterface', 'addResource', 'addComponent'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\AdapterInterface', 'addResourceAccess', 'addComponentAccess'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\AdapterInterface', 'dropResourceAccess', 'dropComponentAccess'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\AdapterInterface', 'getActiveResource', 'getActiveComponent'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\AdapterInterface', 'getResources', 'getComponents'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\Adapter\\Memory', 'isResource', 'isComponent'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\Adapter\\Memory', 'addResource', 'addComponent'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\Adapter\\Memory', 'addResourceAccess', 'addComponentAccess'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\Adapter\\Memory', 'dropResourceAccess', 'dropComponentAccess'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Acl\\Adapter\\Memory', 'getResources', 'getComponents'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Cli\\Console', 'addModules', 'registerModules'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Dispatcher', 'setModelBinding', 'setModelBinder'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Assets\\Manager', 'addResource', 'addAsset'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Assets\\Manager', 'addResourceByType', 'addAssetByType'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Assets\\Manager', 'collectionResourcesByType', 'collectionAssetsByType'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Http\\RequestInterface', 'isSecureRequest', 'isSecure'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Http\\RequestInterface', 'isSoapRequested', 'isSoap'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Paginator', 'getPaginate', 'paginate'), new \Rector\Renaming\ValueObject\MethodCallRename('Phalcon\\Mvc\\Model\\Criteria', 'order', 'orderBy')]); + $services->set(\Rector\Renaming\Rector\ConstFetch\RenameConstantRector::class)->configure(['FILTER_SPECIAL_CHARS' => 'FILTER_SPECIAL', 'FILTER_ALPHANUM' => 'FILTER_ALNUM']); }; diff --git a/config/set/php52.php b/config/set/php52.php index c872c3cdd1a..fbf271e13b6 100644 --- a/config/set/php52.php +++ b/config/set/php52.php @@ -8,13 +8,12 @@ use Rector\Php52\Rector\Switch_\ContinueToBreakInSwitchRector; use Rector\Removing\Rector\FuncCall\RemoveFuncCallArgRector; use Rector\Removing\ValueObject\RemoveFuncCallArg; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -use Symplify\SymfonyPhpConfig\ValueObjectInliner; return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); $services->set(\Rector\Php52\Rector\Property\VarToPublicPropertyRector::class); $services->set(\Rector\Php52\Rector\Switch_\ContinueToBreakInSwitchRector::class); - $services->set(\Rector\Removing\Rector\FuncCall\RemoveFuncCallArgRector::class)->call('configure', [[\Rector\Removing\Rector\FuncCall\RemoveFuncCallArgRector::REMOVED_FUNCTION_ARGUMENTS => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([ + $services->set(\Rector\Removing\Rector\FuncCall\RemoveFuncCallArgRector::class)->configure([ // see https://www.php.net/manual/en/function.ldap-first-attribute.php new \Rector\Removing\ValueObject\RemoveFuncCallArg('ldap_first_attribute', 2), - ])]]); + ]); }; diff --git a/config/set/php54.php b/config/set/php54.php index 4e8d3a88123..e4a557fe3d9 100644 --- a/config/set/php54.php +++ b/config/set/php54.php @@ -9,7 +9,7 @@ use Rector\Renaming\Rector\FuncCall\RenameFunctionRector; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); - $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->call('configure', [[\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::OLD_FUNCTION_TO_NEW_FUNCTION => ['mysqli_param_count' => 'mysqli_stmt_param_count']]]); + $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->configure(['mysqli_param_count' => 'mysqli_stmt_param_count']); $services->set(\Rector\Php54\Rector\FuncCall\RemoveReferenceFromCallRector::class); $services->set(\Rector\Php54\Rector\Break_\RemoveZeroBreakContinueRector::class); }; diff --git a/config/set/php56.php b/config/set/php56.php index cdae5689ced..97a64467a4c 100644 --- a/config/set/php56.php +++ b/config/set/php56.php @@ -10,7 +10,7 @@ use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigura return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); $services->set(\Rector\Php56\Rector\FuncCall\PowToExpRector::class); - $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->call('configure', [[\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::OLD_FUNCTION_TO_NEW_FUNCTION => ['mcrypt_generic_end' => 'mcrypt_generic_deinit', 'set_socket_blocking' => 'stream_set_blocking', 'ocibindbyname' => 'oci_bind_by_name', 'ocicancel' => 'oci_cancel', 'ocicolumnisnull' => 'oci_field_is_null', 'ocicolumnname' => 'oci_field_name', 'ocicolumnprecision' => 'oci_field_precision', 'ocicolumnscale' => 'oci_field_scale', 'ocicolumnsize' => 'oci_field_size', 'ocicolumntype' => 'oci_field_type', 'ocicolumntyperaw' => 'oci_field_type_raw', 'ocicommit' => 'oci_commit', 'ocidefinebyname' => 'oci_define_by_name', 'ocierror' => 'oci_error', 'ociexecute' => 'oci_execute', 'ocifetch' => 'oci_fetch', 'ocifetchstatement' => 'oci_fetch_all', 'ocifreecursor' => 'oci_free_statement', 'ocifreestatement' => 'oci_free_statement', 'ociinternaldebug' => 'oci_internal_debug', 'ocilogoff' => 'oci_close', 'ocilogon' => 'oci_connect', 'ocinewcollection' => 'oci_new_collection', 'ocinewcursor' => 'oci_new_cursor', 'ocinewdescriptor' => 'oci_new_descriptor', 'ocinlogon' => 'oci_new_connect', 'ocinumcols' => 'oci_num_fields', 'ociparse' => 'oci_parse', 'ociplogon' => 'oci_pconnect', 'ociresult' => 'oci_result', 'ocirollback' => 'oci_rollback', 'ocirowcount' => 'oci_num_rows', 'ociserverversion' => 'oci_server_version', 'ocisetprefetch' => 'oci_set_prefetch', 'ocistatementtype' => 'oci_statement_type']]]); + $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->configure(['mcrypt_generic_end' => 'mcrypt_generic_deinit', 'set_socket_blocking' => 'stream_set_blocking', 'ocibindbyname' => 'oci_bind_by_name', 'ocicancel' => 'oci_cancel', 'ocicolumnisnull' => 'oci_field_is_null', 'ocicolumnname' => 'oci_field_name', 'ocicolumnprecision' => 'oci_field_precision', 'ocicolumnscale' => 'oci_field_scale', 'ocicolumnsize' => 'oci_field_size', 'ocicolumntype' => 'oci_field_type', 'ocicolumntyperaw' => 'oci_field_type_raw', 'ocicommit' => 'oci_commit', 'ocidefinebyname' => 'oci_define_by_name', 'ocierror' => 'oci_error', 'ociexecute' => 'oci_execute', 'ocifetch' => 'oci_fetch', 'ocifetchstatement' => 'oci_fetch_all', 'ocifreecursor' => 'oci_free_statement', 'ocifreestatement' => 'oci_free_statement', 'ociinternaldebug' => 'oci_internal_debug', 'ocilogoff' => 'oci_close', 'ocilogon' => 'oci_connect', 'ocinewcollection' => 'oci_new_collection', 'ocinewcursor' => 'oci_new_cursor', 'ocinewdescriptor' => 'oci_new_descriptor', 'ocinlogon' => 'oci_new_connect', 'ocinumcols' => 'oci_num_fields', 'ociparse' => 'oci_parse', 'ociplogon' => 'oci_pconnect', 'ociresult' => 'oci_result', 'ocirollback' => 'oci_rollback', 'ocirowcount' => 'oci_num_rows', 'ociserverversion' => 'oci_server_version', 'ocisetprefetch' => 'oci_set_prefetch', 'ocistatementtype' => 'oci_statement_type']); # inspired by level in psalm - https://github.com/vimeo/psalm/blob/82e0bcafac723fdf5007a31a7ae74af1736c9f6f/tests/FileManipulationTest.php#L1063 $services->set(\Rector\Php56\Rector\FunctionLike\AddDefaultValueForUndefinedVariableRector::class); }; diff --git a/config/set/php72.php b/config/set/php72.php index 41eee8e0835..4e3403859b6 100644 --- a/config/set/php72.php +++ b/config/set/php72.php @@ -21,7 +21,7 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat $services->set(\Rector\Php72\Rector\Assign\ListEachRector::class); $services->set(\Rector\Php72\Rector\Assign\ReplaceEachAssignmentWithKeyCurrentRector::class); $services->set(\Rector\Php72\Rector\Unset_\UnsetCastRector::class); - $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->call('configure', [[\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::OLD_FUNCTION_TO_NEW_FUNCTION => [ + $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->configure([ # and imagewbmp 'jpeg2wbmp' => 'imagecreatefromjpeg', # or imagewbmp @@ -31,7 +31,7 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat # or gmp_random_range 'gmp_random' => 'gmp_random_bits', 'read_exif_data' => 'exif_read_data', - ]]]); + ]); $services->set(\Rector\Php72\Rector\FuncCall\GetClassOnNullRector::class); $services->set(\Rector\Php72\Rector\FuncCall\IsObjectOnIncompleteClassRector::class); $services->set(\Rector\Php72\Rector\FuncCall\ParseStrWithResultArgumentRector::class); diff --git a/config/set/php73.php b/config/set/php73.php index fce3b626166..72c10081879 100644 --- a/config/set/php73.php +++ b/config/set/php73.php @@ -22,7 +22,7 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat $services->set(\Rector\Php73\Rector\FuncCall\SensitiveDefineRector::class); $services->set(\Rector\Php73\Rector\ConstFetch\SensitiveConstantNameRector::class); $services->set(\Rector\Php73\Rector\String_\SensitiveHereNowDocRector::class); - $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->call('configure', [[\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::OLD_FUNCTION_TO_NEW_FUNCTION => [ + $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->configure([ # https://wiki.php.net/rfc/deprecations_php_7_3 'image2wbmp' => 'imagewbmp', 'mbregex_encoding' => 'mb_regex_encoding', @@ -38,7 +38,7 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat 'mbereg_search_init' => 'mb_ereg_search_init', 'mbereg_search_getregs' => 'mb_ereg_search_getregs', 'mbereg_search_getpos' => 'mb_ereg_search_getpos', - ]]]); + ]); $services->set(\Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector::class); $services->set(\Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector::class); $services->set(\Rector\Php73\Rector\FuncCall\RegexDashEscapeRector::class); diff --git a/config/set/php74.php b/config/set/php74.php index 45a20c8f7d4..351d1872930 100644 --- a/config/set/php74.php +++ b/config/set/php74.php @@ -23,14 +23,14 @@ use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigura return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); $services->set(\Rector\Php74\Rector\Property\TypedPropertyRector::class); - $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->call('configure', [[\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::OLD_FUNCTION_TO_NEW_FUNCTION => [ + $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->configure([ #the_real_type # https://wiki.php.net/rfc/deprecations_php_7_4 'is_real' => 'is_float', #apache_request_headers_function # https://wiki.php.net/rfc/deprecations_php_7_4 'apache_request_headers' => 'getallheaders', - ]]]); + ]); $services->set(\Rector\Php74\Rector\FuncCall\ArrayKeyExistsOnPropertyRector::class); $services->set(\Rector\Php74\Rector\FuncCall\FilterVarToAddSlashesRector::class); $services->set(\Rector\Php74\Rector\StaticCall\ExportToReflectionFunctionRector::class); diff --git a/config/set/php80.php b/config/set/php80.php index ac852942cac..6119354a72f 100644 --- a/config/set/php80.php +++ b/config/set/php80.php @@ -27,14 +27,13 @@ use Rector\Renaming\Rector\FuncCall\RenameFunctionRector; use Rector\Transform\Rector\StaticCall\StaticCallToFuncCallRector; use Rector\Transform\ValueObject\StaticCallToFuncCall; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -use Symplify\SymfonyPhpConfig\ValueObjectInliner; return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); $services->set(\Rector\Php80\Rector\FunctionLike\UnionTypesRector::class); $services->set(\Rector\Php80\Rector\NotIdentical\StrContainsRector::class); $services->set(\Rector\Php80\Rector\Identical\StrStartsWithRector::class); $services->set(\Rector\Php80\Rector\Identical\StrEndsWithRector::class); - $services->set(\Rector\Transform\Rector\StaticCall\StaticCallToFuncCallRector::class)->call('configure', [[\Rector\Transform\Rector\StaticCall\StaticCallToFuncCallRector::STATIC_CALLS_TO_FUNCTIONS => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\Transform\ValueObject\StaticCallToFuncCall('Nette\\Utils\\Strings', 'startsWith', 'str_starts_with'), new \Rector\Transform\ValueObject\StaticCallToFuncCall('Nette\\Utils\\Strings', 'endsWith', 'str_ends_with'), new \Rector\Transform\ValueObject\StaticCallToFuncCall('Nette\\Utils\\Strings', 'contains', 'str_contains')])]]); + $services->set(\Rector\Transform\Rector\StaticCall\StaticCallToFuncCallRector::class)->configure([new \Rector\Transform\ValueObject\StaticCallToFuncCall('Nette\\Utils\\Strings', 'startsWith', 'str_starts_with'), new \Rector\Transform\ValueObject\StaticCallToFuncCall('Nette\\Utils\\Strings', 'endsWith', 'str_ends_with'), new \Rector\Transform\ValueObject\StaticCallToFuncCall('Nette\\Utils\\Strings', 'contains', 'str_contains')]); $services->set(\Rector\Php80\Rector\Class_\StringableForToStringRector::class); $services->set(\Rector\Php80\Rector\FuncCall\ClassOnObjectRector::class); $services->set(\Rector\Php80\Rector\Ternary\GetDebugTypeRector::class); @@ -43,13 +42,13 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat $services->set(\Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector::class); $services->set(\Rector\Php80\Rector\Switch_\ChangeSwitchToMatchRector::class); // nette\utils and Strings::replace() - $services->set(\Rector\Arguments\Rector\ClassMethod\ArgumentAdderRector::class)->call('configure', [[\Rector\Arguments\Rector\ClassMethod\ArgumentAdderRector::ADDED_ARGUMENTS => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\Arguments\ValueObject\ArgumentAdder('Nette\\Utils\\Strings', 'replace', 2, 'replacement', '')])]]); + $services->set(\Rector\Arguments\Rector\ClassMethod\ArgumentAdderRector::class)->configure([new \Rector\Arguments\ValueObject\ArgumentAdder('Nette\\Utils\\Strings', 'replace', 2, 'replacement', '')]); $services->set(\Rector\DeadCode\Rector\StaticCall\RemoveParentCallWithoutParentRector::class); $services->set(\Rector\Php80\Rector\ClassMethod\SetStateToStaticRector::class); $services->set(\Rector\Php80\Rector\ClassMethod\FinalPrivateToPrivateVisibilityRector::class); // @see https://php.watch/versions/8.0/pgsql-aliases-deprecated - $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->call('configure', [[\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::OLD_FUNCTION_TO_NEW_FUNCTION => ['pg_clientencoding' => 'pg_client_encoding', 'pg_cmdtuples' => 'pg_affected_rows', 'pg_errormessage' => 'pg_last_error', 'pg_fieldisnull' => 'pg_field_is_null', 'pg_fieldname' => 'pg_field_name', 'pg_fieldnum' => 'pg_field_num', 'pg_fieldprtlen' => 'pg_field_prtlen', 'pg_fieldsize' => 'pg_field_size', 'pg_fieldtype' => 'pg_field_type', 'pg_freeresult' => 'pg_free_result', 'pg_getlastoid' => 'pg_last_oid', 'pg_loclose' => 'pg_lo_close', 'pg_locreate' => 'pg_lo_create', 'pg_loexport' => 'pg_lo_export', 'pg_loimport' => 'pg_lo_import', 'pg_loopen' => 'pg_lo_open', 'pg_loread' => 'pg_lo_read', 'pg_loreadall' => 'pg_lo_read_all', 'pg_lounlink' => 'pg_lo_unlink', 'pg_lowrite' => 'pg_lo_write', 'pg_numfields' => 'pg_num_fields', 'pg_numrows' => 'pg_num_rows', 'pg_result' => 'pg_fetch_result', 'pg_setclientencoding' => 'pg_set_client_encoding']]]); + $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->configure(['pg_clientencoding' => 'pg_client_encoding', 'pg_cmdtuples' => 'pg_affected_rows', 'pg_errormessage' => 'pg_last_error', 'pg_fieldisnull' => 'pg_field_is_null', 'pg_fieldname' => 'pg_field_name', 'pg_fieldnum' => 'pg_field_num', 'pg_fieldprtlen' => 'pg_field_prtlen', 'pg_fieldsize' => 'pg_field_size', 'pg_fieldtype' => 'pg_field_type', 'pg_freeresult' => 'pg_free_result', 'pg_getlastoid' => 'pg_last_oid', 'pg_loclose' => 'pg_lo_close', 'pg_locreate' => 'pg_lo_create', 'pg_loexport' => 'pg_lo_export', 'pg_loimport' => 'pg_lo_import', 'pg_loopen' => 'pg_lo_open', 'pg_loread' => 'pg_lo_read', 'pg_loreadall' => 'pg_lo_read_all', 'pg_lounlink' => 'pg_lo_unlink', 'pg_lowrite' => 'pg_lo_write', 'pg_numfields' => 'pg_num_fields', 'pg_numrows' => 'pg_num_rows', 'pg_result' => 'pg_fetch_result', 'pg_setclientencoding' => 'pg_set_client_encoding']); $services->set(\Rector\Php80\Rector\ClassMethod\OptionalParametersAfterRequiredRector::class); - $services->set(\Rector\Arguments\Rector\FuncCall\FunctionArgumentDefaultValueReplacerRector::class)->call('configure', [[\Rector\Arguments\Rector\FuncCall\FunctionArgumentDefaultValueReplacerRector::REPLACED_ARGUMENTS => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'gte', 'ge'), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'lte', 'le'), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, '', '!='), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, '!', '!='), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'g', 'gt'), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'l', 'lt'), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'gte', 'ge'), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'lte', 'le'), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'n', 'ne')])]]); + $services->set(\Rector\Arguments\Rector\FuncCall\FunctionArgumentDefaultValueReplacerRector::class)->configure([new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'gte', 'ge'), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'lte', 'le'), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, '', '!='), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, '!', '!='), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'g', 'gt'), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'l', 'lt'), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'gte', 'ge'), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'lte', 'le'), new \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'n', 'ne')]); $services->set(\Rector\Php80\Rector\FuncCall\Php8ResourceReturnToObjectRector::class); }; diff --git a/config/set/phpspec30.php b/config/set/phpspec30.php index f342b919d92..8d1bba35064 100644 --- a/config/set/phpspec30.php +++ b/config/set/phpspec30.php @@ -7,13 +7,12 @@ use Rector\Renaming\Rector\MethodCall\RenameMethodRector; use Rector\Renaming\Rector\Name\RenameClassRector; use Rector\Renaming\ValueObject\MethodCallRename; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -use Symplify\SymfonyPhpConfig\ValueObjectInliner; return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); - $services->set(\Rector\Renaming\Rector\MethodCall\RenameMethodRector::class)->call('configure', [[\Rector\Renaming\Rector\MethodCall\RenameMethodRector::METHOD_CALL_RENAMES => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([ + $services->set(\Rector\Renaming\Rector\MethodCall\RenameMethodRector::class)->configure([ // @see http://www.phpspec.net/en/stable/manual/upgrading-to-phpspec-3.html new \Rector\Renaming\ValueObject\MethodCallRename('PhpSpec\\ServiceContainer', 'set', 'define'), new \Rector\Renaming\ValueObject\MethodCallRename('PhpSpec\\ServiceContainer', 'setShared', 'define'), - ])]]); - $services->set(\Rector\Renaming\Rector\Name\RenameClassRector::class)->call('configure', [[\Rector\Renaming\Rector\Name\RenameClassRector::OLD_TO_NEW_CLASSES => ['PhpSpec\\Console\\IO' => 'PhpSpec\\Console\\ConsoleIO', 'PhpSpec\\IO\\IOInterface' => 'PhpSpec\\IO\\IO', 'PhpSpec\\Locator\\ResourceInterface' => 'PhpSpec\\Locator\\Resource', 'PhpSpec\\Locator\\ResourceLocatorInterface' => 'PhpSpec\\Locator\\ResourceLocator', 'PhpSpec\\Formatter\\Presenter\\PresenterInterface' => 'PhpSpec\\Formatter\\Presenter\\Presenter', 'PhpSpec\\CodeGenerator\\Generator\\GeneratorInterface' => 'PhpSpec\\CodeGenerator\\Generator\\Generator', 'PhpSpec\\Extension\\ExtensionInterface' => 'PhpSpec\\Extension', 'Phpspec\\CodeAnalysis\\AccessInspectorInterface' => 'Phpspec\\CodeAnalysis\\AccessInspector', 'Phpspec\\Event\\EventInterface' => 'Phpspec\\Event\\PhpSpecEvent', 'PhpSpec\\Formatter\\Presenter\\Differ\\EngineInterface' => 'PhpSpec\\Formatter\\Presenter\\Differ\\DifferEngine', 'PhpSpec\\Matcher\\MatcherInterface' => 'PhpSpec\\Matcher\\Matcher', 'PhpSpec\\Matcher\\MatchersProviderInterface' => 'PhpSpec\\Matcher\\MatchersProvider', 'PhpSpec\\SpecificationInterface' => 'PhpSpec\\Specification', 'PhpSpec\\Runner\\Maintainer\\MaintainerInterface' => 'PhpSpec\\Runner\\Maintainer\\Maintainer']]]); + ]); + $services->set(\Rector\Renaming\Rector\Name\RenameClassRector::class)->configure(['PhpSpec\\Console\\IO' => 'PhpSpec\\Console\\ConsoleIO', 'PhpSpec\\IO\\IOInterface' => 'PhpSpec\\IO\\IO', 'PhpSpec\\Locator\\ResourceInterface' => 'PhpSpec\\Locator\\Resource', 'PhpSpec\\Locator\\ResourceLocatorInterface' => 'PhpSpec\\Locator\\ResourceLocator', 'PhpSpec\\Formatter\\Presenter\\PresenterInterface' => 'PhpSpec\\Formatter\\Presenter\\Presenter', 'PhpSpec\\CodeGenerator\\Generator\\GeneratorInterface' => 'PhpSpec\\CodeGenerator\\Generator\\Generator', 'PhpSpec\\Extension\\ExtensionInterface' => 'PhpSpec\\Extension', 'Phpspec\\CodeAnalysis\\AccessInspectorInterface' => 'Phpspec\\CodeAnalysis\\AccessInspector', 'Phpspec\\Event\\EventInterface' => 'Phpspec\\Event\\PhpSpecEvent', 'PhpSpec\\Formatter\\Presenter\\Differ\\EngineInterface' => 'PhpSpec\\Formatter\\Presenter\\Differ\\DifferEngine', 'PhpSpec\\Matcher\\MatcherInterface' => 'PhpSpec\\Matcher\\Matcher', 'PhpSpec\\Matcher\\MatchersProviderInterface' => 'PhpSpec\\Matcher\\MatchersProvider', 'PhpSpec\\SpecificationInterface' => 'PhpSpec\\Specification', 'PhpSpec\\Runner\\Maintainer\\MaintainerInterface' => 'PhpSpec\\Runner\\Maintainer\\Maintainer']); }; diff --git a/config/set/phpspec40.php b/config/set/phpspec40.php index 23bc7b0f895..718bc3e19ce 100644 --- a/config/set/phpspec40.php +++ b/config/set/phpspec40.php @@ -8,9 +8,8 @@ use PHPStan\Type\MixedType; use Rector\TypeDeclaration\Rector\ClassMethod\AddReturnTypeDeclarationRector; use Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -use Symplify\SymfonyPhpConfig\ValueObjectInliner; return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); $arrayType = new \PHPStan\Type\ArrayType(new \PHPStan\Type\MixedType(), new \PHPStan\Type\MixedType()); - $services->set(\Rector\TypeDeclaration\Rector\ClassMethod\AddReturnTypeDeclarationRector::class)->call('configure', [[\Rector\TypeDeclaration\Rector\ClassMethod\AddReturnTypeDeclarationRector::METHOD_RETURN_TYPES => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('PhpSpec\\ObjectBehavior', 'getMatchers', $arrayType)])]]); + $services->set(\Rector\TypeDeclaration\Rector\ClassMethod\AddReturnTypeDeclarationRector::class)->configure([new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('PhpSpec\\ObjectBehavior', 'getMatchers', $arrayType)]); }; diff --git a/config/set/safe07.php b/config/set/safe07.php index 03a04236c0c..3e0b8c97dd9 100644 --- a/config/set/safe07.php +++ b/config/set/safe07.php @@ -8,5 +8,5 @@ use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigura # This file configures rector/rector:~0.7.0 to replace all PHP functions with their equivalent "safe" functions return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void { $services = $containerConfigurator->services(); - $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->call('configure', [[\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::OLD_FUNCTION_TO_NEW_FUNCTION => ['apache_getenv' => 'Safe\\apache_getenv', 'apache_get_version' => 'Safe\\apache_get_version', 'apache_request_headers' => 'Safe\\apache_request_headers', 'apache_reset_timeout' => 'Safe\\apache_reset_timeout', 'apache_response_headers' => 'Safe\\apache_response_headers', 'apache_setenv' => 'Safe\\apache_setenv', 'apcu_cache_info' => 'Safe\\apcu_cache_info', 'apcu_cas' => 'Safe\\apcu_cas', 'apcu_dec' => 'Safe\\apcu_dec', 'apcu_fetch' => 'Safe\\apcu_fetch', 'apcu_inc' => 'Safe\\apcu_inc', 'apcu_sma_info' => 'Safe\\apcu_sma_info', 'apc_cache_info' => 'Safe\\apc_cache_info', 'apc_cas' => 'Safe\\apc_cas', 'apc_compile_file' => 'Safe\\apc_compile_file', 'apc_dec' => 'Safe\\apc_dec', 'apc_define_constants' => 'Safe\\apc_define_constants', 'apc_delete' => 'Safe\\apc_delete', 'apc_delete_file' => 'Safe\\apc_delete_file', 'apc_fetch' => 'Safe\\apc_fetch', 'apc_inc' => 'Safe\\apc_inc', 'apc_load_constants' => 'Safe\\apc_load_constants', 'apc_sma_info' => 'Safe\\apc_sma_info', 'array_combine' => 'Safe\\array_combine', 'array_flip' => 'Safe\\array_flip', 'array_replace' => 'Safe\\array_replace', 'array_replace_recursive' => 'Safe\\array_replace_recursive', 'array_walk_recursive' => 'Safe\\array_walk_recursive', 'arsort' => 'Safe\\arsort', 'asort' => 'Safe\\asort', 'base64_decode' => 'Safe\\base64_decode', 'bzclose' => 'Safe\\bzclose', 'bzflush' => 'Safe\\bzflush', 'bzread' => 'Safe\\bzread', 'bzwrite' => 'Safe\\bzwrite', 'chdir' => 'Safe\\chdir', 'chgrp' => 'Safe\\chgrp', 'chmod' => 'Safe\\chmod', 'chown' => 'Safe\\chown', 'chroot' => 'Safe\\chroot', 'class_alias' => 'Safe\\class_alias', 'class_implements' => 'Safe\\class_implements', 'class_parents' => 'Safe\\class_parents', 'class_uses' => 'Safe\\class_uses', 'cli_set_process_title' => 'Safe\\cli_set_process_title', 'closelog' => 'Safe\\closelog', 'com_event_sink' => 'Safe\\com_event_sink', 'com_load_typelib' => 'Safe\\com_load_typelib', 'com_print_typeinfo' => 'Safe\\com_print_typeinfo', 'convert_uudecode' => 'Safe\\convert_uudecode', 'convert_uuencode' => 'Safe\\convert_uuencode', 'copy' => 'Safe\\copy', 'create_function' => 'Safe\\create_function', 'cubrid_free_result' => 'Safe\\cubrid_free_result', 'cubrid_get_charset' => 'Safe\\cubrid_get_charset', 'cubrid_get_client_info' => 'Safe\\cubrid_get_client_info', 'cubrid_get_db_parameter' => 'Safe\\cubrid_get_db_parameter', 'cubrid_get_server_info' => 'Safe\\cubrid_get_server_info', 'cubrid_insert_id' => 'Safe\\cubrid_insert_id', 'cubrid_lob2_new' => 'Safe\\cubrid_lob2_new', 'cubrid_lob2_size' => 'Safe\\cubrid_lob2_size', 'cubrid_lob2_size64' => 'Safe\\cubrid_lob2_size64', 'cubrid_lob2_tell' => 'Safe\\cubrid_lob2_tell', 'cubrid_lob2_tell64' => 'Safe\\cubrid_lob2_tell64', 'cubrid_set_db_parameter' => 'Safe\\cubrid_set_db_parameter', 'curl_escape' => 'Safe\\curl_escape', 'curl_exec' => 'Safe\\curl_exec', 'curl_getinfo' => 'Safe\\curl_getinfo', 'curl_init' => 'Safe\\curl_init', 'curl_multi_errno' => 'Safe\\curl_multi_errno', 'curl_multi_info_read' => 'Safe\\curl_multi_info_read', 'curl_multi_init' => 'Safe\\curl_multi_init', 'curl_setopt' => 'Safe\\curl_setopt', 'curl_share_errno' => 'Safe\\curl_share_errno', 'curl_share_setopt' => 'Safe\\curl_share_setopt', 'curl_unescape' => 'Safe\\curl_unescape', 'date_parse' => 'Safe\\date_parse', 'date_parse_from_format' => 'Safe\\date_parse_from_format', 'date_sunrise' => 'Safe\\date_sunrise', 'date_sunset' => 'Safe\\date_sunset', 'date_sun_info' => 'Safe\\date_sun_info', 'db2_autocommit' => 'Safe\\db2_autocommit', 'db2_bind_param' => 'Safe\\db2_bind_param', 'db2_client_info' => 'Safe\\db2_client_info', 'db2_close' => 'Safe\\db2_close', 'db2_commit' => 'Safe\\db2_commit', 'db2_execute' => 'Safe\\db2_execute', 'db2_free_result' => 'Safe\\db2_free_result', 'db2_free_stmt' => 'Safe\\db2_free_stmt', 'db2_get_option' => 'Safe\\db2_get_option', 'db2_pclose' => 'Safe\\db2_pclose', 'db2_rollback' => 'Safe\\db2_rollback', 'db2_server_info' => 'Safe\\db2_server_info', 'db2_set_option' => 'Safe\\db2_set_option', 'define' => 'Safe\\define', 'deflate_add' => 'Safe\\deflate_add', 'deflate_init' => 'Safe\\deflate_init', 'disk_free_space' => 'Safe\\disk_free_space', 'disk_total_space' => 'Safe\\disk_total_space', 'dl' => 'Safe\\dl', 'dns_get_record' => 'Safe\\dns_get_record', 'eio_busy' => 'Safe\\eio_busy', 'eio_chmod' => 'Safe\\eio_chmod', 'eio_chown' => 'Safe\\eio_chown', 'eio_close' => 'Safe\\eio_close', 'eio_custom' => 'Safe\\eio_custom', 'eio_dup2' => 'Safe\\eio_dup2', 'eio_event_loop' => 'Safe\\eio_event_loop', 'eio_fallocate' => 'Safe\\eio_fallocate', 'eio_fchmod' => 'Safe\\eio_fchmod', 'eio_fdatasync' => 'Safe\\eio_fdatasync', 'eio_fstat' => 'Safe\\eio_fstat', 'eio_fstatvfs' => 'Safe\\eio_fstatvfs', 'eio_fsync' => 'Safe\\eio_fsync', 'eio_ftruncate' => 'Safe\\eio_ftruncate', 'eio_futime' => 'Safe\\eio_futime', 'eio_grp' => 'Safe\\eio_grp', 'eio_lstat' => 'Safe\\eio_lstat', 'eio_mkdir' => 'Safe\\eio_mkdir', 'eio_mknod' => 'Safe\\eio_mknod', 'eio_nop' => 'Safe\\eio_nop', 'eio_readahead' => 'Safe\\eio_readahead', 'eio_readdir' => 'Safe\\eio_readdir', 'eio_readlink' => 'Safe\\eio_readlink', 'eio_rename' => 'Safe\\eio_rename', 'eio_rmdir' => 'Safe\\eio_rmdir', 'eio_seek' => 'Safe\\eio_seek', 'eio_sendfile' => 'Safe\\eio_sendfile', 'eio_stat' => 'Safe\\eio_stat', 'eio_statvfs' => 'Safe\\eio_statvfs', 'eio_symlink' => 'Safe\\eio_symlink', 'eio_sync' => 'Safe\\eio_sync', 'eio_syncfs' => 'Safe\\eio_syncfs', 'eio_sync_file_range' => 'Safe\\eio_sync_file_range', 'eio_truncate' => 'Safe\\eio_truncate', 'eio_unlink' => 'Safe\\eio_unlink', 'eio_utime' => 'Safe\\eio_utime', 'eio_write' => 'Safe\\eio_write', 'error_log' => 'Safe\\error_log', 'event_add' => 'Safe\\event_add', 'event_base_loopbreak' => 'Safe\\event_base_loopbreak', 'event_base_loopexit' => 'Safe\\event_base_loopexit', 'event_base_new' => 'Safe\\event_base_new', 'event_base_priority_init' => 'Safe\\event_base_priority_init', 'event_base_reinit' => 'Safe\\event_base_reinit', 'event_base_set' => 'Safe\\event_base_set', 'event_buffer_base_set' => 'Safe\\event_buffer_base_set', 'event_buffer_disable' => 'Safe\\event_buffer_disable', 'event_buffer_enable' => 'Safe\\event_buffer_enable', 'event_buffer_new' => 'Safe\\event_buffer_new', 'event_buffer_priority_set' => 'Safe\\event_buffer_priority_set', 'event_buffer_set_callback' => 'Safe\\event_buffer_set_callback', 'event_buffer_write' => 'Safe\\event_buffer_write', 'event_del' => 'Safe\\event_del', 'event_new' => 'Safe\\event_new', 'event_priority_set' => 'Safe\\event_priority_set', 'event_set' => 'Safe\\event_set', 'event_timer_set' => 'Safe\\event_timer_set', 'fastcgi_finish_request' => 'Safe\\fastcgi_finish_request', 'fbird_blob_cancel' => 'Safe\\fbird_blob_cancel', 'fclose' => 'Safe\\fclose', 'fflush' => 'Safe\\fflush', 'file' => 'Safe\\file', 'fileatime' => 'Safe\\fileatime', 'filectime' => 'Safe\\filectime', 'fileinode' => 'Safe\\fileinode', 'filemtime' => 'Safe\\filemtime', 'fileowner' => 'Safe\\fileowner', 'filesize' => 'Safe\\filesize', 'file_get_contents' => 'Safe\\file_get_contents', 'file_put_contents' => 'Safe\\file_put_contents', 'filter_input_array' => 'Safe\\filter_input_array', 'filter_var_array' => 'Safe\\filter_var_array', 'finfo_close' => 'Safe\\finfo_close', 'finfo_open' => 'Safe\\finfo_open', 'flock' => 'Safe\\flock', 'fopen' => 'Safe\\fopen', 'fputcsv' => 'Safe\\fputcsv', 'fread' => 'Safe\\fread', 'fsockopen' => 'Safe\\fsockopen', 'ftp_alloc' => 'Safe\\ftp_alloc', 'ftp_append' => 'Safe\\ftp_append', 'ftp_cdup' => 'Safe\\ftp_cdup', 'ftp_chdir' => 'Safe\\ftp_chdir', 'ftp_chmod' => 'Safe\\ftp_chmod', 'ftp_close' => 'Safe\\ftp_close', 'ftp_connect' => 'Safe\\ftp_connect', 'ftp_delete' => 'Safe\\ftp_delete', 'ftp_fget' => 'Safe\\ftp_fget', 'ftp_fput' => 'Safe\\ftp_fput', 'ftp_get' => 'Safe\\ftp_get', 'ftp_login' => 'Safe\\ftp_login', 'ftp_mkdir' => 'Safe\\ftp_mkdir', 'ftp_mlsd' => 'Safe\\ftp_mlsd', 'ftp_nlist' => 'Safe\\ftp_nlist', 'ftp_pasv' => 'Safe\\ftp_pasv', 'ftp_put' => 'Safe\\ftp_put', 'ftp_pwd' => 'Safe\\ftp_pwd', 'ftp_rename' => 'Safe\\ftp_rename', 'ftp_rmdir' => 'Safe\\ftp_rmdir', 'ftp_site' => 'Safe\\ftp_site', 'ftp_ssl_connect' => 'Safe\\ftp_ssl_connect', 'ftp_systype' => 'Safe\\ftp_systype', 'ftruncate' => 'Safe\\ftruncate', 'fwrite' => 'Safe\\fwrite', 'getallheaders' => 'Safe\\getallheaders', 'getcwd' => 'Safe\\getcwd', 'gethostname' => 'Safe\\gethostname', 'getimagesize' => 'Safe\\getimagesize', 'getlastmod' => 'Safe\\getlastmod', 'getmygid' => 'Safe\\getmygid', 'getmyinode' => 'Safe\\getmyinode', 'getmypid' => 'Safe\\getmypid', 'getmyuid' => 'Safe\\getmyuid', 'getopt' => 'Safe\\getopt', 'getprotobyname' => 'Safe\\getprotobyname', 'getprotobynumber' => 'Safe\\getprotobynumber', 'get_headers' => 'Safe\\get_headers', 'glob' => 'Safe\\glob', 'gmp_binomial' => 'Safe\\gmp_binomial', 'gmp_export' => 'Safe\\gmp_export', 'gmp_import' => 'Safe\\gmp_import', 'gmp_random_seed' => 'Safe\\gmp_random_seed', 'gnupg_adddecryptkey' => 'Safe\\gnupg_adddecryptkey', 'gnupg_addencryptkey' => 'Safe\\gnupg_addencryptkey', 'gnupg_addsignkey' => 'Safe\\gnupg_addsignkey', 'gnupg_cleardecryptkeys' => 'Safe\\gnupg_cleardecryptkeys', 'gnupg_clearencryptkeys' => 'Safe\\gnupg_clearencryptkeys', 'gnupg_clearsignkeys' => 'Safe\\gnupg_clearsignkeys', 'gnupg_setarmor' => 'Safe\\gnupg_setarmor', 'gnupg_setsignmode' => 'Safe\\gnupg_setsignmode', 'gzclose' => 'Safe\\gzclose', 'gzcompress' => 'Safe\\gzcompress', 'gzdecode' => 'Safe\\gzdecode', 'gzdeflate' => 'Safe\\gzdeflate', 'gzencode' => 'Safe\\gzencode', 'gzgets' => 'Safe\\gzgets', 'gzgetss' => 'Safe\\gzgetss', 'gzinflate' => 'Safe\\gzinflate', 'gzpassthru' => 'Safe\\gzpassthru', 'gzrewind' => 'Safe\\gzrewind', 'gzuncompress' => 'Safe\\gzuncompress', 'hash_hkdf' => 'Safe\\hash_hkdf', 'hash_update_file' => 'Safe\\hash_update_file', 'header_register_callback' => 'Safe\\header_register_callback', 'hex2bin' => 'Safe\\hex2bin', 'highlight_file' => 'Safe\\highlight_file', 'highlight_string' => 'Safe\\highlight_string', 'ibase_add_user' => 'Safe\\ibase_add_user', 'ibase_backup' => 'Safe\\ibase_backup', 'ibase_blob_cancel' => 'Safe\\ibase_blob_cancel', 'ibase_blob_create' => 'Safe\\ibase_blob_create', 'ibase_blob_get' => 'Safe\\ibase_blob_get', 'ibase_close' => 'Safe\\ibase_close', 'ibase_commit' => 'Safe\\ibase_commit', 'ibase_commit_ret' => 'Safe\\ibase_commit_ret', 'ibase_connect' => 'Safe\\ibase_connect', 'ibase_delete_user' => 'Safe\\ibase_delete_user', 'ibase_drop_db' => 'Safe\\ibase_drop_db', 'ibase_free_event_handler' => 'Safe\\ibase_free_event_handler', 'ibase_free_query' => 'Safe\\ibase_free_query', 'ibase_free_result' => 'Safe\\ibase_free_result', 'ibase_maintain_db' => 'Safe\\ibase_maintain_db', 'ibase_modify_user' => 'Safe\\ibase_modify_user', 'ibase_name_result' => 'Safe\\ibase_name_result', 'ibase_pconnect' => 'Safe\\ibase_pconnect', 'ibase_restore' => 'Safe\\ibase_restore', 'ibase_rollback' => 'Safe\\ibase_rollback', 'ibase_rollback_ret' => 'Safe\\ibase_rollback_ret', 'ibase_service_attach' => 'Safe\\ibase_service_attach', 'ibase_service_detach' => 'Safe\\ibase_service_detach', 'iconv' => 'Safe\\iconv', 'iconv_get_encoding' => 'Safe\\iconv_get_encoding', 'iconv_set_encoding' => 'Safe\\iconv_set_encoding', 'image2wbmp' => 'Safe\\image2wbmp', 'imageaffine' => 'Safe\\imageaffine', 'imageaffinematrixconcat' => 'Safe\\imageaffinematrixconcat', 'imageaffinematrixget' => 'Safe\\imageaffinematrixget', 'imagealphablending' => 'Safe\\imagealphablending', 'imageantialias' => 'Safe\\imageantialias', 'imagearc' => 'Safe\\imagearc', 'imagebmp' => 'Safe\\imagebmp', 'imagechar' => 'Safe\\imagechar', 'imagecharup' => 'Safe\\imagecharup', 'imagecolorat' => 'Safe\\imagecolorat', 'imagecolordeallocate' => 'Safe\\imagecolordeallocate', 'imagecolormatch' => 'Safe\\imagecolormatch', 'imageconvolution' => 'Safe\\imageconvolution', 'imagecopy' => 'Safe\\imagecopy', 'imagecopymerge' => 'Safe\\imagecopymerge', 'imagecopymergegray' => 'Safe\\imagecopymergegray', 'imagecopyresampled' => 'Safe\\imagecopyresampled', 'imagecopyresized' => 'Safe\\imagecopyresized', 'imagecreate' => 'Safe\\imagecreate', 'imagecreatefrombmp' => 'Safe\\imagecreatefrombmp', 'imagecreatefromgd' => 'Safe\\imagecreatefromgd', 'imagecreatefromgd2' => 'Safe\\imagecreatefromgd2', 'imagecreatefromgd2part' => 'Safe\\imagecreatefromgd2part', 'imagecreatefromgif' => 'Safe\\imagecreatefromgif', 'imagecreatefromjpeg' => 'Safe\\imagecreatefromjpeg', 'imagecreatefrompng' => 'Safe\\imagecreatefrompng', 'imagecreatefromwbmp' => 'Safe\\imagecreatefromwbmp', 'imagecreatefromwebp' => 'Safe\\imagecreatefromwebp', 'imagecreatefromxbm' => 'Safe\\imagecreatefromxbm', 'imagecreatefromxpm' => 'Safe\\imagecreatefromxpm', 'imagecreatetruecolor' => 'Safe\\imagecreatetruecolor', 'imagecrop' => 'Safe\\imagecrop', 'imagecropauto' => 'Safe\\imagecropauto', 'imagedashedline' => 'Safe\\imagedashedline', 'imagedestroy' => 'Safe\\imagedestroy', 'imageellipse' => 'Safe\\imageellipse', 'imagefill' => 'Safe\\imagefill', 'imagefilledarc' => 'Safe\\imagefilledarc', 'imagefilledellipse' => 'Safe\\imagefilledellipse', 'imagefilledpolygon' => 'Safe\\imagefilledpolygon', 'imagefilledrectangle' => 'Safe\\imagefilledrectangle', 'imagefilltoborder' => 'Safe\\imagefilltoborder', 'imagefilter' => 'Safe\\imagefilter', 'imageflip' => 'Safe\\imageflip', 'imagegammacorrect' => 'Safe\\imagegammacorrect', 'imagegd' => 'Safe\\imagegd', 'imagegd2' => 'Safe\\imagegd2', 'imagegif' => 'Safe\\imagegif', 'imagegrabscreen' => 'Safe\\imagegrabscreen', 'imagegrabwindow' => 'Safe\\imagegrabwindow', 'imagejpeg' => 'Safe\\imagejpeg', 'imagelayereffect' => 'Safe\\imagelayereffect', 'imageline' => 'Safe\\imageline', 'imageloadfont' => 'Safe\\imageloadfont', 'imageopenpolygon' => 'Safe\\imageopenpolygon', 'imagepng' => 'Safe\\imagepng', 'imagepolygon' => 'Safe\\imagepolygon', 'imagepsencodefont' => 'Safe\\imagepsencodefont', 'imagepsextendfont' => 'Safe\\imagepsextendfont', 'imagepsfreefont' => 'Safe\\imagepsfreefont', 'imagepsslantfont' => 'Safe\\imagepsslantfont', 'imagerectangle' => 'Safe\\imagerectangle', 'imagerotate' => 'Safe\\imagerotate', 'imagesavealpha' => 'Safe\\imagesavealpha', 'imagescale' => 'Safe\\imagescale', 'imagesetbrush' => 'Safe\\imagesetbrush', 'imagesetclip' => 'Safe\\imagesetclip', 'imagesetinterpolation' => 'Safe\\imagesetinterpolation', 'imagesetpixel' => 'Safe\\imagesetpixel', 'imagesetstyle' => 'Safe\\imagesetstyle', 'imagesetthickness' => 'Safe\\imagesetthickness', 'imagesettile' => 'Safe\\imagesettile', 'imagestring' => 'Safe\\imagestring', 'imagestringup' => 'Safe\\imagestringup', 'imagesx' => 'Safe\\imagesx', 'imagesy' => 'Safe\\imagesy', 'imagetruecolortopalette' => 'Safe\\imagetruecolortopalette', 'imagettfbbox' => 'Safe\\imagettfbbox', 'imagettftext' => 'Safe\\imagettftext', 'imagewbmp' => 'Safe\\imagewbmp', 'imagewebp' => 'Safe\\imagewebp', 'imagexbm' => 'Safe\\imagexbm', 'imap_append' => 'Safe\\imap_append', 'imap_check' => 'Safe\\imap_check', 'imap_clearflag_full' => 'Safe\\imap_clearflag_full', 'imap_close' => 'Safe\\imap_close', 'imap_createmailbox' => 'Safe\\imap_createmailbox', 'imap_deletemailbox' => 'Safe\\imap_deletemailbox', 'imap_gc' => 'Safe\\imap_gc', 'imap_headerinfo' => 'Safe\\imap_headerinfo', 'imap_mail' => 'Safe\\imap_mail', 'imap_mailboxmsginfo' => 'Safe\\imap_mailboxmsginfo', 'imap_mail_copy' => 'Safe\\imap_mail_copy', 'imap_mail_move' => 'Safe\\imap_mail_move', 'imap_mutf7_to_utf8' => 'Safe\\imap_mutf7_to_utf8', 'imap_num_msg' => 'Safe\\imap_num_msg', 'imap_open' => 'Safe\\imap_open', 'imap_renamemailbox' => 'Safe\\imap_renamemailbox', 'imap_savebody' => 'Safe\\imap_savebody', 'imap_setacl' => 'Safe\\imap_setacl', 'imap_setflag_full' => 'Safe\\imap_setflag_full', 'imap_set_quota' => 'Safe\\imap_set_quota', 'imap_subscribe' => 'Safe\\imap_subscribe', 'imap_thread' => 'Safe\\imap_thread', 'imap_timeout' => 'Safe\\imap_timeout', 'imap_undelete' => 'Safe\\imap_undelete', 'imap_unsubscribe' => 'Safe\\imap_unsubscribe', 'imap_utf8_to_mutf7' => 'Safe\\imap_utf8_to_mutf7', 'inet_ntop' => 'Safe\\inet_ntop', 'inflate_add' => 'Safe\\inflate_add', 'inflate_get_read_len' => 'Safe\\inflate_get_read_len', 'inflate_get_status' => 'Safe\\inflate_get_status', 'inflate_init' => 'Safe\\inflate_init', 'ingres_autocommit' => 'Safe\\ingres_autocommit', 'ingres_close' => 'Safe\\ingres_close', 'ingres_commit' => 'Safe\\ingres_commit', 'ingres_connect' => 'Safe\\ingres_connect', 'ingres_execute' => 'Safe\\ingres_execute', 'ingres_field_name' => 'Safe\\ingres_field_name', 'ingres_field_type' => 'Safe\\ingres_field_type', 'ingres_free_result' => 'Safe\\ingres_free_result', 'ingres_pconnect' => 'Safe\\ingres_pconnect', 'ingres_result_seek' => 'Safe\\ingres_result_seek', 'ingres_rollback' => 'Safe\\ingres_rollback', 'ingres_set_environment' => 'Safe\\ingres_set_environment', 'ini_get' => 'Safe\\ini_get', 'ini_set' => 'Safe\\ini_set', 'inotify_init' => 'Safe\\inotify_init', 'inotify_rm_watch' => 'Safe\\inotify_rm_watch', 'iptcembed' => 'Safe\\iptcembed', 'iptcparse' => 'Safe\\iptcparse', 'jpeg2wbmp' => 'Safe\\jpeg2wbmp', 'json_decode' => 'Safe\\json_decode', 'json_encode' => 'Safe\\json_encode', 'json_last_error_msg' => 'Safe\\json_last_error_msg', 'krsort' => 'Safe\\krsort', 'ksort' => 'Safe\\ksort', 'lchgrp' => 'Safe\\lchgrp', 'lchown' => 'Safe\\lchown', 'ldap_add' => 'Safe\\ldap_add', 'ldap_add_ext' => 'Safe\\ldap_add_ext', 'ldap_bind' => 'Safe\\ldap_bind', 'ldap_bind_ext' => 'Safe\\ldap_bind_ext', 'ldap_control_paged_result' => 'Safe\\ldap_control_paged_result', 'ldap_control_paged_result_response' => 'Safe\\ldap_control_paged_result_response', 'ldap_count_entries' => 'Safe\\ldap_count_entries', 'ldap_delete' => 'Safe\\ldap_delete', 'ldap_delete_ext' => 'Safe\\ldap_delete_ext', 'ldap_exop' => 'Safe\\ldap_exop', 'ldap_exop_passwd' => 'Safe\\ldap_exop_passwd', 'ldap_exop_whoami' => 'Safe\\ldap_exop_whoami', 'ldap_explode_dn' => 'Safe\\ldap_explode_dn', 'ldap_first_attribute' => 'Safe\\ldap_first_attribute', 'ldap_first_entry' => 'Safe\\ldap_first_entry', 'ldap_free_result' => 'Safe\\ldap_free_result', 'ldap_get_attributes' => 'Safe\\ldap_get_attributes', 'ldap_get_dn' => 'Safe\\ldap_get_dn', 'ldap_get_entries' => 'Safe\\ldap_get_entries', 'ldap_get_option' => 'Safe\\ldap_get_option', 'ldap_get_values' => 'Safe\\ldap_get_values', 'ldap_get_values_len' => 'Safe\\ldap_get_values_len', 'ldap_list' => 'Safe\\ldap_list', 'ldap_modify_batch' => 'Safe\\ldap_modify_batch', 'ldap_mod_add' => 'Safe\\ldap_mod_add', 'ldap_mod_add_ext' => 'Safe\\ldap_mod_add_ext', 'ldap_mod_del' => 'Safe\\ldap_mod_del', 'ldap_mod_del_ext' => 'Safe\\ldap_mod_del_ext', 'ldap_mod_replace' => 'Safe\\ldap_mod_replace', 'ldap_mod_replace_ext' => 'Safe\\ldap_mod_replace_ext', 'ldap_next_attribute' => 'Safe\\ldap_next_attribute', 'ldap_parse_exop' => 'Safe\\ldap_parse_exop', 'ldap_parse_result' => 'Safe\\ldap_parse_result', 'ldap_read' => 'Safe\\ldap_read', 'ldap_rename' => 'Safe\\ldap_rename', 'ldap_rename_ext' => 'Safe\\ldap_rename_ext', 'ldap_sasl_bind' => 'Safe\\ldap_sasl_bind', 'ldap_search' => 'Safe\\ldap_search', 'ldap_set_option' => 'Safe\\ldap_set_option', 'ldap_unbind' => 'Safe\\ldap_unbind', 'libxml_get_last_error' => 'Safe\\libxml_get_last_error', 'libxml_set_external_entity_loader' => 'Safe\\libxml_set_external_entity_loader', 'link' => 'Safe\\link', 'lzf_compress' => 'Safe\\lzf_compress', 'lzf_decompress' => 'Safe\\lzf_decompress', 'mailparse_msg_extract_part_file' => 'Safe\\mailparse_msg_extract_part_file', 'mailparse_msg_free' => 'Safe\\mailparse_msg_free', 'mailparse_msg_parse' => 'Safe\\mailparse_msg_parse', 'mailparse_msg_parse_file' => 'Safe\\mailparse_msg_parse_file', 'mailparse_stream_encode' => 'Safe\\mailparse_stream_encode', 'mb_chr' => 'Safe\\mb_chr', 'mb_detect_order' => 'Safe\\mb_detect_order', 'mb_encoding_aliases' => 'Safe\\mb_encoding_aliases', 'mb_eregi_replace' => 'Safe\\mb_eregi_replace', 'mb_ereg_replace' => 'Safe\\mb_ereg_replace', 'mb_ereg_replace_callback' => 'Safe\\mb_ereg_replace_callback', 'mb_ereg_search_getregs' => 'Safe\\mb_ereg_search_getregs', 'mb_ereg_search_init' => 'Safe\\mb_ereg_search_init', 'mb_ereg_search_regs' => 'Safe\\mb_ereg_search_regs', 'mb_ereg_search_setpos' => 'Safe\\mb_ereg_search_setpos', 'mb_http_output' => 'Safe\\mb_http_output', 'mb_internal_encoding' => 'Safe\\mb_internal_encoding', 'mb_ord' => 'Safe\\mb_ord', 'mb_parse_str' => 'Safe\\mb_parse_str', 'mb_regex_encoding' => 'Safe\\mb_regex_encoding', 'mb_send_mail' => 'Safe\\mb_send_mail', 'mb_split' => 'Safe\\mb_split', 'md5_file' => 'Safe\\md5_file', 'metaphone' => 'Safe\\metaphone', 'mime_content_type' => 'Safe\\mime_content_type', 'mkdir' => 'Safe\\mkdir', 'mktime' => 'Safe\\mktime', 'msg_queue_exists' => 'Safe\\msg_queue_exists', 'msg_receive' => 'Safe\\msg_receive', 'msg_remove_queue' => 'Safe\\msg_remove_queue', 'msg_send' => 'Safe\\msg_send', 'msg_set_queue' => 'Safe\\msg_set_queue', 'msql_affected_rows' => 'Safe\\msql_affected_rows', 'msql_close' => 'Safe\\msql_close', 'msql_connect' => 'Safe\\msql_connect', 'msql_create_db' => 'Safe\\msql_create_db', 'msql_data_seek' => 'Safe\\msql_data_seek', 'msql_db_query' => 'Safe\\msql_db_query', 'msql_drop_db' => 'Safe\\msql_drop_db', 'msql_field_len' => 'Safe\\msql_field_len', 'msql_field_name' => 'Safe\\msql_field_name', 'msql_field_seek' => 'Safe\\msql_field_seek', 'msql_field_table' => 'Safe\\msql_field_table', 'msql_field_type' => 'Safe\\msql_field_type', 'msql_free_result' => 'Safe\\msql_free_result', 'msql_pconnect' => 'Safe\\msql_pconnect', 'msql_query' => 'Safe\\msql_query', 'msql_select_db' => 'Safe\\msql_select_db', 'mssql_bind' => 'Safe\\mssql_bind', 'mssql_close' => 'Safe\\mssql_close', 'mssql_connect' => 'Safe\\mssql_connect', 'mssql_data_seek' => 'Safe\\mssql_data_seek', 'mssql_field_length' => 'Safe\\mssql_field_length', 'mssql_field_name' => 'Safe\\mssql_field_name', 'mssql_field_seek' => 'Safe\\mssql_field_seek', 'mssql_field_type' => 'Safe\\mssql_field_type', 'mssql_free_result' => 'Safe\\mssql_free_result', 'mssql_free_statement' => 'Safe\\mssql_free_statement', 'mssql_init' => 'Safe\\mssql_init', 'mssql_pconnect' => 'Safe\\mssql_pconnect', 'mssql_query' => 'Safe\\mssql_query', 'mssql_select_db' => 'Safe\\mssql_select_db', 'mysqli_get_cache_stats' => 'Safe\\mysqli_get_cache_stats', 'mysqli_get_client_stats' => 'Safe\\mysqli_get_client_stats', 'mysqlnd_ms_dump_servers' => 'Safe\\mysqlnd_ms_dump_servers', 'mysqlnd_ms_fabric_select_global' => 'Safe\\mysqlnd_ms_fabric_select_global', 'mysqlnd_ms_fabric_select_shard' => 'Safe\\mysqlnd_ms_fabric_select_shard', 'mysqlnd_ms_get_last_used_connection' => 'Safe\\mysqlnd_ms_get_last_used_connection', 'mysqlnd_qc_clear_cache' => 'Safe\\mysqlnd_qc_clear_cache', 'mysqlnd_qc_set_is_select' => 'Safe\\mysqlnd_qc_set_is_select', 'mysqlnd_qc_set_storage_handler' => 'Safe\\mysqlnd_qc_set_storage_handler', 'mysql_close' => 'Safe\\mysql_close', 'mysql_connect' => 'Safe\\mysql_connect', 'mysql_create_db' => 'Safe\\mysql_create_db', 'mysql_data_seek' => 'Safe\\mysql_data_seek', 'mysql_db_name' => 'Safe\\mysql_db_name', 'mysql_db_query' => 'Safe\\mysql_db_query', 'mysql_drop_db' => 'Safe\\mysql_drop_db', 'mysql_fetch_lengths' => 'Safe\\mysql_fetch_lengths', 'mysql_field_flags' => 'Safe\\mysql_field_flags', 'mysql_field_len' => 'Safe\\mysql_field_len', 'mysql_field_name' => 'Safe\\mysql_field_name', 'mysql_field_seek' => 'Safe\\mysql_field_seek', 'mysql_free_result' => 'Safe\\mysql_free_result', 'mysql_get_host_info' => 'Safe\\mysql_get_host_info', 'mysql_get_proto_info' => 'Safe\\mysql_get_proto_info', 'mysql_get_server_info' => 'Safe\\mysql_get_server_info', 'mysql_info' => 'Safe\\mysql_info', 'mysql_list_dbs' => 'Safe\\mysql_list_dbs', 'mysql_list_fields' => 'Safe\\mysql_list_fields', 'mysql_list_processes' => 'Safe\\mysql_list_processes', 'mysql_list_tables' => 'Safe\\mysql_list_tables', 'mysql_num_fields' => 'Safe\\mysql_num_fields', 'mysql_num_rows' => 'Safe\\mysql_num_rows', 'mysql_query' => 'Safe\\mysql_query', 'mysql_real_escape_string' => 'Safe\\mysql_real_escape_string', 'mysql_result' => 'Safe\\mysql_result', 'mysql_select_db' => 'Safe\\mysql_select_db', 'mysql_set_charset' => 'Safe\\mysql_set_charset', 'mysql_tablename' => 'Safe\\mysql_tablename', 'mysql_thread_id' => 'Safe\\mysql_thread_id', 'mysql_unbuffered_query' => 'Safe\\mysql_unbuffered_query', 'natcasesort' => 'Safe\\natcasesort', 'natsort' => 'Safe\\natsort', 'ob_end_clean' => 'Safe\\ob_end_clean', 'ob_end_flush' => 'Safe\\ob_end_flush', 'oci_bind_array_by_name' => 'Safe\\oci_bind_array_by_name', 'oci_bind_by_name' => 'Safe\\oci_bind_by_name', 'oci_cancel' => 'Safe\\oci_cancel', 'oci_close' => 'Safe\\oci_close', 'oci_commit' => 'Safe\\oci_commit', 'oci_connect' => 'Safe\\oci_connect', 'oci_define_by_name' => 'Safe\\oci_define_by_name', 'oci_execute' => 'Safe\\oci_execute', 'oci_fetch_all' => 'Safe\\oci_fetch_all', 'oci_field_name' => 'Safe\\oci_field_name', 'oci_field_precision' => 'Safe\\oci_field_precision', 'oci_field_scale' => 'Safe\\oci_field_scale', 'oci_field_size' => 'Safe\\oci_field_size', 'oci_field_type' => 'Safe\\oci_field_type', 'oci_field_type_raw' => 'Safe\\oci_field_type_raw', 'oci_free_descriptor' => 'Safe\\oci_free_descriptor', 'oci_free_statement' => 'Safe\\oci_free_statement', 'oci_new_collection' => 'Safe\\oci_new_collection', 'oci_new_connect' => 'Safe\\oci_new_connect', 'oci_new_cursor' => 'Safe\\oci_new_cursor', 'oci_new_descriptor' => 'Safe\\oci_new_descriptor', 'oci_num_fields' => 'Safe\\oci_num_fields', 'oci_num_rows' => 'Safe\\oci_num_rows', 'oci_parse' => 'Safe\\oci_parse', 'oci_pconnect' => 'Safe\\oci_pconnect', 'oci_result' => 'Safe\\oci_result', 'oci_rollback' => 'Safe\\oci_rollback', 'oci_server_version' => 'Safe\\oci_server_version', 'oci_set_action' => 'Safe\\oci_set_action', 'oci_set_call_timeout' => 'Safe\\oci_set_call_timeout', 'oci_set_client_identifier' => 'Safe\\oci_set_client_identifier', 'oci_set_client_info' => 'Safe\\oci_set_client_info', 'oci_set_db_operation' => 'Safe\\oci_set_db_operation', 'oci_set_edition' => 'Safe\\oci_set_edition', 'oci_set_module_name' => 'Safe\\oci_set_module_name', 'oci_set_prefetch' => 'Safe\\oci_set_prefetch', 'oci_statement_type' => 'Safe\\oci_statement_type', 'oci_unregister_taf_callback' => 'Safe\\oci_unregister_taf_callback', 'odbc_autocommit' => 'Safe\\odbc_autocommit', 'odbc_binmode' => 'Safe\\odbc_binmode', 'odbc_columnprivileges' => 'Safe\\odbc_columnprivileges', 'odbc_columns' => 'Safe\\odbc_columns', 'odbc_commit' => 'Safe\\odbc_commit', 'odbc_data_source' => 'Safe\\odbc_data_source', 'odbc_exec' => 'Safe\\odbc_exec', 'odbc_execute' => 'Safe\\odbc_execute', 'odbc_fetch_into' => 'Safe\\odbc_fetch_into', 'odbc_field_len' => 'Safe\\odbc_field_len', 'odbc_field_name' => 'Safe\\odbc_field_name', 'odbc_field_num' => 'Safe\\odbc_field_num', 'odbc_field_scale' => 'Safe\\odbc_field_scale', 'odbc_field_type' => 'Safe\\odbc_field_type', 'odbc_foreignkeys' => 'Safe\\odbc_foreignkeys', 'odbc_gettypeinfo' => 'Safe\\odbc_gettypeinfo', 'odbc_longreadlen' => 'Safe\\odbc_longreadlen', 'odbc_prepare' => 'Safe\\odbc_prepare', 'odbc_primarykeys' => 'Safe\\odbc_primarykeys', 'odbc_result' => 'Safe\\odbc_result', 'odbc_result_all' => 'Safe\\odbc_result_all', 'odbc_rollback' => 'Safe\\odbc_rollback', 'odbc_setoption' => 'Safe\\odbc_setoption', 'odbc_specialcolumns' => 'Safe\\odbc_specialcolumns', 'odbc_statistics' => 'Safe\\odbc_statistics', 'odbc_tableprivileges' => 'Safe\\odbc_tableprivileges', 'odbc_tables' => 'Safe\\odbc_tables', 'opcache_compile_file' => 'Safe\\opcache_compile_file', 'opcache_get_status' => 'Safe\\opcache_get_status', 'opendir' => 'Safe\\opendir', 'openlog' => 'Safe\\openlog', 'openssl_cipher_iv_length' => 'Safe\\openssl_cipher_iv_length', 'openssl_csr_export' => 'Safe\\openssl_csr_export', 'openssl_csr_export_to_file' => 'Safe\\openssl_csr_export_to_file', 'openssl_csr_get_subject' => 'Safe\\openssl_csr_get_subject', 'openssl_csr_new' => 'Safe\\openssl_csr_new', 'openssl_csr_sign' => 'Safe\\openssl_csr_sign', 'openssl_decrypt' => 'Safe\\openssl_decrypt', 'openssl_dh_compute_key' => 'Safe\\openssl_dh_compute_key', 'openssl_digest' => 'Safe\\openssl_digest', 'openssl_encrypt' => 'Safe\\openssl_encrypt', 'openssl_open' => 'Safe\\openssl_open', 'openssl_pbkdf2' => 'Safe\\openssl_pbkdf2', 'openssl_pkcs7_decrypt' => 'Safe\\openssl_pkcs7_decrypt', 'openssl_pkcs7_encrypt' => 'Safe\\openssl_pkcs7_encrypt', 'openssl_pkcs7_read' => 'Safe\\openssl_pkcs7_read', 'openssl_pkcs7_sign' => 'Safe\\openssl_pkcs7_sign', 'openssl_pkcs12_export' => 'Safe\\openssl_pkcs12_export', 'openssl_pkcs12_export_to_file' => 'Safe\\openssl_pkcs12_export_to_file', 'openssl_pkcs12_read' => 'Safe\\openssl_pkcs12_read', 'openssl_pkey_export' => 'Safe\\openssl_pkey_export', 'openssl_pkey_export_to_file' => 'Safe\\openssl_pkey_export_to_file', 'openssl_pkey_get_private' => 'Safe\\openssl_pkey_get_private', 'openssl_pkey_get_public' => 'Safe\\openssl_pkey_get_public', 'openssl_pkey_new' => 'Safe\\openssl_pkey_new', 'openssl_private_decrypt' => 'Safe\\openssl_private_decrypt', 'openssl_private_encrypt' => 'Safe\\openssl_private_encrypt', 'openssl_public_decrypt' => 'Safe\\openssl_public_decrypt', 'openssl_public_encrypt' => 'Safe\\openssl_public_encrypt', 'openssl_random_pseudo_bytes' => 'Safe\\openssl_random_pseudo_bytes', 'openssl_seal' => 'Safe\\openssl_seal', 'openssl_sign' => 'Safe\\openssl_sign', 'openssl_x509_export' => 'Safe\\openssl_x509_export', 'openssl_x509_export_to_file' => 'Safe\\openssl_x509_export_to_file', 'openssl_x509_fingerprint' => 'Safe\\openssl_x509_fingerprint', 'openssl_x509_read' => 'Safe\\openssl_x509_read', 'output_add_rewrite_var' => 'Safe\\output_add_rewrite_var', 'output_reset_rewrite_vars' => 'Safe\\output_reset_rewrite_vars', 'parse_ini_file' => 'Safe\\parse_ini_file', 'parse_ini_string' => 'Safe\\parse_ini_string', 'parse_url' => 'Safe\\parse_url', 'password_hash' => 'Safe\\password_hash', 'pcntl_exec' => 'Safe\\pcntl_exec', 'pcntl_getpriority' => 'Safe\\pcntl_getpriority', 'pcntl_setpriority' => 'Safe\\pcntl_setpriority', 'pcntl_signal_dispatch' => 'Safe\\pcntl_signal_dispatch', 'pcntl_sigprocmask' => 'Safe\\pcntl_sigprocmask', 'pcntl_strerror' => 'Safe\\pcntl_strerror', 'PDF_activate_item' => 'Safe\\PDF_activate_item', 'PDF_add_locallink' => 'Safe\\PDF_add_locallink', 'PDF_add_nameddest' => 'Safe\\PDF_add_nameddest', 'PDF_add_note' => 'Safe\\PDF_add_note', 'PDF_add_pdflink' => 'Safe\\PDF_add_pdflink', 'PDF_add_thumbnail' => 'Safe\\PDF_add_thumbnail', 'PDF_add_weblink' => 'Safe\\PDF_add_weblink', 'PDF_attach_file' => 'Safe\\PDF_attach_file', 'PDF_begin_layer' => 'Safe\\PDF_begin_layer', 'PDF_begin_page' => 'Safe\\PDF_begin_page', 'PDF_begin_page_ext' => 'Safe\\PDF_begin_page_ext', 'PDF_circle' => 'Safe\\PDF_circle', 'PDF_clip' => 'Safe\\PDF_clip', 'PDF_close' => 'Safe\\PDF_close', 'PDF_closepath' => 'Safe\\PDF_closepath', 'PDF_closepath_fill_stroke' => 'Safe\\PDF_closepath_fill_stroke', 'PDF_closepath_stroke' => 'Safe\\PDF_closepath_stroke', 'PDF_close_pdi' => 'Safe\\PDF_close_pdi', 'PDF_close_pdi_page' => 'Safe\\PDF_close_pdi_page', 'PDF_concat' => 'Safe\\PDF_concat', 'PDF_continue_text' => 'Safe\\PDF_continue_text', 'PDF_curveto' => 'Safe\\PDF_curveto', 'PDF_delete' => 'Safe\\PDF_delete', 'PDF_end_layer' => 'Safe\\PDF_end_layer', 'PDF_end_page' => 'Safe\\PDF_end_page', 'PDF_end_page_ext' => 'Safe\\PDF_end_page_ext', 'PDF_end_pattern' => 'Safe\\PDF_end_pattern', 'PDF_end_template' => 'Safe\\PDF_end_template', 'PDF_fill' => 'Safe\\PDF_fill', 'PDF_fill_stroke' => 'Safe\\PDF_fill_stroke', 'PDF_fit_image' => 'Safe\\PDF_fit_image', 'PDF_fit_pdi_page' => 'Safe\\PDF_fit_pdi_page', 'PDF_fit_textline' => 'Safe\\PDF_fit_textline', 'PDF_initgraphics' => 'Safe\\PDF_initgraphics', 'PDF_lineto' => 'Safe\\PDF_lineto', 'PDF_makespotcolor' => 'Safe\\PDF_makespotcolor', 'PDF_moveto' => 'Safe\\PDF_moveto', 'PDF_open_file' => 'Safe\\PDF_open_file', 'PDF_place_image' => 'Safe\\PDF_place_image', 'PDF_place_pdi_page' => 'Safe\\PDF_place_pdi_page', 'PDF_rect' => 'Safe\\PDF_rect', 'PDF_restore' => 'Safe\\PDF_restore', 'PDF_rotate' => 'Safe\\PDF_rotate', 'PDF_save' => 'Safe\\PDF_save', 'PDF_scale' => 'Safe\\PDF_scale', 'PDF_setcolor' => 'Safe\\PDF_setcolor', 'PDF_setdash' => 'Safe\\PDF_setdash', 'PDF_setdashpattern' => 'Safe\\PDF_setdashpattern', 'PDF_setflat' => 'Safe\\PDF_setflat', 'PDF_setfont' => 'Safe\\PDF_setfont', 'PDF_setgray' => 'Safe\\PDF_setgray', 'PDF_setgray_fill' => 'Safe\\PDF_setgray_fill', 'PDF_setgray_stroke' => 'Safe\\PDF_setgray_stroke', 'PDF_setlinejoin' => 'Safe\\PDF_setlinejoin', 'PDF_setlinewidth' => 'Safe\\PDF_setlinewidth', 'PDF_setmatrix' => 'Safe\\PDF_setmatrix', 'PDF_setmiterlimit' => 'Safe\\PDF_setmiterlimit', 'PDF_setrgbcolor' => 'Safe\\PDF_setrgbcolor', 'PDF_setrgbcolor_fill' => 'Safe\\PDF_setrgbcolor_fill', 'PDF_setrgbcolor_stroke' => 'Safe\\PDF_setrgbcolor_stroke', 'PDF_set_border_color' => 'Safe\\PDF_set_border_color', 'PDF_set_border_dash' => 'Safe\\PDF_set_border_dash', 'PDF_set_border_style' => 'Safe\\PDF_set_border_style', 'PDF_set_info' => 'Safe\\PDF_set_info', 'PDF_set_layer_dependency' => 'Safe\\PDF_set_layer_dependency', 'PDF_set_parameter' => 'Safe\\PDF_set_parameter', 'PDF_set_text_pos' => 'Safe\\PDF_set_text_pos', 'PDF_set_value' => 'Safe\\PDF_set_value', 'PDF_show' => 'Safe\\PDF_show', 'PDF_show_xy' => 'Safe\\PDF_show_xy', 'PDF_skew' => 'Safe\\PDF_skew', 'PDF_stroke' => 'Safe\\PDF_stroke', 'pg_cancel_query' => 'Safe\\pg_cancel_query', 'pg_client_encoding' => 'Safe\\pg_client_encoding', 'pg_close' => 'Safe\\pg_close', 'pg_connect' => 'Safe\\pg_connect', 'pg_connection_reset' => 'Safe\\pg_connection_reset', 'pg_convert' => 'Safe\\pg_convert', 'pg_copy_from' => 'Safe\\pg_copy_from', 'pg_copy_to' => 'Safe\\pg_copy_to', 'pg_dbname' => 'Safe\\pg_dbname', 'pg_delete' => 'Safe\\pg_delete', 'pg_end_copy' => 'Safe\\pg_end_copy', 'pg_execute' => 'Safe\\pg_execute', 'pg_field_name' => 'Safe\\pg_field_name', 'pg_field_table' => 'Safe\\pg_field_table', 'pg_field_type' => 'Safe\\pg_field_type', 'pg_flush' => 'Safe\\pg_flush', 'pg_free_result' => 'Safe\\pg_free_result', 'pg_host' => 'Safe\\pg_host', 'pg_insert' => 'Safe\\pg_insert', 'pg_last_error' => 'Safe\\pg_last_error', 'pg_last_notice' => 'Safe\\pg_last_notice', 'pg_last_oid' => 'Safe\\pg_last_oid', 'pg_lo_close' => 'Safe\\pg_lo_close', 'pg_lo_export' => 'Safe\\pg_lo_export', 'pg_lo_import' => 'Safe\\pg_lo_import', 'pg_lo_open' => 'Safe\\pg_lo_open', 'pg_lo_read' => 'Safe\\pg_lo_read', 'pg_lo_read_all' => 'Safe\\pg_lo_read_all', 'pg_lo_seek' => 'Safe\\pg_lo_seek', 'pg_lo_truncate' => 'Safe\\pg_lo_truncate', 'pg_lo_unlink' => 'Safe\\pg_lo_unlink', 'pg_lo_write' => 'Safe\\pg_lo_write', 'pg_meta_data' => 'Safe\\pg_meta_data', 'pg_options' => 'Safe\\pg_options', 'pg_parameter_status' => 'Safe\\pg_parameter_status', 'pg_pconnect' => 'Safe\\pg_pconnect', 'pg_ping' => 'Safe\\pg_ping', 'pg_port' => 'Safe\\pg_port', 'pg_prepare' => 'Safe\\pg_prepare', 'pg_put_line' => 'Safe\\pg_put_line', 'pg_query' => 'Safe\\pg_query', 'pg_query_params' => 'Safe\\pg_query_params', 'pg_result_error_field' => 'Safe\\pg_result_error_field', 'pg_result_seek' => 'Safe\\pg_result_seek', 'pg_select' => 'Safe\\pg_select', 'pg_send_execute' => 'Safe\\pg_send_execute', 'pg_send_prepare' => 'Safe\\pg_send_prepare', 'pg_send_query' => 'Safe\\pg_send_query', 'pg_send_query_params' => 'Safe\\pg_send_query_params', 'pg_socket' => 'Safe\\pg_socket', 'pg_trace' => 'Safe\\pg_trace', 'pg_tty' => 'Safe\\pg_tty', 'pg_update' => 'Safe\\pg_update', 'pg_version' => 'Safe\\pg_version', 'phpcredits' => 'Safe\\phpcredits', 'phpinfo' => 'Safe\\phpinfo', 'png2wbmp' => 'Safe\\png2wbmp', 'posix_access' => 'Safe\\posix_access', 'posix_getgrnam' => 'Safe\\posix_getgrnam', 'posix_getpgid' => 'Safe\\posix_getpgid', 'posix_initgroups' => 'Safe\\posix_initgroups', 'posix_kill' => 'Safe\\posix_kill', 'posix_mkfifo' => 'Safe\\posix_mkfifo', 'posix_mknod' => 'Safe\\posix_mknod', 'posix_setegid' => 'Safe\\posix_setegid', 'posix_seteuid' => 'Safe\\posix_seteuid', 'posix_setgid' => 'Safe\\posix_setgid', 'posix_setpgid' => 'Safe\\posix_setpgid', 'posix_setrlimit' => 'Safe\\posix_setrlimit', 'posix_setuid' => 'Safe\\posix_setuid', 'preg_match' => 'Safe\\preg_match', 'preg_match_all' => 'Safe\\preg_match_all', 'preg_replace' => 'Safe\\preg_replace', 'preg_split' => 'Safe\\preg_split', 'proc_get_status' => 'Safe\\proc_get_status', 'proc_nice' => 'Safe\\proc_nice', 'pspell_add_to_personal' => 'Safe\\pspell_add_to_personal', 'pspell_add_to_session' => 'Safe\\pspell_add_to_session', 'pspell_clear_session' => 'Safe\\pspell_clear_session', 'pspell_config_create' => 'Safe\\pspell_config_create', 'pspell_config_data_dir' => 'Safe\\pspell_config_data_dir', 'pspell_config_dict_dir' => 'Safe\\pspell_config_dict_dir', 'pspell_config_ignore' => 'Safe\\pspell_config_ignore', 'pspell_config_mode' => 'Safe\\pspell_config_mode', 'pspell_config_personal' => 'Safe\\pspell_config_personal', 'pspell_config_repl' => 'Safe\\pspell_config_repl', 'pspell_config_runtogether' => 'Safe\\pspell_config_runtogether', 'pspell_config_save_repl' => 'Safe\\pspell_config_save_repl', 'pspell_new' => 'Safe\\pspell_new', 'pspell_new_config' => 'Safe\\pspell_new_config', 'pspell_save_wordlist' => 'Safe\\pspell_save_wordlist', 'pspell_store_replacement' => 'Safe\\pspell_store_replacement', 'ps_add_launchlink' => 'Safe\\ps_add_launchlink', 'ps_add_locallink' => 'Safe\\ps_add_locallink', 'ps_add_note' => 'Safe\\ps_add_note', 'ps_add_pdflink' => 'Safe\\ps_add_pdflink', 'ps_add_weblink' => 'Safe\\ps_add_weblink', 'ps_arc' => 'Safe\\ps_arc', 'ps_arcn' => 'Safe\\ps_arcn', 'ps_begin_page' => 'Safe\\ps_begin_page', 'ps_begin_pattern' => 'Safe\\ps_begin_pattern', 'ps_begin_template' => 'Safe\\ps_begin_template', 'ps_circle' => 'Safe\\ps_circle', 'ps_clip' => 'Safe\\ps_clip', 'ps_close' => 'Safe\\ps_close', 'ps_closepath' => 'Safe\\ps_closepath', 'ps_closepath_stroke' => 'Safe\\ps_closepath_stroke', 'ps_close_image' => 'Safe\\ps_close_image', 'ps_continue_text' => 'Safe\\ps_continue_text', 'ps_curveto' => 'Safe\\ps_curveto', 'ps_delete' => 'Safe\\ps_delete', 'ps_end_page' => 'Safe\\ps_end_page', 'ps_end_pattern' => 'Safe\\ps_end_pattern', 'ps_end_template' => 'Safe\\ps_end_template', 'ps_fill' => 'Safe\\ps_fill', 'ps_fill_stroke' => 'Safe\\ps_fill_stroke', 'ps_get_parameter' => 'Safe\\ps_get_parameter', 'ps_hyphenate' => 'Safe\\ps_hyphenate', 'ps_include_file' => 'Safe\\ps_include_file', 'ps_lineto' => 'Safe\\ps_lineto', 'ps_moveto' => 'Safe\\ps_moveto', 'ps_new' => 'Safe\\ps_new', 'ps_open_file' => 'Safe\\ps_open_file', 'ps_place_image' => 'Safe\\ps_place_image', 'ps_rect' => 'Safe\\ps_rect', 'ps_restore' => 'Safe\\ps_restore', 'ps_rotate' => 'Safe\\ps_rotate', 'ps_save' => 'Safe\\ps_save', 'ps_scale' => 'Safe\\ps_scale', 'ps_setcolor' => 'Safe\\ps_setcolor', 'ps_setdash' => 'Safe\\ps_setdash', 'ps_setflat' => 'Safe\\ps_setflat', 'ps_setfont' => 'Safe\\ps_setfont', 'ps_setgray' => 'Safe\\ps_setgray', 'ps_setlinecap' => 'Safe\\ps_setlinecap', 'ps_setlinejoin' => 'Safe\\ps_setlinejoin', 'ps_setlinewidth' => 'Safe\\ps_setlinewidth', 'ps_setmiterlimit' => 'Safe\\ps_setmiterlimit', 'ps_setoverprintmode' => 'Safe\\ps_setoverprintmode', 'ps_setpolydash' => 'Safe\\ps_setpolydash', 'ps_set_border_color' => 'Safe\\ps_set_border_color', 'ps_set_border_dash' => 'Safe\\ps_set_border_dash', 'ps_set_border_style' => 'Safe\\ps_set_border_style', 'ps_set_info' => 'Safe\\ps_set_info', 'ps_set_parameter' => 'Safe\\ps_set_parameter', 'ps_set_text_pos' => 'Safe\\ps_set_text_pos', 'ps_set_value' => 'Safe\\ps_set_value', 'ps_shading' => 'Safe\\ps_shading', 'ps_shading_pattern' => 'Safe\\ps_shading_pattern', 'ps_shfill' => 'Safe\\ps_shfill', 'ps_show' => 'Safe\\ps_show', 'ps_show2' => 'Safe\\ps_show2', 'ps_show_xy' => 'Safe\\ps_show_xy', 'ps_show_xy2' => 'Safe\\ps_show_xy2', 'ps_stroke' => 'Safe\\ps_stroke', 'ps_symbol' => 'Safe\\ps_symbol', 'ps_translate' => 'Safe\\ps_translate', 'putenv' => 'Safe\\putenv', 'readfile' => 'Safe\\readfile', 'readgzfile' => 'Safe\\readgzfile', 'readline_add_history' => 'Safe\\readline_add_history', 'readline_callback_handler_install' => 'Safe\\readline_callback_handler_install', 'readline_clear_history' => 'Safe\\readline_clear_history', 'readline_completion_function' => 'Safe\\readline_completion_function', 'readline_read_history' => 'Safe\\readline_read_history', 'readline_write_history' => 'Safe\\readline_write_history', 'readlink' => 'Safe\\readlink', 'realpath' => 'Safe\\realpath', 'register_tick_function' => 'Safe\\register_tick_function', 'rename' => 'Safe\\rename', 'rewind' => 'Safe\\rewind', 'rewinddir' => 'Safe\\rewinddir', 'rmdir' => 'Safe\\rmdir', 'rrd_create' => 'Safe\\rrd_create', 'rsort' => 'Safe\\rsort', 'sapi_windows_cp_conv' => 'Safe\\sapi_windows_cp_conv', 'sapi_windows_cp_set' => 'Safe\\sapi_windows_cp_set', 'sapi_windows_generate_ctrl_event' => 'Safe\\sapi_windows_generate_ctrl_event', 'sapi_windows_vt100_support' => 'Safe\\sapi_windows_vt100_support', 'scandir' => 'Safe\\scandir', 'sem_acquire' => 'Safe\\sem_acquire', 'sem_get' => 'Safe\\sem_get', 'sem_release' => 'Safe\\sem_release', 'sem_remove' => 'Safe\\sem_remove', 'session_abort' => 'Safe\\session_abort', 'session_decode' => 'Safe\\session_decode', 'session_destroy' => 'Safe\\session_destroy', 'session_regenerate_id' => 'Safe\\session_regenerate_id', 'session_reset' => 'Safe\\session_reset', 'session_unset' => 'Safe\\session_unset', 'session_write_close' => 'Safe\\session_write_close', 'settype' => 'Safe\\settype', 'set_include_path' => 'Safe\\set_include_path', 'set_time_limit' => 'Safe\\set_time_limit', 'sha1_file' => 'Safe\\sha1_file', 'shmop_delete' => 'Safe\\shmop_delete', 'shmop_read' => 'Safe\\shmop_read', 'shmop_write' => 'Safe\\shmop_write', 'shm_put_var' => 'Safe\\shm_put_var', 'shm_remove' => 'Safe\\shm_remove', 'shm_remove_var' => 'Safe\\shm_remove_var', 'shuffle' => 'Safe\\shuffle', 'simplexml_import_dom' => 'Safe\\simplexml_import_dom', 'simplexml_load_file' => 'Safe\\simplexml_load_file', 'simplexml_load_string' => 'Safe\\simplexml_load_string', 'sleep' => 'Safe\\sleep', 'socket_accept' => 'Safe\\socket_accept', 'socket_addrinfo_bind' => 'Safe\\socket_addrinfo_bind', 'socket_addrinfo_connect' => 'Safe\\socket_addrinfo_connect', 'socket_bind' => 'Safe\\socket_bind', 'socket_connect' => 'Safe\\socket_connect', 'socket_create' => 'Safe\\socket_create', 'socket_create_listen' => 'Safe\\socket_create_listen', 'socket_create_pair' => 'Safe\\socket_create_pair', 'socket_export_stream' => 'Safe\\socket_export_stream', 'socket_getpeername' => 'Safe\\socket_getpeername', 'socket_getsockname' => 'Safe\\socket_getsockname', 'socket_get_option' => 'Safe\\socket_get_option', 'socket_import_stream' => 'Safe\\socket_import_stream', 'socket_listen' => 'Safe\\socket_listen', 'socket_read' => 'Safe\\socket_read', 'socket_send' => 'Safe\\socket_send', 'socket_sendmsg' => 'Safe\\socket_sendmsg', 'socket_sendto' => 'Safe\\socket_sendto', 'socket_set_block' => 'Safe\\socket_set_block', 'socket_set_nonblock' => 'Safe\\socket_set_nonblock', 'socket_set_option' => 'Safe\\socket_set_option', 'socket_shutdown' => 'Safe\\socket_shutdown', 'socket_write' => 'Safe\\socket_write', 'socket_wsaprotocol_info_export' => 'Safe\\socket_wsaprotocol_info_export', 'socket_wsaprotocol_info_import' => 'Safe\\socket_wsaprotocol_info_import', 'socket_wsaprotocol_info_release' => 'Safe\\socket_wsaprotocol_info_release', 'sodium_crypto_pwhash' => 'Safe\\sodium_crypto_pwhash', 'sodium_crypto_pwhash_str' => 'Safe\\sodium_crypto_pwhash_str', 'solr_get_version' => 'Safe\\solr_get_version', 'sort' => 'Safe\\sort', 'soundex' => 'Safe\\soundex', 'spl_autoload_register' => 'Safe\\spl_autoload_register', 'spl_autoload_unregister' => 'Safe\\spl_autoload_unregister', 'sprintf' => 'Safe\\sprintf', 'sqlsrv_begin_transaction' => 'Safe\\sqlsrv_begin_transaction', 'sqlsrv_cancel' => 'Safe\\sqlsrv_cancel', 'sqlsrv_client_info' => 'Safe\\sqlsrv_client_info', 'sqlsrv_close' => 'Safe\\sqlsrv_close', 'sqlsrv_commit' => 'Safe\\sqlsrv_commit', 'sqlsrv_configure' => 'Safe\\sqlsrv_configure', 'sqlsrv_execute' => 'Safe\\sqlsrv_execute', 'sqlsrv_free_stmt' => 'Safe\\sqlsrv_free_stmt', 'sqlsrv_get_field' => 'Safe\\sqlsrv_get_field', 'sqlsrv_next_result' => 'Safe\\sqlsrv_next_result', 'sqlsrv_num_fields' => 'Safe\\sqlsrv_num_fields', 'sqlsrv_num_rows' => 'Safe\\sqlsrv_num_rows', 'sqlsrv_prepare' => 'Safe\\sqlsrv_prepare', 'sqlsrv_query' => 'Safe\\sqlsrv_query', 'sqlsrv_rollback' => 'Safe\\sqlsrv_rollback', 'ssdeep_fuzzy_compare' => 'Safe\\ssdeep_fuzzy_compare', 'ssdeep_fuzzy_hash' => 'Safe\\ssdeep_fuzzy_hash', 'ssdeep_fuzzy_hash_filename' => 'Safe\\ssdeep_fuzzy_hash_filename', 'ssh2_auth_agent' => 'Safe\\ssh2_auth_agent', 'ssh2_auth_hostbased_file' => 'Safe\\ssh2_auth_hostbased_file', 'ssh2_auth_password' => 'Safe\\ssh2_auth_password', 'ssh2_auth_pubkey_file' => 'Safe\\ssh2_auth_pubkey_file', 'ssh2_connect' => 'Safe\\ssh2_connect', 'ssh2_disconnect' => 'Safe\\ssh2_disconnect', 'ssh2_exec' => 'Safe\\ssh2_exec', 'ssh2_publickey_add' => 'Safe\\ssh2_publickey_add', 'ssh2_publickey_init' => 'Safe\\ssh2_publickey_init', 'ssh2_publickey_remove' => 'Safe\\ssh2_publickey_remove', 'ssh2_scp_recv' => 'Safe\\ssh2_scp_recv', 'ssh2_scp_send' => 'Safe\\ssh2_scp_send', 'ssh2_sftp' => 'Safe\\ssh2_sftp', 'ssh2_sftp_chmod' => 'Safe\\ssh2_sftp_chmod', 'ssh2_sftp_mkdir' => 'Safe\\ssh2_sftp_mkdir', 'ssh2_sftp_rename' => 'Safe\\ssh2_sftp_rename', 'ssh2_sftp_rmdir' => 'Safe\\ssh2_sftp_rmdir', 'ssh2_sftp_symlink' => 'Safe\\ssh2_sftp_symlink', 'ssh2_sftp_unlink' => 'Safe\\ssh2_sftp_unlink', 'stats_covariance' => 'Safe\\stats_covariance', 'stats_standard_deviation' => 'Safe\\stats_standard_deviation', 'stats_stat_correlation' => 'Safe\\stats_stat_correlation', 'stats_stat_innerproduct' => 'Safe\\stats_stat_innerproduct', 'stats_variance' => 'Safe\\stats_variance', 'stream_context_set_params' => 'Safe\\stream_context_set_params', 'stream_copy_to_stream' => 'Safe\\stream_copy_to_stream', 'stream_filter_append' => 'Safe\\stream_filter_append', 'stream_filter_prepend' => 'Safe\\stream_filter_prepend', 'stream_filter_register' => 'Safe\\stream_filter_register', 'stream_filter_remove' => 'Safe\\stream_filter_remove', 'stream_get_contents' => 'Safe\\stream_get_contents', 'stream_isatty' => 'Safe\\stream_isatty', 'stream_resolve_include_path' => 'Safe\\stream_resolve_include_path', 'stream_set_blocking' => 'Safe\\stream_set_blocking', 'stream_set_timeout' => 'Safe\\stream_set_timeout', 'stream_socket_accept' => 'Safe\\stream_socket_accept', 'stream_socket_client' => 'Safe\\stream_socket_client', 'stream_socket_pair' => 'Safe\\stream_socket_pair', 'stream_socket_server' => 'Safe\\stream_socket_server', 'stream_socket_shutdown' => 'Safe\\stream_socket_shutdown', 'stream_supports_lock' => 'Safe\\stream_supports_lock', 'stream_wrapper_register' => 'Safe\\stream_wrapper_register', 'stream_wrapper_restore' => 'Safe\\stream_wrapper_restore', 'stream_wrapper_unregister' => 'Safe\\stream_wrapper_unregister', 'strptime' => 'Safe\\strptime', 'strtotime' => 'Safe\\strtotime', 'substr' => 'Safe\\substr', 'swoole_async_write' => 'Safe\\swoole_async_write', 'swoole_async_writefile' => 'Safe\\swoole_async_writefile', 'swoole_event_defer' => 'Safe\\swoole_event_defer', 'swoole_event_del' => 'Safe\\swoole_event_del', 'swoole_event_write' => 'Safe\\swoole_event_write', 'symlink' => 'Safe\\symlink', 'syslog' => 'Safe\\syslog', 'system' => 'Safe\\system', 'tempnam' => 'Safe\\tempnam', 'timezone_name_from_abbr' => 'Safe\\timezone_name_from_abbr', 'time_nanosleep' => 'Safe\\time_nanosleep', 'time_sleep_until' => 'Safe\\time_sleep_until', 'tmpfile' => 'Safe\\tmpfile', 'touch' => 'Safe\\touch', 'uasort' => 'Safe\\uasort', 'uksort' => 'Safe\\uksort', 'unlink' => 'Safe\\unlink', 'uopz_extend' => 'Safe\\uopz_extend', 'uopz_implement' => 'Safe\\uopz_implement', 'usort' => 'Safe\\usort', 'virtual' => 'Safe\\virtual', 'vsprintf' => 'Safe\\vsprintf', 'xdiff_file_bdiff' => 'Safe\\xdiff_file_bdiff', 'xdiff_file_bpatch' => 'Safe\\xdiff_file_bpatch', 'xdiff_file_diff' => 'Safe\\xdiff_file_diff', 'xdiff_file_diff_binary' => 'Safe\\xdiff_file_diff_binary', 'xdiff_file_patch_binary' => 'Safe\\xdiff_file_patch_binary', 'xdiff_file_rabdiff' => 'Safe\\xdiff_file_rabdiff', 'xdiff_string_bpatch' => 'Safe\\xdiff_string_bpatch', 'xdiff_string_patch' => 'Safe\\xdiff_string_patch', 'xdiff_string_patch_binary' => 'Safe\\xdiff_string_patch_binary', 'xmlrpc_set_type' => 'Safe\\xmlrpc_set_type', 'xml_parser_create' => 'Safe\\xml_parser_create', 'xml_parser_create_ns' => 'Safe\\xml_parser_create_ns', 'xml_set_object' => 'Safe\\xml_set_object', 'yaml_parse' => 'Safe\\yaml_parse', 'yaml_parse_file' => 'Safe\\yaml_parse_file', 'yaml_parse_url' => 'Safe\\yaml_parse_url', 'yaz_ccl_parse' => 'Safe\\yaz_ccl_parse', 'yaz_close' => 'Safe\\yaz_close', 'yaz_connect' => 'Safe\\yaz_connect', 'yaz_database' => 'Safe\\yaz_database', 'yaz_element' => 'Safe\\yaz_element', 'yaz_present' => 'Safe\\yaz_present', 'yaz_search' => 'Safe\\yaz_search', 'yaz_wait' => 'Safe\\yaz_wait', 'zip_entry_close' => 'Safe\\zip_entry_close', 'zip_entry_open' => 'Safe\\zip_entry_open', 'zip_entry_read' => 'Safe\\zip_entry_read', 'zlib_decode' => 'Safe\\zlib_decode']]]); + $services->set(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class)->configure(['apache_getenv' => 'Safe\\apache_getenv', 'apache_get_version' => 'Safe\\apache_get_version', 'apache_request_headers' => 'Safe\\apache_request_headers', 'apache_reset_timeout' => 'Safe\\apache_reset_timeout', 'apache_response_headers' => 'Safe\\apache_response_headers', 'apache_setenv' => 'Safe\\apache_setenv', 'apcu_cache_info' => 'Safe\\apcu_cache_info', 'apcu_cas' => 'Safe\\apcu_cas', 'apcu_dec' => 'Safe\\apcu_dec', 'apcu_fetch' => 'Safe\\apcu_fetch', 'apcu_inc' => 'Safe\\apcu_inc', 'apcu_sma_info' => 'Safe\\apcu_sma_info', 'apc_cache_info' => 'Safe\\apc_cache_info', 'apc_cas' => 'Safe\\apc_cas', 'apc_compile_file' => 'Safe\\apc_compile_file', 'apc_dec' => 'Safe\\apc_dec', 'apc_define_constants' => 'Safe\\apc_define_constants', 'apc_delete' => 'Safe\\apc_delete', 'apc_delete_file' => 'Safe\\apc_delete_file', 'apc_fetch' => 'Safe\\apc_fetch', 'apc_inc' => 'Safe\\apc_inc', 'apc_load_constants' => 'Safe\\apc_load_constants', 'apc_sma_info' => 'Safe\\apc_sma_info', 'array_combine' => 'Safe\\array_combine', 'array_flip' => 'Safe\\array_flip', 'array_replace' => 'Safe\\array_replace', 'array_replace_recursive' => 'Safe\\array_replace_recursive', 'array_walk_recursive' => 'Safe\\array_walk_recursive', 'arsort' => 'Safe\\arsort', 'asort' => 'Safe\\asort', 'base64_decode' => 'Safe\\base64_decode', 'bzclose' => 'Safe\\bzclose', 'bzflush' => 'Safe\\bzflush', 'bzread' => 'Safe\\bzread', 'bzwrite' => 'Safe\\bzwrite', 'chdir' => 'Safe\\chdir', 'chgrp' => 'Safe\\chgrp', 'chmod' => 'Safe\\chmod', 'chown' => 'Safe\\chown', 'chroot' => 'Safe\\chroot', 'class_alias' => 'Safe\\class_alias', 'class_implements' => 'Safe\\class_implements', 'class_parents' => 'Safe\\class_parents', 'class_uses' => 'Safe\\class_uses', 'cli_set_process_title' => 'Safe\\cli_set_process_title', 'closelog' => 'Safe\\closelog', 'com_event_sink' => 'Safe\\com_event_sink', 'com_load_typelib' => 'Safe\\com_load_typelib', 'com_print_typeinfo' => 'Safe\\com_print_typeinfo', 'convert_uudecode' => 'Safe\\convert_uudecode', 'convert_uuencode' => 'Safe\\convert_uuencode', 'copy' => 'Safe\\copy', 'create_function' => 'Safe\\create_function', 'cubrid_free_result' => 'Safe\\cubrid_free_result', 'cubrid_get_charset' => 'Safe\\cubrid_get_charset', 'cubrid_get_client_info' => 'Safe\\cubrid_get_client_info', 'cubrid_get_db_parameter' => 'Safe\\cubrid_get_db_parameter', 'cubrid_get_server_info' => 'Safe\\cubrid_get_server_info', 'cubrid_insert_id' => 'Safe\\cubrid_insert_id', 'cubrid_lob2_new' => 'Safe\\cubrid_lob2_new', 'cubrid_lob2_size' => 'Safe\\cubrid_lob2_size', 'cubrid_lob2_size64' => 'Safe\\cubrid_lob2_size64', 'cubrid_lob2_tell' => 'Safe\\cubrid_lob2_tell', 'cubrid_lob2_tell64' => 'Safe\\cubrid_lob2_tell64', 'cubrid_set_db_parameter' => 'Safe\\cubrid_set_db_parameter', 'curl_escape' => 'Safe\\curl_escape', 'curl_exec' => 'Safe\\curl_exec', 'curl_getinfo' => 'Safe\\curl_getinfo', 'curl_init' => 'Safe\\curl_init', 'curl_multi_errno' => 'Safe\\curl_multi_errno', 'curl_multi_info_read' => 'Safe\\curl_multi_info_read', 'curl_multi_init' => 'Safe\\curl_multi_init', 'curl_setopt' => 'Safe\\curl_setopt', 'curl_share_errno' => 'Safe\\curl_share_errno', 'curl_share_setopt' => 'Safe\\curl_share_setopt', 'curl_unescape' => 'Safe\\curl_unescape', 'date_parse' => 'Safe\\date_parse', 'date_parse_from_format' => 'Safe\\date_parse_from_format', 'date_sunrise' => 'Safe\\date_sunrise', 'date_sunset' => 'Safe\\date_sunset', 'date_sun_info' => 'Safe\\date_sun_info', 'db2_autocommit' => 'Safe\\db2_autocommit', 'db2_bind_param' => 'Safe\\db2_bind_param', 'db2_client_info' => 'Safe\\db2_client_info', 'db2_close' => 'Safe\\db2_close', 'db2_commit' => 'Safe\\db2_commit', 'db2_execute' => 'Safe\\db2_execute', 'db2_free_result' => 'Safe\\db2_free_result', 'db2_free_stmt' => 'Safe\\db2_free_stmt', 'db2_get_option' => 'Safe\\db2_get_option', 'db2_pclose' => 'Safe\\db2_pclose', 'db2_rollback' => 'Safe\\db2_rollback', 'db2_server_info' => 'Safe\\db2_server_info', 'db2_set_option' => 'Safe\\db2_set_option', 'define' => 'Safe\\define', 'deflate_add' => 'Safe\\deflate_add', 'deflate_init' => 'Safe\\deflate_init', 'disk_free_space' => 'Safe\\disk_free_space', 'disk_total_space' => 'Safe\\disk_total_space', 'dl' => 'Safe\\dl', 'dns_get_record' => 'Safe\\dns_get_record', 'eio_busy' => 'Safe\\eio_busy', 'eio_chmod' => 'Safe\\eio_chmod', 'eio_chown' => 'Safe\\eio_chown', 'eio_close' => 'Safe\\eio_close', 'eio_custom' => 'Safe\\eio_custom', 'eio_dup2' => 'Safe\\eio_dup2', 'eio_event_loop' => 'Safe\\eio_event_loop', 'eio_fallocate' => 'Safe\\eio_fallocate', 'eio_fchmod' => 'Safe\\eio_fchmod', 'eio_fdatasync' => 'Safe\\eio_fdatasync', 'eio_fstat' => 'Safe\\eio_fstat', 'eio_fstatvfs' => 'Safe\\eio_fstatvfs', 'eio_fsync' => 'Safe\\eio_fsync', 'eio_ftruncate' => 'Safe\\eio_ftruncate', 'eio_futime' => 'Safe\\eio_futime', 'eio_grp' => 'Safe\\eio_grp', 'eio_lstat' => 'Safe\\eio_lstat', 'eio_mkdir' => 'Safe\\eio_mkdir', 'eio_mknod' => 'Safe\\eio_mknod', 'eio_nop' => 'Safe\\eio_nop', 'eio_readahead' => 'Safe\\eio_readahead', 'eio_readdir' => 'Safe\\eio_readdir', 'eio_readlink' => 'Safe\\eio_readlink', 'eio_rename' => 'Safe\\eio_rename', 'eio_rmdir' => 'Safe\\eio_rmdir', 'eio_seek' => 'Safe\\eio_seek', 'eio_sendfile' => 'Safe\\eio_sendfile', 'eio_stat' => 'Safe\\eio_stat', 'eio_statvfs' => 'Safe\\eio_statvfs', 'eio_symlink' => 'Safe\\eio_symlink', 'eio_sync' => 'Safe\\eio_sync', 'eio_syncfs' => 'Safe\\eio_syncfs', 'eio_sync_file_range' => 'Safe\\eio_sync_file_range', 'eio_truncate' => 'Safe\\eio_truncate', 'eio_unlink' => 'Safe\\eio_unlink', 'eio_utime' => 'Safe\\eio_utime', 'eio_write' => 'Safe\\eio_write', 'error_log' => 'Safe\\error_log', 'event_add' => 'Safe\\event_add', 'event_base_loopbreak' => 'Safe\\event_base_loopbreak', 'event_base_loopexit' => 'Safe\\event_base_loopexit', 'event_base_new' => 'Safe\\event_base_new', 'event_base_priority_init' => 'Safe\\event_base_priority_init', 'event_base_reinit' => 'Safe\\event_base_reinit', 'event_base_set' => 'Safe\\event_base_set', 'event_buffer_base_set' => 'Safe\\event_buffer_base_set', 'event_buffer_disable' => 'Safe\\event_buffer_disable', 'event_buffer_enable' => 'Safe\\event_buffer_enable', 'event_buffer_new' => 'Safe\\event_buffer_new', 'event_buffer_priority_set' => 'Safe\\event_buffer_priority_set', 'event_buffer_set_callback' => 'Safe\\event_buffer_set_callback', 'event_buffer_write' => 'Safe\\event_buffer_write', 'event_del' => 'Safe\\event_del', 'event_new' => 'Safe\\event_new', 'event_priority_set' => 'Safe\\event_priority_set', 'event_set' => 'Safe\\event_set', 'event_timer_set' => 'Safe\\event_timer_set', 'fastcgi_finish_request' => 'Safe\\fastcgi_finish_request', 'fbird_blob_cancel' => 'Safe\\fbird_blob_cancel', 'fclose' => 'Safe\\fclose', 'fflush' => 'Safe\\fflush', 'file' => 'Safe\\file', 'fileatime' => 'Safe\\fileatime', 'filectime' => 'Safe\\filectime', 'fileinode' => 'Safe\\fileinode', 'filemtime' => 'Safe\\filemtime', 'fileowner' => 'Safe\\fileowner', 'filesize' => 'Safe\\filesize', 'file_get_contents' => 'Safe\\file_get_contents', 'file_put_contents' => 'Safe\\file_put_contents', 'filter_input_array' => 'Safe\\filter_input_array', 'filter_var_array' => 'Safe\\filter_var_array', 'finfo_close' => 'Safe\\finfo_close', 'finfo_open' => 'Safe\\finfo_open', 'flock' => 'Safe\\flock', 'fopen' => 'Safe\\fopen', 'fputcsv' => 'Safe\\fputcsv', 'fread' => 'Safe\\fread', 'fsockopen' => 'Safe\\fsockopen', 'ftp_alloc' => 'Safe\\ftp_alloc', 'ftp_append' => 'Safe\\ftp_append', 'ftp_cdup' => 'Safe\\ftp_cdup', 'ftp_chdir' => 'Safe\\ftp_chdir', 'ftp_chmod' => 'Safe\\ftp_chmod', 'ftp_close' => 'Safe\\ftp_close', 'ftp_connect' => 'Safe\\ftp_connect', 'ftp_delete' => 'Safe\\ftp_delete', 'ftp_fget' => 'Safe\\ftp_fget', 'ftp_fput' => 'Safe\\ftp_fput', 'ftp_get' => 'Safe\\ftp_get', 'ftp_login' => 'Safe\\ftp_login', 'ftp_mkdir' => 'Safe\\ftp_mkdir', 'ftp_mlsd' => 'Safe\\ftp_mlsd', 'ftp_nlist' => 'Safe\\ftp_nlist', 'ftp_pasv' => 'Safe\\ftp_pasv', 'ftp_put' => 'Safe\\ftp_put', 'ftp_pwd' => 'Safe\\ftp_pwd', 'ftp_rename' => 'Safe\\ftp_rename', 'ftp_rmdir' => 'Safe\\ftp_rmdir', 'ftp_site' => 'Safe\\ftp_site', 'ftp_ssl_connect' => 'Safe\\ftp_ssl_connect', 'ftp_systype' => 'Safe\\ftp_systype', 'ftruncate' => 'Safe\\ftruncate', 'fwrite' => 'Safe\\fwrite', 'getallheaders' => 'Safe\\getallheaders', 'getcwd' => 'Safe\\getcwd', 'gethostname' => 'Safe\\gethostname', 'getimagesize' => 'Safe\\getimagesize', 'getlastmod' => 'Safe\\getlastmod', 'getmygid' => 'Safe\\getmygid', 'getmyinode' => 'Safe\\getmyinode', 'getmypid' => 'Safe\\getmypid', 'getmyuid' => 'Safe\\getmyuid', 'getopt' => 'Safe\\getopt', 'getprotobyname' => 'Safe\\getprotobyname', 'getprotobynumber' => 'Safe\\getprotobynumber', 'get_headers' => 'Safe\\get_headers', 'glob' => 'Safe\\glob', 'gmp_binomial' => 'Safe\\gmp_binomial', 'gmp_export' => 'Safe\\gmp_export', 'gmp_import' => 'Safe\\gmp_import', 'gmp_random_seed' => 'Safe\\gmp_random_seed', 'gnupg_adddecryptkey' => 'Safe\\gnupg_adddecryptkey', 'gnupg_addencryptkey' => 'Safe\\gnupg_addencryptkey', 'gnupg_addsignkey' => 'Safe\\gnupg_addsignkey', 'gnupg_cleardecryptkeys' => 'Safe\\gnupg_cleardecryptkeys', 'gnupg_clearencryptkeys' => 'Safe\\gnupg_clearencryptkeys', 'gnupg_clearsignkeys' => 'Safe\\gnupg_clearsignkeys', 'gnupg_setarmor' => 'Safe\\gnupg_setarmor', 'gnupg_setsignmode' => 'Safe\\gnupg_setsignmode', 'gzclose' => 'Safe\\gzclose', 'gzcompress' => 'Safe\\gzcompress', 'gzdecode' => 'Safe\\gzdecode', 'gzdeflate' => 'Safe\\gzdeflate', 'gzencode' => 'Safe\\gzencode', 'gzgets' => 'Safe\\gzgets', 'gzgetss' => 'Safe\\gzgetss', 'gzinflate' => 'Safe\\gzinflate', 'gzpassthru' => 'Safe\\gzpassthru', 'gzrewind' => 'Safe\\gzrewind', 'gzuncompress' => 'Safe\\gzuncompress', 'hash_hkdf' => 'Safe\\hash_hkdf', 'hash_update_file' => 'Safe\\hash_update_file', 'header_register_callback' => 'Safe\\header_register_callback', 'hex2bin' => 'Safe\\hex2bin', 'highlight_file' => 'Safe\\highlight_file', 'highlight_string' => 'Safe\\highlight_string', 'ibase_add_user' => 'Safe\\ibase_add_user', 'ibase_backup' => 'Safe\\ibase_backup', 'ibase_blob_cancel' => 'Safe\\ibase_blob_cancel', 'ibase_blob_create' => 'Safe\\ibase_blob_create', 'ibase_blob_get' => 'Safe\\ibase_blob_get', 'ibase_close' => 'Safe\\ibase_close', 'ibase_commit' => 'Safe\\ibase_commit', 'ibase_commit_ret' => 'Safe\\ibase_commit_ret', 'ibase_connect' => 'Safe\\ibase_connect', 'ibase_delete_user' => 'Safe\\ibase_delete_user', 'ibase_drop_db' => 'Safe\\ibase_drop_db', 'ibase_free_event_handler' => 'Safe\\ibase_free_event_handler', 'ibase_free_query' => 'Safe\\ibase_free_query', 'ibase_free_result' => 'Safe\\ibase_free_result', 'ibase_maintain_db' => 'Safe\\ibase_maintain_db', 'ibase_modify_user' => 'Safe\\ibase_modify_user', 'ibase_name_result' => 'Safe\\ibase_name_result', 'ibase_pconnect' => 'Safe\\ibase_pconnect', 'ibase_restore' => 'Safe\\ibase_restore', 'ibase_rollback' => 'Safe\\ibase_rollback', 'ibase_rollback_ret' => 'Safe\\ibase_rollback_ret', 'ibase_service_attach' => 'Safe\\ibase_service_attach', 'ibase_service_detach' => 'Safe\\ibase_service_detach', 'iconv' => 'Safe\\iconv', 'iconv_get_encoding' => 'Safe\\iconv_get_encoding', 'iconv_set_encoding' => 'Safe\\iconv_set_encoding', 'image2wbmp' => 'Safe\\image2wbmp', 'imageaffine' => 'Safe\\imageaffine', 'imageaffinematrixconcat' => 'Safe\\imageaffinematrixconcat', 'imageaffinematrixget' => 'Safe\\imageaffinematrixget', 'imagealphablending' => 'Safe\\imagealphablending', 'imageantialias' => 'Safe\\imageantialias', 'imagearc' => 'Safe\\imagearc', 'imagebmp' => 'Safe\\imagebmp', 'imagechar' => 'Safe\\imagechar', 'imagecharup' => 'Safe\\imagecharup', 'imagecolorat' => 'Safe\\imagecolorat', 'imagecolordeallocate' => 'Safe\\imagecolordeallocate', 'imagecolormatch' => 'Safe\\imagecolormatch', 'imageconvolution' => 'Safe\\imageconvolution', 'imagecopy' => 'Safe\\imagecopy', 'imagecopymerge' => 'Safe\\imagecopymerge', 'imagecopymergegray' => 'Safe\\imagecopymergegray', 'imagecopyresampled' => 'Safe\\imagecopyresampled', 'imagecopyresized' => 'Safe\\imagecopyresized', 'imagecreate' => 'Safe\\imagecreate', 'imagecreatefrombmp' => 'Safe\\imagecreatefrombmp', 'imagecreatefromgd' => 'Safe\\imagecreatefromgd', 'imagecreatefromgd2' => 'Safe\\imagecreatefromgd2', 'imagecreatefromgd2part' => 'Safe\\imagecreatefromgd2part', 'imagecreatefromgif' => 'Safe\\imagecreatefromgif', 'imagecreatefromjpeg' => 'Safe\\imagecreatefromjpeg', 'imagecreatefrompng' => 'Safe\\imagecreatefrompng', 'imagecreatefromwbmp' => 'Safe\\imagecreatefromwbmp', 'imagecreatefromwebp' => 'Safe\\imagecreatefromwebp', 'imagecreatefromxbm' => 'Safe\\imagecreatefromxbm', 'imagecreatefromxpm' => 'Safe\\imagecreatefromxpm', 'imagecreatetruecolor' => 'Safe\\imagecreatetruecolor', 'imagecrop' => 'Safe\\imagecrop', 'imagecropauto' => 'Safe\\imagecropauto', 'imagedashedline' => 'Safe\\imagedashedline', 'imagedestroy' => 'Safe\\imagedestroy', 'imageellipse' => 'Safe\\imageellipse', 'imagefill' => 'Safe\\imagefill', 'imagefilledarc' => 'Safe\\imagefilledarc', 'imagefilledellipse' => 'Safe\\imagefilledellipse', 'imagefilledpolygon' => 'Safe\\imagefilledpolygon', 'imagefilledrectangle' => 'Safe\\imagefilledrectangle', 'imagefilltoborder' => 'Safe\\imagefilltoborder', 'imagefilter' => 'Safe\\imagefilter', 'imageflip' => 'Safe\\imageflip', 'imagegammacorrect' => 'Safe\\imagegammacorrect', 'imagegd' => 'Safe\\imagegd', 'imagegd2' => 'Safe\\imagegd2', 'imagegif' => 'Safe\\imagegif', 'imagegrabscreen' => 'Safe\\imagegrabscreen', 'imagegrabwindow' => 'Safe\\imagegrabwindow', 'imagejpeg' => 'Safe\\imagejpeg', 'imagelayereffect' => 'Safe\\imagelayereffect', 'imageline' => 'Safe\\imageline', 'imageloadfont' => 'Safe\\imageloadfont', 'imageopenpolygon' => 'Safe\\imageopenpolygon', 'imagepng' => 'Safe\\imagepng', 'imagepolygon' => 'Safe\\imagepolygon', 'imagepsencodefont' => 'Safe\\imagepsencodefont', 'imagepsextendfont' => 'Safe\\imagepsextendfont', 'imagepsfreefont' => 'Safe\\imagepsfreefont', 'imagepsslantfont' => 'Safe\\imagepsslantfont', 'imagerectangle' => 'Safe\\imagerectangle', 'imagerotate' => 'Safe\\imagerotate', 'imagesavealpha' => 'Safe\\imagesavealpha', 'imagescale' => 'Safe\\imagescale', 'imagesetbrush' => 'Safe\\imagesetbrush', 'imagesetclip' => 'Safe\\imagesetclip', 'imagesetinterpolation' => 'Safe\\imagesetinterpolation', 'imagesetpixel' => 'Safe\\imagesetpixel', 'imagesetstyle' => 'Safe\\imagesetstyle', 'imagesetthickness' => 'Safe\\imagesetthickness', 'imagesettile' => 'Safe\\imagesettile', 'imagestring' => 'Safe\\imagestring', 'imagestringup' => 'Safe\\imagestringup', 'imagesx' => 'Safe\\imagesx', 'imagesy' => 'Safe\\imagesy', 'imagetruecolortopalette' => 'Safe\\imagetruecolortopalette', 'imagettfbbox' => 'Safe\\imagettfbbox', 'imagettftext' => 'Safe\\imagettftext', 'imagewbmp' => 'Safe\\imagewbmp', 'imagewebp' => 'Safe\\imagewebp', 'imagexbm' => 'Safe\\imagexbm', 'imap_append' => 'Safe\\imap_append', 'imap_check' => 'Safe\\imap_check', 'imap_clearflag_full' => 'Safe\\imap_clearflag_full', 'imap_close' => 'Safe\\imap_close', 'imap_createmailbox' => 'Safe\\imap_createmailbox', 'imap_deletemailbox' => 'Safe\\imap_deletemailbox', 'imap_gc' => 'Safe\\imap_gc', 'imap_headerinfo' => 'Safe\\imap_headerinfo', 'imap_mail' => 'Safe\\imap_mail', 'imap_mailboxmsginfo' => 'Safe\\imap_mailboxmsginfo', 'imap_mail_copy' => 'Safe\\imap_mail_copy', 'imap_mail_move' => 'Safe\\imap_mail_move', 'imap_mutf7_to_utf8' => 'Safe\\imap_mutf7_to_utf8', 'imap_num_msg' => 'Safe\\imap_num_msg', 'imap_open' => 'Safe\\imap_open', 'imap_renamemailbox' => 'Safe\\imap_renamemailbox', 'imap_savebody' => 'Safe\\imap_savebody', 'imap_setacl' => 'Safe\\imap_setacl', 'imap_setflag_full' => 'Safe\\imap_setflag_full', 'imap_set_quota' => 'Safe\\imap_set_quota', 'imap_subscribe' => 'Safe\\imap_subscribe', 'imap_thread' => 'Safe\\imap_thread', 'imap_timeout' => 'Safe\\imap_timeout', 'imap_undelete' => 'Safe\\imap_undelete', 'imap_unsubscribe' => 'Safe\\imap_unsubscribe', 'imap_utf8_to_mutf7' => 'Safe\\imap_utf8_to_mutf7', 'inet_ntop' => 'Safe\\inet_ntop', 'inflate_add' => 'Safe\\inflate_add', 'inflate_get_read_len' => 'Safe\\inflate_get_read_len', 'inflate_get_status' => 'Safe\\inflate_get_status', 'inflate_init' => 'Safe\\inflate_init', 'ingres_autocommit' => 'Safe\\ingres_autocommit', 'ingres_close' => 'Safe\\ingres_close', 'ingres_commit' => 'Safe\\ingres_commit', 'ingres_connect' => 'Safe\\ingres_connect', 'ingres_execute' => 'Safe\\ingres_execute', 'ingres_field_name' => 'Safe\\ingres_field_name', 'ingres_field_type' => 'Safe\\ingres_field_type', 'ingres_free_result' => 'Safe\\ingres_free_result', 'ingres_pconnect' => 'Safe\\ingres_pconnect', 'ingres_result_seek' => 'Safe\\ingres_result_seek', 'ingres_rollback' => 'Safe\\ingres_rollback', 'ingres_set_environment' => 'Safe\\ingres_set_environment', 'ini_get' => 'Safe\\ini_get', 'ini_set' => 'Safe\\ini_set', 'inotify_init' => 'Safe\\inotify_init', 'inotify_rm_watch' => 'Safe\\inotify_rm_watch', 'iptcembed' => 'Safe\\iptcembed', 'iptcparse' => 'Safe\\iptcparse', 'jpeg2wbmp' => 'Safe\\jpeg2wbmp', 'json_decode' => 'Safe\\json_decode', 'json_encode' => 'Safe\\json_encode', 'json_last_error_msg' => 'Safe\\json_last_error_msg', 'krsort' => 'Safe\\krsort', 'ksort' => 'Safe\\ksort', 'lchgrp' => 'Safe\\lchgrp', 'lchown' => 'Safe\\lchown', 'ldap_add' => 'Safe\\ldap_add', 'ldap_add_ext' => 'Safe\\ldap_add_ext', 'ldap_bind' => 'Safe\\ldap_bind', 'ldap_bind_ext' => 'Safe\\ldap_bind_ext', 'ldap_control_paged_result' => 'Safe\\ldap_control_paged_result', 'ldap_control_paged_result_response' => 'Safe\\ldap_control_paged_result_response', 'ldap_count_entries' => 'Safe\\ldap_count_entries', 'ldap_delete' => 'Safe\\ldap_delete', 'ldap_delete_ext' => 'Safe\\ldap_delete_ext', 'ldap_exop' => 'Safe\\ldap_exop', 'ldap_exop_passwd' => 'Safe\\ldap_exop_passwd', 'ldap_exop_whoami' => 'Safe\\ldap_exop_whoami', 'ldap_explode_dn' => 'Safe\\ldap_explode_dn', 'ldap_first_attribute' => 'Safe\\ldap_first_attribute', 'ldap_first_entry' => 'Safe\\ldap_first_entry', 'ldap_free_result' => 'Safe\\ldap_free_result', 'ldap_get_attributes' => 'Safe\\ldap_get_attributes', 'ldap_get_dn' => 'Safe\\ldap_get_dn', 'ldap_get_entries' => 'Safe\\ldap_get_entries', 'ldap_get_option' => 'Safe\\ldap_get_option', 'ldap_get_values' => 'Safe\\ldap_get_values', 'ldap_get_values_len' => 'Safe\\ldap_get_values_len', 'ldap_list' => 'Safe\\ldap_list', 'ldap_modify_batch' => 'Safe\\ldap_modify_batch', 'ldap_mod_add' => 'Safe\\ldap_mod_add', 'ldap_mod_add_ext' => 'Safe\\ldap_mod_add_ext', 'ldap_mod_del' => 'Safe\\ldap_mod_del', 'ldap_mod_del_ext' => 'Safe\\ldap_mod_del_ext', 'ldap_mod_replace' => 'Safe\\ldap_mod_replace', 'ldap_mod_replace_ext' => 'Safe\\ldap_mod_replace_ext', 'ldap_next_attribute' => 'Safe\\ldap_next_attribute', 'ldap_parse_exop' => 'Safe\\ldap_parse_exop', 'ldap_parse_result' => 'Safe\\ldap_parse_result', 'ldap_read' => 'Safe\\ldap_read', 'ldap_rename' => 'Safe\\ldap_rename', 'ldap_rename_ext' => 'Safe\\ldap_rename_ext', 'ldap_sasl_bind' => 'Safe\\ldap_sasl_bind', 'ldap_search' => 'Safe\\ldap_search', 'ldap_set_option' => 'Safe\\ldap_set_option', 'ldap_unbind' => 'Safe\\ldap_unbind', 'libxml_get_last_error' => 'Safe\\libxml_get_last_error', 'libxml_set_external_entity_loader' => 'Safe\\libxml_set_external_entity_loader', 'link' => 'Safe\\link', 'lzf_compress' => 'Safe\\lzf_compress', 'lzf_decompress' => 'Safe\\lzf_decompress', 'mailparse_msg_extract_part_file' => 'Safe\\mailparse_msg_extract_part_file', 'mailparse_msg_free' => 'Safe\\mailparse_msg_free', 'mailparse_msg_parse' => 'Safe\\mailparse_msg_parse', 'mailparse_msg_parse_file' => 'Safe\\mailparse_msg_parse_file', 'mailparse_stream_encode' => 'Safe\\mailparse_stream_encode', 'mb_chr' => 'Safe\\mb_chr', 'mb_detect_order' => 'Safe\\mb_detect_order', 'mb_encoding_aliases' => 'Safe\\mb_encoding_aliases', 'mb_eregi_replace' => 'Safe\\mb_eregi_replace', 'mb_ereg_replace' => 'Safe\\mb_ereg_replace', 'mb_ereg_replace_callback' => 'Safe\\mb_ereg_replace_callback', 'mb_ereg_search_getregs' => 'Safe\\mb_ereg_search_getregs', 'mb_ereg_search_init' => 'Safe\\mb_ereg_search_init', 'mb_ereg_search_regs' => 'Safe\\mb_ereg_search_regs', 'mb_ereg_search_setpos' => 'Safe\\mb_ereg_search_setpos', 'mb_http_output' => 'Safe\\mb_http_output', 'mb_internal_encoding' => 'Safe\\mb_internal_encoding', 'mb_ord' => 'Safe\\mb_ord', 'mb_parse_str' => 'Safe\\mb_parse_str', 'mb_regex_encoding' => 'Safe\\mb_regex_encoding', 'mb_send_mail' => 'Safe\\mb_send_mail', 'mb_split' => 'Safe\\mb_split', 'md5_file' => 'Safe\\md5_file', 'metaphone' => 'Safe\\metaphone', 'mime_content_type' => 'Safe\\mime_content_type', 'mkdir' => 'Safe\\mkdir', 'mktime' => 'Safe\\mktime', 'msg_queue_exists' => 'Safe\\msg_queue_exists', 'msg_receive' => 'Safe\\msg_receive', 'msg_remove_queue' => 'Safe\\msg_remove_queue', 'msg_send' => 'Safe\\msg_send', 'msg_set_queue' => 'Safe\\msg_set_queue', 'msql_affected_rows' => 'Safe\\msql_affected_rows', 'msql_close' => 'Safe\\msql_close', 'msql_connect' => 'Safe\\msql_connect', 'msql_create_db' => 'Safe\\msql_create_db', 'msql_data_seek' => 'Safe\\msql_data_seek', 'msql_db_query' => 'Safe\\msql_db_query', 'msql_drop_db' => 'Safe\\msql_drop_db', 'msql_field_len' => 'Safe\\msql_field_len', 'msql_field_name' => 'Safe\\msql_field_name', 'msql_field_seek' => 'Safe\\msql_field_seek', 'msql_field_table' => 'Safe\\msql_field_table', 'msql_field_type' => 'Safe\\msql_field_type', 'msql_free_result' => 'Safe\\msql_free_result', 'msql_pconnect' => 'Safe\\msql_pconnect', 'msql_query' => 'Safe\\msql_query', 'msql_select_db' => 'Safe\\msql_select_db', 'mssql_bind' => 'Safe\\mssql_bind', 'mssql_close' => 'Safe\\mssql_close', 'mssql_connect' => 'Safe\\mssql_connect', 'mssql_data_seek' => 'Safe\\mssql_data_seek', 'mssql_field_length' => 'Safe\\mssql_field_length', 'mssql_field_name' => 'Safe\\mssql_field_name', 'mssql_field_seek' => 'Safe\\mssql_field_seek', 'mssql_field_type' => 'Safe\\mssql_field_type', 'mssql_free_result' => 'Safe\\mssql_free_result', 'mssql_free_statement' => 'Safe\\mssql_free_statement', 'mssql_init' => 'Safe\\mssql_init', 'mssql_pconnect' => 'Safe\\mssql_pconnect', 'mssql_query' => 'Safe\\mssql_query', 'mssql_select_db' => 'Safe\\mssql_select_db', 'mysqli_get_cache_stats' => 'Safe\\mysqli_get_cache_stats', 'mysqli_get_client_stats' => 'Safe\\mysqli_get_client_stats', 'mysqlnd_ms_dump_servers' => 'Safe\\mysqlnd_ms_dump_servers', 'mysqlnd_ms_fabric_select_global' => 'Safe\\mysqlnd_ms_fabric_select_global', 'mysqlnd_ms_fabric_select_shard' => 'Safe\\mysqlnd_ms_fabric_select_shard', 'mysqlnd_ms_get_last_used_connection' => 'Safe\\mysqlnd_ms_get_last_used_connection', 'mysqlnd_qc_clear_cache' => 'Safe\\mysqlnd_qc_clear_cache', 'mysqlnd_qc_set_is_select' => 'Safe\\mysqlnd_qc_set_is_select', 'mysqlnd_qc_set_storage_handler' => 'Safe\\mysqlnd_qc_set_storage_handler', 'mysql_close' => 'Safe\\mysql_close', 'mysql_connect' => 'Safe\\mysql_connect', 'mysql_create_db' => 'Safe\\mysql_create_db', 'mysql_data_seek' => 'Safe\\mysql_data_seek', 'mysql_db_name' => 'Safe\\mysql_db_name', 'mysql_db_query' => 'Safe\\mysql_db_query', 'mysql_drop_db' => 'Safe\\mysql_drop_db', 'mysql_fetch_lengths' => 'Safe\\mysql_fetch_lengths', 'mysql_field_flags' => 'Safe\\mysql_field_flags', 'mysql_field_len' => 'Safe\\mysql_field_len', 'mysql_field_name' => 'Safe\\mysql_field_name', 'mysql_field_seek' => 'Safe\\mysql_field_seek', 'mysql_free_result' => 'Safe\\mysql_free_result', 'mysql_get_host_info' => 'Safe\\mysql_get_host_info', 'mysql_get_proto_info' => 'Safe\\mysql_get_proto_info', 'mysql_get_server_info' => 'Safe\\mysql_get_server_info', 'mysql_info' => 'Safe\\mysql_info', 'mysql_list_dbs' => 'Safe\\mysql_list_dbs', 'mysql_list_fields' => 'Safe\\mysql_list_fields', 'mysql_list_processes' => 'Safe\\mysql_list_processes', 'mysql_list_tables' => 'Safe\\mysql_list_tables', 'mysql_num_fields' => 'Safe\\mysql_num_fields', 'mysql_num_rows' => 'Safe\\mysql_num_rows', 'mysql_query' => 'Safe\\mysql_query', 'mysql_real_escape_string' => 'Safe\\mysql_real_escape_string', 'mysql_result' => 'Safe\\mysql_result', 'mysql_select_db' => 'Safe\\mysql_select_db', 'mysql_set_charset' => 'Safe\\mysql_set_charset', 'mysql_tablename' => 'Safe\\mysql_tablename', 'mysql_thread_id' => 'Safe\\mysql_thread_id', 'mysql_unbuffered_query' => 'Safe\\mysql_unbuffered_query', 'natcasesort' => 'Safe\\natcasesort', 'natsort' => 'Safe\\natsort', 'ob_end_clean' => 'Safe\\ob_end_clean', 'ob_end_flush' => 'Safe\\ob_end_flush', 'oci_bind_array_by_name' => 'Safe\\oci_bind_array_by_name', 'oci_bind_by_name' => 'Safe\\oci_bind_by_name', 'oci_cancel' => 'Safe\\oci_cancel', 'oci_close' => 'Safe\\oci_close', 'oci_commit' => 'Safe\\oci_commit', 'oci_connect' => 'Safe\\oci_connect', 'oci_define_by_name' => 'Safe\\oci_define_by_name', 'oci_execute' => 'Safe\\oci_execute', 'oci_fetch_all' => 'Safe\\oci_fetch_all', 'oci_field_name' => 'Safe\\oci_field_name', 'oci_field_precision' => 'Safe\\oci_field_precision', 'oci_field_scale' => 'Safe\\oci_field_scale', 'oci_field_size' => 'Safe\\oci_field_size', 'oci_field_type' => 'Safe\\oci_field_type', 'oci_field_type_raw' => 'Safe\\oci_field_type_raw', 'oci_free_descriptor' => 'Safe\\oci_free_descriptor', 'oci_free_statement' => 'Safe\\oci_free_statement', 'oci_new_collection' => 'Safe\\oci_new_collection', 'oci_new_connect' => 'Safe\\oci_new_connect', 'oci_new_cursor' => 'Safe\\oci_new_cursor', 'oci_new_descriptor' => 'Safe\\oci_new_descriptor', 'oci_num_fields' => 'Safe\\oci_num_fields', 'oci_num_rows' => 'Safe\\oci_num_rows', 'oci_parse' => 'Safe\\oci_parse', 'oci_pconnect' => 'Safe\\oci_pconnect', 'oci_result' => 'Safe\\oci_result', 'oci_rollback' => 'Safe\\oci_rollback', 'oci_server_version' => 'Safe\\oci_server_version', 'oci_set_action' => 'Safe\\oci_set_action', 'oci_set_call_timeout' => 'Safe\\oci_set_call_timeout', 'oci_set_client_identifier' => 'Safe\\oci_set_client_identifier', 'oci_set_client_info' => 'Safe\\oci_set_client_info', 'oci_set_db_operation' => 'Safe\\oci_set_db_operation', 'oci_set_edition' => 'Safe\\oci_set_edition', 'oci_set_module_name' => 'Safe\\oci_set_module_name', 'oci_set_prefetch' => 'Safe\\oci_set_prefetch', 'oci_statement_type' => 'Safe\\oci_statement_type', 'oci_unregister_taf_callback' => 'Safe\\oci_unregister_taf_callback', 'odbc_autocommit' => 'Safe\\odbc_autocommit', 'odbc_binmode' => 'Safe\\odbc_binmode', 'odbc_columnprivileges' => 'Safe\\odbc_columnprivileges', 'odbc_columns' => 'Safe\\odbc_columns', 'odbc_commit' => 'Safe\\odbc_commit', 'odbc_data_source' => 'Safe\\odbc_data_source', 'odbc_exec' => 'Safe\\odbc_exec', 'odbc_execute' => 'Safe\\odbc_execute', 'odbc_fetch_into' => 'Safe\\odbc_fetch_into', 'odbc_field_len' => 'Safe\\odbc_field_len', 'odbc_field_name' => 'Safe\\odbc_field_name', 'odbc_field_num' => 'Safe\\odbc_field_num', 'odbc_field_scale' => 'Safe\\odbc_field_scale', 'odbc_field_type' => 'Safe\\odbc_field_type', 'odbc_foreignkeys' => 'Safe\\odbc_foreignkeys', 'odbc_gettypeinfo' => 'Safe\\odbc_gettypeinfo', 'odbc_longreadlen' => 'Safe\\odbc_longreadlen', 'odbc_prepare' => 'Safe\\odbc_prepare', 'odbc_primarykeys' => 'Safe\\odbc_primarykeys', 'odbc_result' => 'Safe\\odbc_result', 'odbc_result_all' => 'Safe\\odbc_result_all', 'odbc_rollback' => 'Safe\\odbc_rollback', 'odbc_setoption' => 'Safe\\odbc_setoption', 'odbc_specialcolumns' => 'Safe\\odbc_specialcolumns', 'odbc_statistics' => 'Safe\\odbc_statistics', 'odbc_tableprivileges' => 'Safe\\odbc_tableprivileges', 'odbc_tables' => 'Safe\\odbc_tables', 'opcache_compile_file' => 'Safe\\opcache_compile_file', 'opcache_get_status' => 'Safe\\opcache_get_status', 'opendir' => 'Safe\\opendir', 'openlog' => 'Safe\\openlog', 'openssl_cipher_iv_length' => 'Safe\\openssl_cipher_iv_length', 'openssl_csr_export' => 'Safe\\openssl_csr_export', 'openssl_csr_export_to_file' => 'Safe\\openssl_csr_export_to_file', 'openssl_csr_get_subject' => 'Safe\\openssl_csr_get_subject', 'openssl_csr_new' => 'Safe\\openssl_csr_new', 'openssl_csr_sign' => 'Safe\\openssl_csr_sign', 'openssl_decrypt' => 'Safe\\openssl_decrypt', 'openssl_dh_compute_key' => 'Safe\\openssl_dh_compute_key', 'openssl_digest' => 'Safe\\openssl_digest', 'openssl_encrypt' => 'Safe\\openssl_encrypt', 'openssl_open' => 'Safe\\openssl_open', 'openssl_pbkdf2' => 'Safe\\openssl_pbkdf2', 'openssl_pkcs7_decrypt' => 'Safe\\openssl_pkcs7_decrypt', 'openssl_pkcs7_encrypt' => 'Safe\\openssl_pkcs7_encrypt', 'openssl_pkcs7_read' => 'Safe\\openssl_pkcs7_read', 'openssl_pkcs7_sign' => 'Safe\\openssl_pkcs7_sign', 'openssl_pkcs12_export' => 'Safe\\openssl_pkcs12_export', 'openssl_pkcs12_export_to_file' => 'Safe\\openssl_pkcs12_export_to_file', 'openssl_pkcs12_read' => 'Safe\\openssl_pkcs12_read', 'openssl_pkey_export' => 'Safe\\openssl_pkey_export', 'openssl_pkey_export_to_file' => 'Safe\\openssl_pkey_export_to_file', 'openssl_pkey_get_private' => 'Safe\\openssl_pkey_get_private', 'openssl_pkey_get_public' => 'Safe\\openssl_pkey_get_public', 'openssl_pkey_new' => 'Safe\\openssl_pkey_new', 'openssl_private_decrypt' => 'Safe\\openssl_private_decrypt', 'openssl_private_encrypt' => 'Safe\\openssl_private_encrypt', 'openssl_public_decrypt' => 'Safe\\openssl_public_decrypt', 'openssl_public_encrypt' => 'Safe\\openssl_public_encrypt', 'openssl_random_pseudo_bytes' => 'Safe\\openssl_random_pseudo_bytes', 'openssl_seal' => 'Safe\\openssl_seal', 'openssl_sign' => 'Safe\\openssl_sign', 'openssl_x509_export' => 'Safe\\openssl_x509_export', 'openssl_x509_export_to_file' => 'Safe\\openssl_x509_export_to_file', 'openssl_x509_fingerprint' => 'Safe\\openssl_x509_fingerprint', 'openssl_x509_read' => 'Safe\\openssl_x509_read', 'output_add_rewrite_var' => 'Safe\\output_add_rewrite_var', 'output_reset_rewrite_vars' => 'Safe\\output_reset_rewrite_vars', 'parse_ini_file' => 'Safe\\parse_ini_file', 'parse_ini_string' => 'Safe\\parse_ini_string', 'parse_url' => 'Safe\\parse_url', 'password_hash' => 'Safe\\password_hash', 'pcntl_exec' => 'Safe\\pcntl_exec', 'pcntl_getpriority' => 'Safe\\pcntl_getpriority', 'pcntl_setpriority' => 'Safe\\pcntl_setpriority', 'pcntl_signal_dispatch' => 'Safe\\pcntl_signal_dispatch', 'pcntl_sigprocmask' => 'Safe\\pcntl_sigprocmask', 'pcntl_strerror' => 'Safe\\pcntl_strerror', 'PDF_activate_item' => 'Safe\\PDF_activate_item', 'PDF_add_locallink' => 'Safe\\PDF_add_locallink', 'PDF_add_nameddest' => 'Safe\\PDF_add_nameddest', 'PDF_add_note' => 'Safe\\PDF_add_note', 'PDF_add_pdflink' => 'Safe\\PDF_add_pdflink', 'PDF_add_thumbnail' => 'Safe\\PDF_add_thumbnail', 'PDF_add_weblink' => 'Safe\\PDF_add_weblink', 'PDF_attach_file' => 'Safe\\PDF_attach_file', 'PDF_begin_layer' => 'Safe\\PDF_begin_layer', 'PDF_begin_page' => 'Safe\\PDF_begin_page', 'PDF_begin_page_ext' => 'Safe\\PDF_begin_page_ext', 'PDF_circle' => 'Safe\\PDF_circle', 'PDF_clip' => 'Safe\\PDF_clip', 'PDF_close' => 'Safe\\PDF_close', 'PDF_closepath' => 'Safe\\PDF_closepath', 'PDF_closepath_fill_stroke' => 'Safe\\PDF_closepath_fill_stroke', 'PDF_closepath_stroke' => 'Safe\\PDF_closepath_stroke', 'PDF_close_pdi' => 'Safe\\PDF_close_pdi', 'PDF_close_pdi_page' => 'Safe\\PDF_close_pdi_page', 'PDF_concat' => 'Safe\\PDF_concat', 'PDF_continue_text' => 'Safe\\PDF_continue_text', 'PDF_curveto' => 'Safe\\PDF_curveto', 'PDF_delete' => 'Safe\\PDF_delete', 'PDF_end_layer' => 'Safe\\PDF_end_layer', 'PDF_end_page' => 'Safe\\PDF_end_page', 'PDF_end_page_ext' => 'Safe\\PDF_end_page_ext', 'PDF_end_pattern' => 'Safe\\PDF_end_pattern', 'PDF_end_template' => 'Safe\\PDF_end_template', 'PDF_fill' => 'Safe\\PDF_fill', 'PDF_fill_stroke' => 'Safe\\PDF_fill_stroke', 'PDF_fit_image' => 'Safe\\PDF_fit_image', 'PDF_fit_pdi_page' => 'Safe\\PDF_fit_pdi_page', 'PDF_fit_textline' => 'Safe\\PDF_fit_textline', 'PDF_initgraphics' => 'Safe\\PDF_initgraphics', 'PDF_lineto' => 'Safe\\PDF_lineto', 'PDF_makespotcolor' => 'Safe\\PDF_makespotcolor', 'PDF_moveto' => 'Safe\\PDF_moveto', 'PDF_open_file' => 'Safe\\PDF_open_file', 'PDF_place_image' => 'Safe\\PDF_place_image', 'PDF_place_pdi_page' => 'Safe\\PDF_place_pdi_page', 'PDF_rect' => 'Safe\\PDF_rect', 'PDF_restore' => 'Safe\\PDF_restore', 'PDF_rotate' => 'Safe\\PDF_rotate', 'PDF_save' => 'Safe\\PDF_save', 'PDF_scale' => 'Safe\\PDF_scale', 'PDF_setcolor' => 'Safe\\PDF_setcolor', 'PDF_setdash' => 'Safe\\PDF_setdash', 'PDF_setdashpattern' => 'Safe\\PDF_setdashpattern', 'PDF_setflat' => 'Safe\\PDF_setflat', 'PDF_setfont' => 'Safe\\PDF_setfont', 'PDF_setgray' => 'Safe\\PDF_setgray', 'PDF_setgray_fill' => 'Safe\\PDF_setgray_fill', 'PDF_setgray_stroke' => 'Safe\\PDF_setgray_stroke', 'PDF_setlinejoin' => 'Safe\\PDF_setlinejoin', 'PDF_setlinewidth' => 'Safe\\PDF_setlinewidth', 'PDF_setmatrix' => 'Safe\\PDF_setmatrix', 'PDF_setmiterlimit' => 'Safe\\PDF_setmiterlimit', 'PDF_setrgbcolor' => 'Safe\\PDF_setrgbcolor', 'PDF_setrgbcolor_fill' => 'Safe\\PDF_setrgbcolor_fill', 'PDF_setrgbcolor_stroke' => 'Safe\\PDF_setrgbcolor_stroke', 'PDF_set_border_color' => 'Safe\\PDF_set_border_color', 'PDF_set_border_dash' => 'Safe\\PDF_set_border_dash', 'PDF_set_border_style' => 'Safe\\PDF_set_border_style', 'PDF_set_info' => 'Safe\\PDF_set_info', 'PDF_set_layer_dependency' => 'Safe\\PDF_set_layer_dependency', 'PDF_set_parameter' => 'Safe\\PDF_set_parameter', 'PDF_set_text_pos' => 'Safe\\PDF_set_text_pos', 'PDF_set_value' => 'Safe\\PDF_set_value', 'PDF_show' => 'Safe\\PDF_show', 'PDF_show_xy' => 'Safe\\PDF_show_xy', 'PDF_skew' => 'Safe\\PDF_skew', 'PDF_stroke' => 'Safe\\PDF_stroke', 'pg_cancel_query' => 'Safe\\pg_cancel_query', 'pg_client_encoding' => 'Safe\\pg_client_encoding', 'pg_close' => 'Safe\\pg_close', 'pg_connect' => 'Safe\\pg_connect', 'pg_connection_reset' => 'Safe\\pg_connection_reset', 'pg_convert' => 'Safe\\pg_convert', 'pg_copy_from' => 'Safe\\pg_copy_from', 'pg_copy_to' => 'Safe\\pg_copy_to', 'pg_dbname' => 'Safe\\pg_dbname', 'pg_delete' => 'Safe\\pg_delete', 'pg_end_copy' => 'Safe\\pg_end_copy', 'pg_execute' => 'Safe\\pg_execute', 'pg_field_name' => 'Safe\\pg_field_name', 'pg_field_table' => 'Safe\\pg_field_table', 'pg_field_type' => 'Safe\\pg_field_type', 'pg_flush' => 'Safe\\pg_flush', 'pg_free_result' => 'Safe\\pg_free_result', 'pg_host' => 'Safe\\pg_host', 'pg_insert' => 'Safe\\pg_insert', 'pg_last_error' => 'Safe\\pg_last_error', 'pg_last_notice' => 'Safe\\pg_last_notice', 'pg_last_oid' => 'Safe\\pg_last_oid', 'pg_lo_close' => 'Safe\\pg_lo_close', 'pg_lo_export' => 'Safe\\pg_lo_export', 'pg_lo_import' => 'Safe\\pg_lo_import', 'pg_lo_open' => 'Safe\\pg_lo_open', 'pg_lo_read' => 'Safe\\pg_lo_read', 'pg_lo_read_all' => 'Safe\\pg_lo_read_all', 'pg_lo_seek' => 'Safe\\pg_lo_seek', 'pg_lo_truncate' => 'Safe\\pg_lo_truncate', 'pg_lo_unlink' => 'Safe\\pg_lo_unlink', 'pg_lo_write' => 'Safe\\pg_lo_write', 'pg_meta_data' => 'Safe\\pg_meta_data', 'pg_options' => 'Safe\\pg_options', 'pg_parameter_status' => 'Safe\\pg_parameter_status', 'pg_pconnect' => 'Safe\\pg_pconnect', 'pg_ping' => 'Safe\\pg_ping', 'pg_port' => 'Safe\\pg_port', 'pg_prepare' => 'Safe\\pg_prepare', 'pg_put_line' => 'Safe\\pg_put_line', 'pg_query' => 'Safe\\pg_query', 'pg_query_params' => 'Safe\\pg_query_params', 'pg_result_error_field' => 'Safe\\pg_result_error_field', 'pg_result_seek' => 'Safe\\pg_result_seek', 'pg_select' => 'Safe\\pg_select', 'pg_send_execute' => 'Safe\\pg_send_execute', 'pg_send_prepare' => 'Safe\\pg_send_prepare', 'pg_send_query' => 'Safe\\pg_send_query', 'pg_send_query_params' => 'Safe\\pg_send_query_params', 'pg_socket' => 'Safe\\pg_socket', 'pg_trace' => 'Safe\\pg_trace', 'pg_tty' => 'Safe\\pg_tty', 'pg_update' => 'Safe\\pg_update', 'pg_version' => 'Safe\\pg_version', 'phpcredits' => 'Safe\\phpcredits', 'phpinfo' => 'Safe\\phpinfo', 'png2wbmp' => 'Safe\\png2wbmp', 'posix_access' => 'Safe\\posix_access', 'posix_getgrnam' => 'Safe\\posix_getgrnam', 'posix_getpgid' => 'Safe\\posix_getpgid', 'posix_initgroups' => 'Safe\\posix_initgroups', 'posix_kill' => 'Safe\\posix_kill', 'posix_mkfifo' => 'Safe\\posix_mkfifo', 'posix_mknod' => 'Safe\\posix_mknod', 'posix_setegid' => 'Safe\\posix_setegid', 'posix_seteuid' => 'Safe\\posix_seteuid', 'posix_setgid' => 'Safe\\posix_setgid', 'posix_setpgid' => 'Safe\\posix_setpgid', 'posix_setrlimit' => 'Safe\\posix_setrlimit', 'posix_setuid' => 'Safe\\posix_setuid', 'preg_match' => 'Safe\\preg_match', 'preg_match_all' => 'Safe\\preg_match_all', 'preg_replace' => 'Safe\\preg_replace', 'preg_split' => 'Safe\\preg_split', 'proc_get_status' => 'Safe\\proc_get_status', 'proc_nice' => 'Safe\\proc_nice', 'pspell_add_to_personal' => 'Safe\\pspell_add_to_personal', 'pspell_add_to_session' => 'Safe\\pspell_add_to_session', 'pspell_clear_session' => 'Safe\\pspell_clear_session', 'pspell_config_create' => 'Safe\\pspell_config_create', 'pspell_config_data_dir' => 'Safe\\pspell_config_data_dir', 'pspell_config_dict_dir' => 'Safe\\pspell_config_dict_dir', 'pspell_config_ignore' => 'Safe\\pspell_config_ignore', 'pspell_config_mode' => 'Safe\\pspell_config_mode', 'pspell_config_personal' => 'Safe\\pspell_config_personal', 'pspell_config_repl' => 'Safe\\pspell_config_repl', 'pspell_config_runtogether' => 'Safe\\pspell_config_runtogether', 'pspell_config_save_repl' => 'Safe\\pspell_config_save_repl', 'pspell_new' => 'Safe\\pspell_new', 'pspell_new_config' => 'Safe\\pspell_new_config', 'pspell_save_wordlist' => 'Safe\\pspell_save_wordlist', 'pspell_store_replacement' => 'Safe\\pspell_store_replacement', 'ps_add_launchlink' => 'Safe\\ps_add_launchlink', 'ps_add_locallink' => 'Safe\\ps_add_locallink', 'ps_add_note' => 'Safe\\ps_add_note', 'ps_add_pdflink' => 'Safe\\ps_add_pdflink', 'ps_add_weblink' => 'Safe\\ps_add_weblink', 'ps_arc' => 'Safe\\ps_arc', 'ps_arcn' => 'Safe\\ps_arcn', 'ps_begin_page' => 'Safe\\ps_begin_page', 'ps_begin_pattern' => 'Safe\\ps_begin_pattern', 'ps_begin_template' => 'Safe\\ps_begin_template', 'ps_circle' => 'Safe\\ps_circle', 'ps_clip' => 'Safe\\ps_clip', 'ps_close' => 'Safe\\ps_close', 'ps_closepath' => 'Safe\\ps_closepath', 'ps_closepath_stroke' => 'Safe\\ps_closepath_stroke', 'ps_close_image' => 'Safe\\ps_close_image', 'ps_continue_text' => 'Safe\\ps_continue_text', 'ps_curveto' => 'Safe\\ps_curveto', 'ps_delete' => 'Safe\\ps_delete', 'ps_end_page' => 'Safe\\ps_end_page', 'ps_end_pattern' => 'Safe\\ps_end_pattern', 'ps_end_template' => 'Safe\\ps_end_template', 'ps_fill' => 'Safe\\ps_fill', 'ps_fill_stroke' => 'Safe\\ps_fill_stroke', 'ps_get_parameter' => 'Safe\\ps_get_parameter', 'ps_hyphenate' => 'Safe\\ps_hyphenate', 'ps_include_file' => 'Safe\\ps_include_file', 'ps_lineto' => 'Safe\\ps_lineto', 'ps_moveto' => 'Safe\\ps_moveto', 'ps_new' => 'Safe\\ps_new', 'ps_open_file' => 'Safe\\ps_open_file', 'ps_place_image' => 'Safe\\ps_place_image', 'ps_rect' => 'Safe\\ps_rect', 'ps_restore' => 'Safe\\ps_restore', 'ps_rotate' => 'Safe\\ps_rotate', 'ps_save' => 'Safe\\ps_save', 'ps_scale' => 'Safe\\ps_scale', 'ps_setcolor' => 'Safe\\ps_setcolor', 'ps_setdash' => 'Safe\\ps_setdash', 'ps_setflat' => 'Safe\\ps_setflat', 'ps_setfont' => 'Safe\\ps_setfont', 'ps_setgray' => 'Safe\\ps_setgray', 'ps_setlinecap' => 'Safe\\ps_setlinecap', 'ps_setlinejoin' => 'Safe\\ps_setlinejoin', 'ps_setlinewidth' => 'Safe\\ps_setlinewidth', 'ps_setmiterlimit' => 'Safe\\ps_setmiterlimit', 'ps_setoverprintmode' => 'Safe\\ps_setoverprintmode', 'ps_setpolydash' => 'Safe\\ps_setpolydash', 'ps_set_border_color' => 'Safe\\ps_set_border_color', 'ps_set_border_dash' => 'Safe\\ps_set_border_dash', 'ps_set_border_style' => 'Safe\\ps_set_border_style', 'ps_set_info' => 'Safe\\ps_set_info', 'ps_set_parameter' => 'Safe\\ps_set_parameter', 'ps_set_text_pos' => 'Safe\\ps_set_text_pos', 'ps_set_value' => 'Safe\\ps_set_value', 'ps_shading' => 'Safe\\ps_shading', 'ps_shading_pattern' => 'Safe\\ps_shading_pattern', 'ps_shfill' => 'Safe\\ps_shfill', 'ps_show' => 'Safe\\ps_show', 'ps_show2' => 'Safe\\ps_show2', 'ps_show_xy' => 'Safe\\ps_show_xy', 'ps_show_xy2' => 'Safe\\ps_show_xy2', 'ps_stroke' => 'Safe\\ps_stroke', 'ps_symbol' => 'Safe\\ps_symbol', 'ps_translate' => 'Safe\\ps_translate', 'putenv' => 'Safe\\putenv', 'readfile' => 'Safe\\readfile', 'readgzfile' => 'Safe\\readgzfile', 'readline_add_history' => 'Safe\\readline_add_history', 'readline_callback_handler_install' => 'Safe\\readline_callback_handler_install', 'readline_clear_history' => 'Safe\\readline_clear_history', 'readline_completion_function' => 'Safe\\readline_completion_function', 'readline_read_history' => 'Safe\\readline_read_history', 'readline_write_history' => 'Safe\\readline_write_history', 'readlink' => 'Safe\\readlink', 'realpath' => 'Safe\\realpath', 'register_tick_function' => 'Safe\\register_tick_function', 'rename' => 'Safe\\rename', 'rewind' => 'Safe\\rewind', 'rewinddir' => 'Safe\\rewinddir', 'rmdir' => 'Safe\\rmdir', 'rrd_create' => 'Safe\\rrd_create', 'rsort' => 'Safe\\rsort', 'sapi_windows_cp_conv' => 'Safe\\sapi_windows_cp_conv', 'sapi_windows_cp_set' => 'Safe\\sapi_windows_cp_set', 'sapi_windows_generate_ctrl_event' => 'Safe\\sapi_windows_generate_ctrl_event', 'sapi_windows_vt100_support' => 'Safe\\sapi_windows_vt100_support', 'scandir' => 'Safe\\scandir', 'sem_acquire' => 'Safe\\sem_acquire', 'sem_get' => 'Safe\\sem_get', 'sem_release' => 'Safe\\sem_release', 'sem_remove' => 'Safe\\sem_remove', 'session_abort' => 'Safe\\session_abort', 'session_decode' => 'Safe\\session_decode', 'session_destroy' => 'Safe\\session_destroy', 'session_regenerate_id' => 'Safe\\session_regenerate_id', 'session_reset' => 'Safe\\session_reset', 'session_unset' => 'Safe\\session_unset', 'session_write_close' => 'Safe\\session_write_close', 'settype' => 'Safe\\settype', 'set_include_path' => 'Safe\\set_include_path', 'set_time_limit' => 'Safe\\set_time_limit', 'sha1_file' => 'Safe\\sha1_file', 'shmop_delete' => 'Safe\\shmop_delete', 'shmop_read' => 'Safe\\shmop_read', 'shmop_write' => 'Safe\\shmop_write', 'shm_put_var' => 'Safe\\shm_put_var', 'shm_remove' => 'Safe\\shm_remove', 'shm_remove_var' => 'Safe\\shm_remove_var', 'shuffle' => 'Safe\\shuffle', 'simplexml_import_dom' => 'Safe\\simplexml_import_dom', 'simplexml_load_file' => 'Safe\\simplexml_load_file', 'simplexml_load_string' => 'Safe\\simplexml_load_string', 'sleep' => 'Safe\\sleep', 'socket_accept' => 'Safe\\socket_accept', 'socket_addrinfo_bind' => 'Safe\\socket_addrinfo_bind', 'socket_addrinfo_connect' => 'Safe\\socket_addrinfo_connect', 'socket_bind' => 'Safe\\socket_bind', 'socket_connect' => 'Safe\\socket_connect', 'socket_create' => 'Safe\\socket_create', 'socket_create_listen' => 'Safe\\socket_create_listen', 'socket_create_pair' => 'Safe\\socket_create_pair', 'socket_export_stream' => 'Safe\\socket_export_stream', 'socket_getpeername' => 'Safe\\socket_getpeername', 'socket_getsockname' => 'Safe\\socket_getsockname', 'socket_get_option' => 'Safe\\socket_get_option', 'socket_import_stream' => 'Safe\\socket_import_stream', 'socket_listen' => 'Safe\\socket_listen', 'socket_read' => 'Safe\\socket_read', 'socket_send' => 'Safe\\socket_send', 'socket_sendmsg' => 'Safe\\socket_sendmsg', 'socket_sendto' => 'Safe\\socket_sendto', 'socket_set_block' => 'Safe\\socket_set_block', 'socket_set_nonblock' => 'Safe\\socket_set_nonblock', 'socket_set_option' => 'Safe\\socket_set_option', 'socket_shutdown' => 'Safe\\socket_shutdown', 'socket_write' => 'Safe\\socket_write', 'socket_wsaprotocol_info_export' => 'Safe\\socket_wsaprotocol_info_export', 'socket_wsaprotocol_info_import' => 'Safe\\socket_wsaprotocol_info_import', 'socket_wsaprotocol_info_release' => 'Safe\\socket_wsaprotocol_info_release', 'sodium_crypto_pwhash' => 'Safe\\sodium_crypto_pwhash', 'sodium_crypto_pwhash_str' => 'Safe\\sodium_crypto_pwhash_str', 'solr_get_version' => 'Safe\\solr_get_version', 'sort' => 'Safe\\sort', 'soundex' => 'Safe\\soundex', 'spl_autoload_register' => 'Safe\\spl_autoload_register', 'spl_autoload_unregister' => 'Safe\\spl_autoload_unregister', 'sprintf' => 'Safe\\sprintf', 'sqlsrv_begin_transaction' => 'Safe\\sqlsrv_begin_transaction', 'sqlsrv_cancel' => 'Safe\\sqlsrv_cancel', 'sqlsrv_client_info' => 'Safe\\sqlsrv_client_info', 'sqlsrv_close' => 'Safe\\sqlsrv_close', 'sqlsrv_commit' => 'Safe\\sqlsrv_commit', 'sqlsrv_configure' => 'Safe\\sqlsrv_configure', 'sqlsrv_execute' => 'Safe\\sqlsrv_execute', 'sqlsrv_free_stmt' => 'Safe\\sqlsrv_free_stmt', 'sqlsrv_get_field' => 'Safe\\sqlsrv_get_field', 'sqlsrv_next_result' => 'Safe\\sqlsrv_next_result', 'sqlsrv_num_fields' => 'Safe\\sqlsrv_num_fields', 'sqlsrv_num_rows' => 'Safe\\sqlsrv_num_rows', 'sqlsrv_prepare' => 'Safe\\sqlsrv_prepare', 'sqlsrv_query' => 'Safe\\sqlsrv_query', 'sqlsrv_rollback' => 'Safe\\sqlsrv_rollback', 'ssdeep_fuzzy_compare' => 'Safe\\ssdeep_fuzzy_compare', 'ssdeep_fuzzy_hash' => 'Safe\\ssdeep_fuzzy_hash', 'ssdeep_fuzzy_hash_filename' => 'Safe\\ssdeep_fuzzy_hash_filename', 'ssh2_auth_agent' => 'Safe\\ssh2_auth_agent', 'ssh2_auth_hostbased_file' => 'Safe\\ssh2_auth_hostbased_file', 'ssh2_auth_password' => 'Safe\\ssh2_auth_password', 'ssh2_auth_pubkey_file' => 'Safe\\ssh2_auth_pubkey_file', 'ssh2_connect' => 'Safe\\ssh2_connect', 'ssh2_disconnect' => 'Safe\\ssh2_disconnect', 'ssh2_exec' => 'Safe\\ssh2_exec', 'ssh2_publickey_add' => 'Safe\\ssh2_publickey_add', 'ssh2_publickey_init' => 'Safe\\ssh2_publickey_init', 'ssh2_publickey_remove' => 'Safe\\ssh2_publickey_remove', 'ssh2_scp_recv' => 'Safe\\ssh2_scp_recv', 'ssh2_scp_send' => 'Safe\\ssh2_scp_send', 'ssh2_sftp' => 'Safe\\ssh2_sftp', 'ssh2_sftp_chmod' => 'Safe\\ssh2_sftp_chmod', 'ssh2_sftp_mkdir' => 'Safe\\ssh2_sftp_mkdir', 'ssh2_sftp_rename' => 'Safe\\ssh2_sftp_rename', 'ssh2_sftp_rmdir' => 'Safe\\ssh2_sftp_rmdir', 'ssh2_sftp_symlink' => 'Safe\\ssh2_sftp_symlink', 'ssh2_sftp_unlink' => 'Safe\\ssh2_sftp_unlink', 'stats_covariance' => 'Safe\\stats_covariance', 'stats_standard_deviation' => 'Safe\\stats_standard_deviation', 'stats_stat_correlation' => 'Safe\\stats_stat_correlation', 'stats_stat_innerproduct' => 'Safe\\stats_stat_innerproduct', 'stats_variance' => 'Safe\\stats_variance', 'stream_context_set_params' => 'Safe\\stream_context_set_params', 'stream_copy_to_stream' => 'Safe\\stream_copy_to_stream', 'stream_filter_append' => 'Safe\\stream_filter_append', 'stream_filter_prepend' => 'Safe\\stream_filter_prepend', 'stream_filter_register' => 'Safe\\stream_filter_register', 'stream_filter_remove' => 'Safe\\stream_filter_remove', 'stream_get_contents' => 'Safe\\stream_get_contents', 'stream_isatty' => 'Safe\\stream_isatty', 'stream_resolve_include_path' => 'Safe\\stream_resolve_include_path', 'stream_set_blocking' => 'Safe\\stream_set_blocking', 'stream_set_timeout' => 'Safe\\stream_set_timeout', 'stream_socket_accept' => 'Safe\\stream_socket_accept', 'stream_socket_client' => 'Safe\\stream_socket_client', 'stream_socket_pair' => 'Safe\\stream_socket_pair', 'stream_socket_server' => 'Safe\\stream_socket_server', 'stream_socket_shutdown' => 'Safe\\stream_socket_shutdown', 'stream_supports_lock' => 'Safe\\stream_supports_lock', 'stream_wrapper_register' => 'Safe\\stream_wrapper_register', 'stream_wrapper_restore' => 'Safe\\stream_wrapper_restore', 'stream_wrapper_unregister' => 'Safe\\stream_wrapper_unregister', 'strptime' => 'Safe\\strptime', 'strtotime' => 'Safe\\strtotime', 'substr' => 'Safe\\substr', 'swoole_async_write' => 'Safe\\swoole_async_write', 'swoole_async_writefile' => 'Safe\\swoole_async_writefile', 'swoole_event_defer' => 'Safe\\swoole_event_defer', 'swoole_event_del' => 'Safe\\swoole_event_del', 'swoole_event_write' => 'Safe\\swoole_event_write', 'symlink' => 'Safe\\symlink', 'syslog' => 'Safe\\syslog', 'system' => 'Safe\\system', 'tempnam' => 'Safe\\tempnam', 'timezone_name_from_abbr' => 'Safe\\timezone_name_from_abbr', 'time_nanosleep' => 'Safe\\time_nanosleep', 'time_sleep_until' => 'Safe\\time_sleep_until', 'tmpfile' => 'Safe\\tmpfile', 'touch' => 'Safe\\touch', 'uasort' => 'Safe\\uasort', 'uksort' => 'Safe\\uksort', 'unlink' => 'Safe\\unlink', 'uopz_extend' => 'Safe\\uopz_extend', 'uopz_implement' => 'Safe\\uopz_implement', 'usort' => 'Safe\\usort', 'virtual' => 'Safe\\virtual', 'vsprintf' => 'Safe\\vsprintf', 'xdiff_file_bdiff' => 'Safe\\xdiff_file_bdiff', 'xdiff_file_bpatch' => 'Safe\\xdiff_file_bpatch', 'xdiff_file_diff' => 'Safe\\xdiff_file_diff', 'xdiff_file_diff_binary' => 'Safe\\xdiff_file_diff_binary', 'xdiff_file_patch_binary' => 'Safe\\xdiff_file_patch_binary', 'xdiff_file_rabdiff' => 'Safe\\xdiff_file_rabdiff', 'xdiff_string_bpatch' => 'Safe\\xdiff_string_bpatch', 'xdiff_string_patch' => 'Safe\\xdiff_string_patch', 'xdiff_string_patch_binary' => 'Safe\\xdiff_string_patch_binary', 'xmlrpc_set_type' => 'Safe\\xmlrpc_set_type', 'xml_parser_create' => 'Safe\\xml_parser_create', 'xml_parser_create_ns' => 'Safe\\xml_parser_create_ns', 'xml_set_object' => 'Safe\\xml_set_object', 'yaml_parse' => 'Safe\\yaml_parse', 'yaml_parse_file' => 'Safe\\yaml_parse_file', 'yaml_parse_url' => 'Safe\\yaml_parse_url', 'yaz_ccl_parse' => 'Safe\\yaz_ccl_parse', 'yaz_close' => 'Safe\\yaz_close', 'yaz_connect' => 'Safe\\yaz_connect', 'yaz_database' => 'Safe\\yaz_database', 'yaz_element' => 'Safe\\yaz_element', 'yaz_present' => 'Safe\\yaz_present', 'yaz_search' => 'Safe\\yaz_search', 'yaz_wait' => 'Safe\\yaz_wait', 'zip_entry_close' => 'Safe\\zip_entry_close', 'zip_entry_open' => 'Safe\\zip_entry_open', 'zip_entry_read' => 'Safe\\zip_entry_read', 'zlib_decode' => 'Safe\\zlib_decode']); }; diff --git a/docs/beyond_php_file_processors.md b/docs/beyond_php_file_processors.md index 6c1638a347c..96a6913d170 100644 --- a/docs/beyond_php_file_processors.md +++ b/docs/beyond_php_file_processors.md @@ -17,9 +17,7 @@ Let´s say you want to define a custom configuration where you want to update th All you have to do is using the ChangePackageVersionComposerRector: ```php -services(); $services->set(ChangePackageVersionComposerRector::class) - ->call('configure', [[ - // we use constant for keys to save you from typos - ChangePackageVersionComposerRector::PACKAGES_AND_VERSIONS => ValueObjectInliner::inline([ - new PackageAndVersion('symfony/yaml', '^5.0'), - ]), - ]]); + ->configure([ + new PackageAndVersion('symfony/yaml', '^5.0'), + ]); }; ``` There are some more rules related to manipulate your composer.json files. Let´s see them in action: ```php -set(AddPackageToRequireComposerRector::class) - ->call('configure', [[ - // we use constant for keys to save you from typos - AddPackageToRequireComposerRector::PACKAGES_AND_VERSIONS => ValueObjectInliner::inline([ - new PackageAndVersion('symfony/yaml', '^5.0'), - ]), - ]]); + ->configure([ + new PackageAndVersion('symfony/yaml', '^5.0'), + ]); // Add a package to the require dev section of your composer.json $services->set(AddPackageToRequireDevComposerRector::class) - ->call('configure', [[ - // we use constant for keys to save you from typos - AddPackageToRequireDevComposerRector::PACKAGES_AND_VERSIONS => ValueObjectInliner::inline([ - new PackageAndVersion('phpunit/phpunit', '^9.0'), - ]), - ]]); + ->configure([ + new PackageAndVersion('phpunit/phpunit', '^9.0'), + ]); // Remove a package from composer.json $services->set(RemovePackageComposerRector::class) - ->call('configure', [[ - // we use constant for keys to save you from typos - RemovePackageComposerRector::PACKAGE_NAMES => ['symfony/console'] - ]]); + ->configure([ + 'symfony/console' + ]); // Replace a package in the composer.json $services->set(ReplacePackageAndVersionComposerRector::class) - ->call('configure', [[ - // we use constant for keys to save you from typos - ReplacePackageAndVersionComposerRector::REPLACE_PACKAGES_AND_VERSIONS => ValueObjectInliner::inline([ - new ReplacePackageAndVersion('vendor1/package2', 'vendor2/package1', '^3.0'), - ]), - ]]); + ->configure([ + new ReplacePackageAndVersion('vendor1/package2', 'vendor2/package1', '^3.0'), + ]); }; ``` diff --git a/docs/how_to_configure_rules.md b/docs/how_to_configure_rules.md index 0bc338e03e3..d7de5fe5528 100644 --- a/docs/how_to_configure_rules.md +++ b/docs/how_to_configure_rules.md @@ -17,11 +17,8 @@ use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigura return static function (ContainerConfigurator $containerConfigurator): void { $services = $containerConfigurator->services(); $services->set(RenameClassRector::class) - ->call('configure', [[ - // we use constant for keys to save you from typos - RenameClassRector::OLD_TO_NEW_CLASSES => [ - 'App\SomeOldClass' => 'App\SomeNewClass', - ], - ]]); + ->configure([ + 'App\SomeOldClass' => 'App\SomeNewClass', + ]); }; ``` diff --git a/docs/rector_rules_overview.md b/docs/rector_rules_overview.md index afe6766c9c4..68e03559238 100644 --- a/docs/rector_rules_overview.md +++ b/docs/rector_rules_overview.md @@ -127,11 +127,9 @@ return static function (ContainerConfigurator $containerConfigurator): void { $services = $containerConfigurator->services(); $services->set(ArgumentAdderRector::class) - ->call('configure', [[ - ArgumentAdderRector::ADDED_ARGUMENTS => ValueObjectInliner::inline([ - new ArgumentAdder('SomeExampleClass', 'someMethod', 0, 'someArgument', true, new ObjectType('SomeType')), - ]), - ]]); + ->configure([ + new ArgumentAdder('SomeExampleClass', 'someMethod', 0, 'someArgument', true, new ObjectType('SomeType')), + ]); }; ``` diff --git a/rules/CodingStyle/Rector/MethodCall/PreferThisOrSelfMethodCallRector.php b/rules/CodingStyle/Rector/MethodCall/PreferThisOrSelfMethodCallRector.php index 53d3539907b..7e29882c1cc 100644 --- a/rules/CodingStyle/Rector/MethodCall/PreferThisOrSelfMethodCallRector.php +++ b/rules/CodingStyle/Rector/MethodCall/PreferThisOrSelfMethodCallRector.php @@ -90,6 +90,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $typeToPreference = $configuration[self::TYPE_TO_PREFERENCE] ?? $configuration; + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($typeToPreference); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($typeToPreference)); \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($typeToPreference, \Rector\CodingStyle\Enum\PreferenceSelfThis::class); $this->typeToPreference = $typeToPreference; } diff --git a/rules/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector.php b/rules/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector.php index 810f36d0478..baa99bbbdb8 100644 --- a/rules/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector.php +++ b/rules/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector.php @@ -141,11 +141,11 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - $safeTypes = $configuration[self::SAFE_TYPES] ?? $configuration; + $safeTypes = $configuration[self::SAFE_TYPES] ?? []; \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($safeTypes); \RectorPrefix20211130\Webmozart\Assert\Assert::allString($safeTypes); $this->safeTypes = $safeTypes; - $safeTypesToMethods = $configuration[self::SAFE_TYPES_TO_METHODS] ?? $configuration; + $safeTypesToMethods = $configuration[self::SAFE_TYPES_TO_METHODS] ?? []; \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($safeTypesToMethods); foreach ($safeTypesToMethods as $key => $value) { \RectorPrefix20211130\Webmozart\Assert\Assert::string($key); diff --git a/rules/DowngradePhp81/Rector/FuncCall/DowngradeFirstClassCallableSyntaxRector.php b/rules/DowngradePhp81/Rector/FuncCall/DowngradeFirstClassCallableSyntaxRector.php index 800ba133489..9b4c0d1812c 100644 --- a/rules/DowngradePhp81/Rector/FuncCall/DowngradeFirstClassCallableSyntaxRector.php +++ b/rules/DowngradePhp81/Rector/FuncCall/DowngradeFirstClassCallableSyntaxRector.php @@ -60,7 +60,7 @@ CODE_SAMPLE */ private function shouldSkip($node) : bool { - if (\count($node->args) !== 1) { + if (\count($node->getRawArgs()) !== 1) { return \true; } return !$node->args[0] instanceof \PhpParser\Node\VariadicPlaceholder; diff --git a/rules/Php71/Rector/FuncCall/RemoveExtraParametersRector.php b/rules/Php71/Rector/FuncCall/RemoveExtraParametersRector.php index 1a78ae8bbff..717e2595ca7 100644 --- a/rules/Php71/Rector/FuncCall/RemoveExtraParametersRector.php +++ b/rules/Php71/Rector/FuncCall/RemoveExtraParametersRector.php @@ -79,7 +79,7 @@ final class RemoveExtraParametersRector extends \Rector\Core\Rector\AbstractRect } } $maximumAllowedParameterCount = $this->resolveMaximumAllowedParameterCount($functionLikeReflection); - $numberOfArguments = \count($node->args); + $numberOfArguments = \count($node->getRawArgs()); if ($numberOfArguments <= $maximumAllowedParameterCount) { return null; } diff --git a/rules/Renaming/Rector/StaticCall/RenameStaticMethodRector.php b/rules/Renaming/Rector/StaticCall/RenameStaticMethodRector.php index 919072ba90e..3995689b214 100644 --- a/rules/Renaming/Rector/StaticCall/RenameStaticMethodRector.php +++ b/rules/Renaming/Rector/StaticCall/RenameStaticMethodRector.php @@ -64,7 +64,7 @@ final class RenameStaticMethodRector extends \Rector\Core\Rector\AbstractRector */ public function configure(array $configuration) : void { - $oldToNewMethodsByClasses = $configuration[self::OLD_TO_NEW_METHODS_BY_CLASSES]; + $oldToNewMethodsByClasses = $configuration[self::OLD_TO_NEW_METHODS_BY_CLASSES] ?? $configuration; \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($oldToNewMethodsByClasses, \Rector\Renaming\ValueObject\RenameStaticMethod::class); $this->staticMethodRenames = $oldToNewMethodsByClasses; } diff --git a/rules/Transform/Contract/ValueObject/ArgumentFuncCallToMethodCallInterface.php b/rules/Transform/Contract/ValueObject/ArgumentFuncCallToMethodCallInterface.php new file mode 100644 index 00000000000..a33df14906e --- /dev/null +++ b/rules/Transform/Contract/ValueObject/ArgumentFuncCallToMethodCallInterface.php @@ -0,0 +1,9 @@ +isName($node, $argumentFuncCallToMethodCall->getFunction())) { continue; } - return $this->refactorFuncCallToMethodCall($argumentFuncCallToMethodCall, $classLike, $node); - } - foreach ($this->arrayFunctionsToMethodCalls as $arrayFunctionToMethodCall) { - if (!$this->isName($node, $arrayFunctionToMethodCall->getFunction())) { - continue; + if ($argumentFuncCallToMethodCall instanceof \Rector\Transform\ValueObject\ArgumentFuncCallToMethodCall) { + return $this->refactorFuncCallToMethodCall($argumentFuncCallToMethodCall, $classLike, $node); + } elseif ($argumentFuncCallToMethodCall instanceof \Rector\Transform\ValueObject\ArrayFuncCallToMethodCall) { + return $this->refactorArrayFunctionToMethodCall($argumentFuncCallToMethodCall, $node, $classLike); } - return $this->refactorArrayFunctionToMethodCall($arrayFunctionToMethodCall, $node, $classLike); } return null; } @@ -134,11 +125,9 @@ CODE_SAMPLE public function configure(array $configuration) : void { $functionToMethodCalls = $configuration[self::FUNCTIONS_TO_METHOD_CALLS] ?? $configuration; - \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($functionToMethodCalls, \Rector\Transform\ValueObject\ArgumentFuncCallToMethodCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($functionToMethodCalls); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($functionToMethodCalls, \Rector\Transform\Contract\ValueObject\ArgumentFuncCallToMethodCallInterface::class); $this->argumentFuncCallToMethodCalls = $functionToMethodCalls; - $arrayFunctionsToMethodCalls = $configuration[self::ARRAY_FUNCTIONS_TO_METHOD_CALLS] ?? $configuration; - \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($arrayFunctionsToMethodCalls, \Rector\Transform\ValueObject\ArrayFuncCallToMethodCall::class); - $this->arrayFunctionsToMethodCalls = $arrayFunctionsToMethodCalls; } private function shouldSkipFuncCall(\PhpParser\Node\Expr\FuncCall $funcCall) : bool { diff --git a/rules/Transform/ValueObject/ArgumentFuncCallToMethodCall.php b/rules/Transform/ValueObject/ArgumentFuncCallToMethodCall.php index cbd4e6846f6..8ff0ac199da 100644 --- a/rules/Transform/ValueObject/ArgumentFuncCallToMethodCall.php +++ b/rules/Transform/ValueObject/ArgumentFuncCallToMethodCall.php @@ -3,7 +3,8 @@ declare (strict_types=1); namespace Rector\Transform\ValueObject; -final class ArgumentFuncCallToMethodCall +use Rector\Transform\Contract\ValueObject\ArgumentFuncCallToMethodCallInterface; +final class ArgumentFuncCallToMethodCall implements \Rector\Transform\Contract\ValueObject\ArgumentFuncCallToMethodCallInterface { /** * @var string diff --git a/rules/Transform/ValueObject/ArrayFuncCallToMethodCall.php b/rules/Transform/ValueObject/ArrayFuncCallToMethodCall.php index 332ef6ce0ce..bd8ecb24ee0 100644 --- a/rules/Transform/ValueObject/ArrayFuncCallToMethodCall.php +++ b/rules/Transform/ValueObject/ArrayFuncCallToMethodCall.php @@ -3,7 +3,9 @@ declare (strict_types=1); namespace Rector\Transform\ValueObject; -final class ArrayFuncCallToMethodCall +use Rector\Core\Validation\RectorAssert; +use Rector\Transform\Contract\ValueObject\ArgumentFuncCallToMethodCallInterface; +final class ArrayFuncCallToMethodCall implements \Rector\Transform\Contract\ValueObject\ArgumentFuncCallToMethodCallInterface { /** * @var \non-empty-string @@ -33,6 +35,7 @@ final class ArrayFuncCallToMethodCall $this->class = $class; $this->arrayMethod = $arrayMethod; $this->nonArrayMethod = $nonArrayMethod; + \Rector\Core\Validation\RectorAssert::className($class); } public function getFunction() : string { diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 89e7f2d4682..abd502b904b 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -16,11 +16,11 @@ final class VersionResolver /** * @var string */ - public const PACKAGE_VERSION = 'd1fd98466e833573825fd0f35bd32b7dbe02264d'; + public const PACKAGE_VERSION = '58c8a93698dd3087905c1aa4233ca61c447c16d3'; /** * @var string */ - public const RELEASE_DATE = '2021-11-30 10:17:31'; + public const RELEASE_DATE = '2021-11-30 14:39:01'; public static function resolvePackageVersion() : string { $process = new \RectorPrefix20211130\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__); diff --git a/src/DependencyInjection/Collector/ConfigureCallValuesCollector.php b/src/DependencyInjection/Collector/ConfigureCallValuesCollector.php index 11d1825a7c2..6230c8843cd 100644 --- a/src/DependencyInjection/Collector/ConfigureCallValuesCollector.php +++ b/src/DependencyInjection/Collector/ConfigureCallValuesCollector.php @@ -3,6 +3,7 @@ declare (strict_types=1); namespace Rector\Core\DependencyInjection\Collector; +use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; use RectorPrefix20211130\Symplify\PackageBuilder\Yaml\ParametersMerger; final class ConfigureCallValuesCollector @@ -26,6 +27,9 @@ final class ConfigureCallValuesCollector { return $this->configureCallValuesByRectorClass[$rectorClass] ?? []; } + /** + * @param class-string $className + */ public function collectFromServiceAndClassName(string $className, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition) : void { foreach ($definition->getMethodCalls() as $methodCall) { @@ -36,11 +40,20 @@ final class ConfigureCallValuesCollector } } /** + * @param class-string $rectorClass * @param mixed[] $configureValues */ private function addConfigureCallValues(string $rectorClass, array $configureValues) : void { foreach ($configureValues as $configureValue) { + // is nested or unnested value? + if (\is_array($configureValue) && \count($configureValue) === 1) { + \reset($configureValue); + $firstKey = \key($configureValue); + if (\is_array($configureValue[$firstKey])) { + $configureValue = $configureValue[$firstKey]; + } + } if (!isset($this->configureCallValuesByRectorClass[$rectorClass])) { $this->configureCallValuesByRectorClass[$rectorClass] = $configureValue; } else { diff --git a/vendor/autoload.php b/vendor/autoload.php index 845c0e87079..1fbd924ad04 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit158aaae07c465694457e97031fc40e54::getLoader(); +return ComposerAutoloaderInitf5555a90cdff5c8f1bd0718519c94348::getLoader(); diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 1b58ca2c185..3815f00b238 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -2922,6 +2922,7 @@ return array( 'Rector\\Testing\\PHPUnit\\Behavior\\MultipleFilesChangedTrait' => $baseDir . '/packages/Testing/PHPUnit/Behavior/MultipleFilesChangedTrait.php', 'Rector\\Testing\\PHPUnit\\StaticPHPUnitEnvironment' => $baseDir . '/packages/Testing/PHPUnit/StaticPHPUnitEnvironment.php', 'Rector\\Testing\\TestingParser\\TestingParser' => $baseDir . '/packages/Testing/TestingParser/TestingParser.php', + 'Rector\\Transform\\Contract\\ValueObject\\ArgumentFuncCallToMethodCallInterface' => $baseDir . '/rules/Transform/Contract/ValueObject/ArgumentFuncCallToMethodCallInterface.php', 'Rector\\Transform\\NodeAnalyzer\\FuncCallStaticCallToMethodCallAnalyzer' => $baseDir . '/rules/Transform/NodeAnalyzer/FuncCallStaticCallToMethodCallAnalyzer.php', 'Rector\\Transform\\NodeAnalyzer\\SingletonClassMethodAnalyzer' => $baseDir . '/rules/Transform/NodeAnalyzer/SingletonClassMethodAnalyzer.php', 'Rector\\Transform\\NodeFactory\\PropertyFetchFactory' => $baseDir . '/rules/Transform/NodeFactory/PropertyFetchFactory.php', diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 94ab99a2229..5327c0e7c52 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit158aaae07c465694457e97031fc40e54 +class ComposerAutoloaderInitf5555a90cdff5c8f1bd0718519c94348 { private static $loader; @@ -22,15 +22,15 @@ class ComposerAutoloaderInit158aaae07c465694457e97031fc40e54 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit158aaae07c465694457e97031fc40e54', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitf5555a90cdff5c8f1bd0718519c94348', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); - spl_autoload_unregister(array('ComposerAutoloaderInit158aaae07c465694457e97031fc40e54', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitf5555a90cdff5c8f1bd0718519c94348', 'loadClassLoader')); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); if ($useStaticLoader) { require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit158aaae07c465694457e97031fc40e54::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInitf5555a90cdff5c8f1bd0718519c94348::getInitializer($loader)); } else { $classMap = require __DIR__ . '/autoload_classmap.php'; if ($classMap) { @@ -42,19 +42,19 @@ class ComposerAutoloaderInit158aaae07c465694457e97031fc40e54 $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInit158aaae07c465694457e97031fc40e54::$files; + $includeFiles = Composer\Autoload\ComposerStaticInitf5555a90cdff5c8f1bd0718519c94348::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire158aaae07c465694457e97031fc40e54($fileIdentifier, $file); + composerRequiref5555a90cdff5c8f1bd0718519c94348($fileIdentifier, $file); } return $loader; } } -function composerRequire158aaae07c465694457e97031fc40e54($fileIdentifier, $file) +function composerRequiref5555a90cdff5c8f1bd0718519c94348($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { require $file; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index c9109adefbe..a2c5a0d7687 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit158aaae07c465694457e97031fc40e54 +class ComposerStaticInitf5555a90cdff5c8f1bd0718519c94348 { public static $files = array ( 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', @@ -3319,6 +3319,7 @@ class ComposerStaticInit158aaae07c465694457e97031fc40e54 'Rector\\Testing\\PHPUnit\\Behavior\\MultipleFilesChangedTrait' => __DIR__ . '/../..' . '/packages/Testing/PHPUnit/Behavior/MultipleFilesChangedTrait.php', 'Rector\\Testing\\PHPUnit\\StaticPHPUnitEnvironment' => __DIR__ . '/../..' . '/packages/Testing/PHPUnit/StaticPHPUnitEnvironment.php', 'Rector\\Testing\\TestingParser\\TestingParser' => __DIR__ . '/../..' . '/packages/Testing/TestingParser/TestingParser.php', + 'Rector\\Transform\\Contract\\ValueObject\\ArgumentFuncCallToMethodCallInterface' => __DIR__ . '/../..' . '/rules/Transform/Contract/ValueObject/ArgumentFuncCallToMethodCallInterface.php', 'Rector\\Transform\\NodeAnalyzer\\FuncCallStaticCallToMethodCallAnalyzer' => __DIR__ . '/../..' . '/rules/Transform/NodeAnalyzer/FuncCallStaticCallToMethodCallAnalyzer.php', 'Rector\\Transform\\NodeAnalyzer\\SingletonClassMethodAnalyzer' => __DIR__ . '/../..' . '/rules/Transform/NodeAnalyzer/SingletonClassMethodAnalyzer.php', 'Rector\\Transform\\NodeFactory\\PropertyFetchFactory' => __DIR__ . '/../..' . '/rules/Transform/NodeFactory/PropertyFetchFactory.php', @@ -3789,9 +3790,9 @@ class ComposerStaticInit158aaae07c465694457e97031fc40e54 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit158aaae07c465694457e97031fc40e54::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit158aaae07c465694457e97031fc40e54::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit158aaae07c465694457e97031fc40e54::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInitf5555a90cdff5c8f1bd0718519c94348::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitf5555a90cdff5c8f1bd0718519c94348::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInitf5555a90cdff5c8f1bd0718519c94348::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/scoper-autoload.php b/vendor/scoper-autoload.php index a9101bc2ccf..a80c014ef3c 100644 --- a/vendor/scoper-autoload.php +++ b/vendor/scoper-autoload.php @@ -12,8 +12,8 @@ if (!class_exists('GenerateChangelogCommand', false) && !interface_exists('Gener if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) { spl_autoload_call('RectorPrefix20211130\AutoloadIncluder'); } -if (!class_exists('ComposerAutoloaderInit158aaae07c465694457e97031fc40e54', false) && !interface_exists('ComposerAutoloaderInit158aaae07c465694457e97031fc40e54', false) && !trait_exists('ComposerAutoloaderInit158aaae07c465694457e97031fc40e54', false)) { - spl_autoload_call('RectorPrefix20211130\ComposerAutoloaderInit158aaae07c465694457e97031fc40e54'); +if (!class_exists('ComposerAutoloaderInitf5555a90cdff5c8f1bd0718519c94348', false) && !interface_exists('ComposerAutoloaderInitf5555a90cdff5c8f1bd0718519c94348', false) && !trait_exists('ComposerAutoloaderInitf5555a90cdff5c8f1bd0718519c94348', false)) { + spl_autoload_call('RectorPrefix20211130\ComposerAutoloaderInitf5555a90cdff5c8f1bd0718519c94348'); } if (!class_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !interface_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !trait_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false)) { spl_autoload_call('RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Statement'); @@ -81,9 +81,9 @@ if (!function_exists('print_node')) { return \RectorPrefix20211130\print_node(...func_get_args()); } } -if (!function_exists('composerRequire158aaae07c465694457e97031fc40e54')) { - function composerRequire158aaae07c465694457e97031fc40e54() { - return \RectorPrefix20211130\composerRequire158aaae07c465694457e97031fc40e54(...func_get_args()); +if (!function_exists('composerRequiref5555a90cdff5c8f1bd0718519c94348')) { + function composerRequiref5555a90cdff5c8f1bd0718519c94348() { + return \RectorPrefix20211130\composerRequiref5555a90cdff5c8f1bd0718519c94348(...func_get_args()); } } if (!function_exists('scanPath')) {