mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-31 08:20:53 +00:00
parent
caf39c6999
commit
8fd8d0affb
|
@ -99,7 +99,7 @@ return static function (ContainerConfigurator $containerConfigurator): void {
|
|||
|
||||
### Similar Projects
|
||||
|
||||
- [ClangMR](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/41342.pdf) for C++ by Google (closed source) - almost idential workflow, developed independently though
|
||||
- [ClangMR](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/41342.pdf) for C++ by Google (closed source) - almost identical workflow, developed independently though
|
||||
- [hhast](https://github.com/hhvm/hhast) - HHVM AST + format preserving + migrations
|
||||
- [facebook/jscodeshift](https://github.com/facebook/jscodeshift) for Javascript
|
||||
- [silverstripe/silverstripe-upgrader](https://github.com/silverstripe/silverstripe-upgrader) for PHP CMS, Silverstripe
|
||||
|
|
|
@ -379,7 +379,7 @@ return static function (ContainerConfigurator $containerConfigurator): void {
|
|||
|
||||
### AbsolutizeRequireAndIncludePathRector
|
||||
|
||||
include/require to absolute path. This Rector might introduce backwards incompatible code, when the include/require beeing changed depends on the current working directory.
|
||||
include/require to absolute path. This Rector might introduce backwards incompatible code, when the include/require being changed depends on the current working directory.
|
||||
|
||||
- class: [`Rector\CodeQuality\Rector\Include_\AbsolutizeRequireAndIncludePathRector`](../rules/CodeQuality/Rector/Include_/AbsolutizeRequireAndIncludePathRector.php)
|
||||
|
||||
|
@ -434,7 +434,7 @@ Split 2 assigns ands to separate line
|
|||
|
||||
### ArrayKeyExistsTernaryThenValueToCoalescingRector
|
||||
|
||||
Change `array_key_exists()` ternary to coalesing
|
||||
Change `array_key_exists()` ternary to coalescing
|
||||
|
||||
- class: [`Rector\CodeQuality\Rector\Ternary\ArrayKeyExistsTernaryThenValueToCoalescingRector`](../rules/CodeQuality/Rector/Ternary/ArrayKeyExistsTernaryThenValueToCoalescingRector.php)
|
||||
|
||||
|
@ -1261,7 +1261,7 @@ Simplify array_search to in_array
|
|||
|
||||
### SimplifyBoolIdenticalTrueRector
|
||||
|
||||
Symplify bool value compare to true or false
|
||||
Simplify bool value compare to true or false
|
||||
|
||||
- class: [`Rector\CodeQuality\Rector\Identical\SimplifyBoolIdenticalTrueRector`](../rules/CodeQuality/Rector/Identical/SimplifyBoolIdenticalTrueRector.php)
|
||||
|
||||
|
@ -3349,7 +3349,7 @@ Remove unused parent call with no parent class
|
|||
|
||||
### RemovePhpVersionIdCheckRector
|
||||
|
||||
Remove unneded PHP_VERSION_ID check
|
||||
Remove unneeded PHP_VERSION_ID check
|
||||
|
||||
:wrench: **configure it!**
|
||||
|
||||
|
@ -5513,7 +5513,7 @@ change instanceof Object to is_resource
|
|||
|
||||
### DowngradePropertyPromotionRector
|
||||
|
||||
Change constructor property promotion to property asssign
|
||||
Change constructor property promotion to property assign
|
||||
|
||||
- class: [`Rector\DowngradePhp80\Rector\Class_\DowngradePropertyPromotionRector`](../rules/DowngradePhp80/Rector/Class_/DowngradePropertyPromotionRector.php)
|
||||
|
||||
|
|
|
@ -16,11 +16,11 @@ final class VersionResolver
|
|||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '72de31e70faca4a8d98bc2f5f9a5b63a4c26c7f4';
|
||||
public const PACKAGE_VERSION = '90cb1ad36fac313a61c5154065c82588dcfbccc1';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-01-16 08:31:20';
|
||||
public const RELEASE_DATE = '2022-01-16 01:38:39';
|
||||
public static function resolvePackageVersion() : string
|
||||
{
|
||||
$process = new \RectorPrefix20220116\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);
|
||||
|
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
|
@ -4,4 +4,4 @@
|
|||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit0150530a4007911f78e70d5170883080::getLoader();
|
||||
return ComposerAutoloaderInitea010173458446b1008dead1ac5020ac::getLoader();
|
||||
|
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
|
@ -2,7 +2,7 @@
|
|||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit0150530a4007911f78e70d5170883080
|
||||
class ComposerAutoloaderInitea010173458446b1008dead1ac5020ac
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
|
@ -22,15 +22,15 @@ class ComposerAutoloaderInit0150530a4007911f78e70d5170883080
|
|||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit0150530a4007911f78e70d5170883080', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInitea010173458446b1008dead1ac5020ac', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit0150530a4007911f78e70d5170883080', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitea010173458446b1008dead1ac5020ac', '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\ComposerStaticInit0150530a4007911f78e70d5170883080::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitea010173458446b1008dead1ac5020ac::getInitializer($loader));
|
||||
} else {
|
||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
||||
if ($classMap) {
|
||||
|
@ -42,12 +42,12 @@ class ComposerAutoloaderInit0150530a4007911f78e70d5170883080
|
|||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit0150530a4007911f78e70d5170883080::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInitea010173458446b1008dead1ac5020ac::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire0150530a4007911f78e70d5170883080($fileIdentifier, $file);
|
||||
composerRequireea010173458446b1008dead1ac5020ac($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
|
@ -59,7 +59,7 @@ class ComposerAutoloaderInit0150530a4007911f78e70d5170883080
|
|||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequire0150530a4007911f78e70d5170883080($fileIdentifier, $file)
|
||||
function composerRequireea010173458446b1008dead1ac5020ac($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit0150530a4007911f78e70d5170883080
|
||||
class ComposerStaticInitea010173458446b1008dead1ac5020ac
|
||||
{
|
||||
public static $files = array (
|
||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||
|
@ -3865,9 +3865,9 @@ class ComposerStaticInit0150530a4007911f78e70d5170883080
|
|||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit0150530a4007911f78e70d5170883080::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit0150530a4007911f78e70d5170883080::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit0150530a4007911f78e70d5170883080::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitea010173458446b1008dead1ac5020ac::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitea010173458446b1008dead1ac5020ac::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitea010173458446b1008dead1ac5020ac::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
|
10
vendor/scoper-autoload.php
vendored
10
vendor/scoper-autoload.php
vendored
|
@ -9,8 +9,8 @@ $loader = require_once __DIR__.'/autoload.php';
|
|||
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
|
||||
spl_autoload_call('RectorPrefix20220116\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInit0150530a4007911f78e70d5170883080', false) && !interface_exists('ComposerAutoloaderInit0150530a4007911f78e70d5170883080', false) && !trait_exists('ComposerAutoloaderInit0150530a4007911f78e70d5170883080', false)) {
|
||||
spl_autoload_call('RectorPrefix20220116\ComposerAutoloaderInit0150530a4007911f78e70d5170883080');
|
||||
if (!class_exists('ComposerAutoloaderInitea010173458446b1008dead1ac5020ac', false) && !interface_exists('ComposerAutoloaderInitea010173458446b1008dead1ac5020ac', false) && !trait_exists('ComposerAutoloaderInitea010173458446b1008dead1ac5020ac', false)) {
|
||||
spl_autoload_call('RectorPrefix20220116\ComposerAutoloaderInitea010173458446b1008dead1ac5020ac');
|
||||
}
|
||||
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('RectorPrefix20220116\Helmich\TypoScriptParser\Parser\AST\Statement');
|
||||
|
@ -71,9 +71,9 @@ if (!function_exists('print_node')) {
|
|||
return \RectorPrefix20220116\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequire0150530a4007911f78e70d5170883080')) {
|
||||
function composerRequire0150530a4007911f78e70d5170883080() {
|
||||
return \RectorPrefix20220116\composerRequire0150530a4007911f78e70d5170883080(...func_get_args());
|
||||
if (!function_exists('composerRequireea010173458446b1008dead1ac5020ac')) {
|
||||
function composerRequireea010173458446b1008dead1ac5020ac() {
|
||||
return \RectorPrefix20220116\composerRequireea010173458446b1008dead1ac5020ac(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('scanPath')) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user