mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
Updated Rector to commit 0d16e131d69ce999dea28bde40af1f6be3edbd7d
0d16e131d6
remove monolog 2.0 set, only marginal and beyond full path (#3076)
This commit is contained in:
parent
3a59daa588
commit
f30d1123a7
@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202211;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
|
||||
use Rector\Renaming\ValueObject\MethodCallRename;
|
||||
# https://github.com/Seldaek/monolog/commit/39f8a20e6dadc0194e846b254c5f23d1c732290b#diff-dce565f403e044caa5e6a0d988339430
|
||||
return static function (RectorConfig $rectorConfig) : void {
|
||||
$rectorConfig->ruleWithConfiguration(RenameMethodRector::class, [new MethodCallRename('Monolog\\Logger', 'addDebug', 'debug'), new MethodCallRename('Monolog\\Logger', 'addInfo', 'info'), new MethodCallRename('Monolog\\Logger', 'addNotice', 'notice'), new MethodCallRename('Monolog\\Logger', 'addWarning', 'warning'), new MethodCallRename('Monolog\\Logger', 'addError', 'error'), new MethodCallRename('Monolog\\Logger', 'addCritical', 'critical'), new MethodCallRename('Monolog\\Logger', 'addAlert', 'alert'), new MethodCallRename('Monolog\\Logger', 'addEmergency', 'emergency'), new MethodCallRename('Monolog\\Logger', 'warn', 'warning'), new MethodCallRename('Monolog\\Logger', 'err', 'error'), new MethodCallRename('Monolog\\Logger', 'crit', 'critical'), new MethodCallRename('Monolog\\Logger', 'emerg', 'emergency')]);
|
||||
};
|
@ -29,10 +29,6 @@ final class SetList implements SetListInterface
|
||||
* @var string
|
||||
*/
|
||||
public const GMAGICK_TO_IMAGICK = __DIR__ . '/../../../config/set/gmagick-to-imagick.php';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const MONOLOG_20 = __DIR__ . '/../../../config/set/monolog20.php';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -17,12 +17,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'a1ec5d278803a7f31105911da8063ca42ded2735';
|
||||
public const PACKAGE_VERSION = '0d16e131d69ce999dea28bde40af1f6be3edbd7d';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-11-18 21:42:33';
|
||||
public const RELEASE_DATE = '2022-11-18 20:52:00';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInitff97b46c64285b53bdbad6eca4688a2e::getLoader();
|
||||
return ComposerAutoloaderInitb562367493f9c4431da92e6a3a23d973::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 ComposerAutoloaderInitff97b46c64285b53bdbad6eca4688a2e
|
||||
class ComposerAutoloaderInitb562367493f9c4431da92e6a3a23d973
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,19 +22,19 @@ class ComposerAutoloaderInitff97b46c64285b53bdbad6eca4688a2e
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitff97b46c64285b53bdbad6eca4688a2e', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInitb562367493f9c4431da92e6a3a23d973', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitff97b46c64285b53bdbad6eca4688a2e', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitb562367493f9c4431da92e6a3a23d973', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitff97b46c64285b53bdbad6eca4688a2e::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitb562367493f9c4431da92e6a3a23d973::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInitff97b46c64285b53bdbad6eca4688a2e::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInitb562367493f9c4431da92e6a3a23d973::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequireff97b46c64285b53bdbad6eca4688a2e($fileIdentifier, $file);
|
||||
composerRequireb562367493f9c4431da92e6a3a23d973($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -46,7 +46,7 @@ class ComposerAutoloaderInitff97b46c64285b53bdbad6eca4688a2e
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequireff97b46c64285b53bdbad6eca4688a2e($fileIdentifier, $file)
|
||||
function composerRequireb562367493f9c4431da92e6a3a23d973($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 ComposerStaticInitff97b46c64285b53bdbad6eca4688a2e
|
||||
class ComposerStaticInitb562367493f9c4431da92e6a3a23d973
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
@ -3036,9 +3036,9 @@ class ComposerStaticInitff97b46c64285b53bdbad6eca4688a2e
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitff97b46c64285b53bdbad6eca4688a2e::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitff97b46c64285b53bdbad6eca4688a2e::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitff97b46c64285b53bdbad6eca4688a2e::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitb562367493f9c4431da92e6a3a23d973::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitb562367493f9c4431da92e6a3a23d973::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitb562367493f9c4431da92e6a3a23d973::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user