diff --git a/generator/src/FileCreator.php b/generator/src/FileCreator.php index d7f5dbae..3fedf965 100644 --- a/generator/src/FileCreator.php +++ b/generator/src/FileCreator.php @@ -104,7 +104,7 @@ public function generateRectorFile(array $functions, string $path): void use Rector\Renaming\Rector\FuncCall\RenameFunctionRector; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -# This file configures rector/rector to replace all PHP functions with their equivalent "safe" functions +// This file configures rector/rector to replace all PHP functions with their equivalent "safe" functions. return static function (ContainerConfigurator $containerConfigurator): void { $services = $containerConfigurator->services(); @@ -119,7 +119,7 @@ public function generateRectorFile(array $functions, string $path): void fwrite($stream, " '$functionName' => 'Safe\\$functionName',\n"); } - fwrite($stream, "]]]);\n};\n"); + fwrite($stream, " ]]]);\n};\n"); fclose($stream); } diff --git a/rector-migrate.php b/rector-migrate.php index cedb3668..e8c0da9f 100644 --- a/rector-migrate.php +++ b/rector-migrate.php @@ -5,7 +5,7 @@ use Rector\Renaming\Rector\FuncCall\RenameFunctionRector; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -# This file configures rector/rector to replace all PHP functions with their equivalent "safe" functions +// This file configures rector/rector to replace all PHP functions with their equivalent "safe" functions. return static function (ContainerConfigurator $containerConfigurator): void { $services = $containerConfigurator->services(); @@ -1103,5 +1103,5 @@ 'zip_entry_open' => 'Safe\zip_entry_open', 'zip_entry_read' => 'Safe\zip_entry_read', 'zlib_decode' => 'Safe\zlib_decode', -]]]); + ]]]); };