Updated Rector to commit 37ec09708593a71111bca7921d0840141997ccb0

37ec097085 cleanup .gitattributes, move to scoped
This commit is contained in:
Tomas Votruba 2021-05-13 17:24:39 +00:00
parent 8528472b31
commit 5424cce8a1
5 changed files with 20 additions and 37 deletions

23
.gitattributes vendored
View File

@ -9,36 +9,19 @@
# Remove files for archives generated using `git archive`
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.phpstorm.meta.php export-ignore
CONTRIBUTING.md export-ignore
CHANGELOG.md export-ignore
CODE_OF_CONDUCT.md export-ignore
ecs.php export-ignore
phpstan.neon export-ignore
phpunit.xml export-ignore
rector.php export-ignore
# @see: https://github.com/rectorphp/rector/issues/4905
bin/rector.php !export-ignore
# exclude only root dirs, otherwise nette/utils is removed - see https://github.com/TomasVotruba/tomasvotruba.com/pull/1197/checks?check_run_id=2577329283
/utils export-ignore
/stubs export-ignore
/tests export-ignore
/packages-tests export-ignore
/rules-tests export-ignore
/build export-ignore
full_build.sh export-ignore
Dockerfile export-ignore
UPGRADE_09.md export-ignore
rule-doc-generator.php export-ignore
docs/images export-ignore
scoper.php export-ignore
.docker export-ignore
.github export-ignore
.dockerignore export-ignore
CONTRIBUTING.md export-ignore
CHANGELOG.md export-ignore
phpstan-for-rector.neon export-ignore
# testing Windows spaces - https://help.github.com/en/github/using-git/configuring-git-to-handle-line-endings
packages/better-php-doc-parser/tests/PhpDocInfo/PhpDocInfoPrinter/FixtureBasic/with_spac.txt text eol=crlf

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInita0e9200667284fa089e1c7c04672166c::getLoader();
return ComposerAutoloaderInit68757cd5862fb911280cbc4b94a4bfa7::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInita0e9200667284fa089e1c7c04672166c
class ComposerAutoloaderInit68757cd5862fb911280cbc4b94a4bfa7
{
private static $loader;
@ -22,15 +22,15 @@ class ComposerAutoloaderInita0e9200667284fa089e1c7c04672166c
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInita0e9200667284fa089e1c7c04672166c', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit68757cd5862fb911280cbc4b94a4bfa7', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInita0e9200667284fa089e1c7c04672166c', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit68757cd5862fb911280cbc4b94a4bfa7', '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\ComposerStaticInita0e9200667284fa089e1c7c04672166c::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit68757cd5862fb911280cbc4b94a4bfa7::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
@ -42,19 +42,19 @@ class ComposerAutoloaderInita0e9200667284fa089e1c7c04672166c
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInita0e9200667284fa089e1c7c04672166c::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit68757cd5862fb911280cbc4b94a4bfa7::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequirea0e9200667284fa089e1c7c04672166c($fileIdentifier, $file);
composerRequire68757cd5862fb911280cbc4b94a4bfa7($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequirea0e9200667284fa089e1c7c04672166c($fileIdentifier, $file)
function composerRequire68757cd5862fb911280cbc4b94a4bfa7($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInita0e9200667284fa089e1c7c04672166c
class ComposerStaticInit68757cd5862fb911280cbc4b94a4bfa7
{
public static $files = array (
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
@ -3483,9 +3483,9 @@ class ComposerStaticInita0e9200667284fa089e1c7c04672166c
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInita0e9200667284fa089e1c7c04672166c::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInita0e9200667284fa089e1c7c04672166c::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInita0e9200667284fa089e1c7c04672166c::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit68757cd5862fb911280cbc4b94a4bfa7::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit68757cd5862fb911280cbc4b94a4bfa7::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit68757cd5862fb911280cbc4b94a4bfa7::$classMap;
}, null, ClassLoader::class);
}

View File

@ -21,8 +21,8 @@ if (!class_exists('SomeTestCase', false) && !interface_exists('SomeTestCase', fa
if (!class_exists('CheckoutEntityFactory', false) && !interface_exists('CheckoutEntityFactory', false) && !trait_exists('CheckoutEntityFactory', false)) {
spl_autoload_call('RectorPrefix20210513\CheckoutEntityFactory');
}
if (!class_exists('ComposerAutoloaderInita0e9200667284fa089e1c7c04672166c', false) && !interface_exists('ComposerAutoloaderInita0e9200667284fa089e1c7c04672166c', false) && !trait_exists('ComposerAutoloaderInita0e9200667284fa089e1c7c04672166c', false)) {
spl_autoload_call('RectorPrefix20210513\ComposerAutoloaderInita0e9200667284fa089e1c7c04672166c');
if (!class_exists('ComposerAutoloaderInit68757cd5862fb911280cbc4b94a4bfa7', false) && !interface_exists('ComposerAutoloaderInit68757cd5862fb911280cbc4b94a4bfa7', false) && !trait_exists('ComposerAutoloaderInit68757cd5862fb911280cbc4b94a4bfa7', false)) {
spl_autoload_call('RectorPrefix20210513\ComposerAutoloaderInit68757cd5862fb911280cbc4b94a4bfa7');
}
if (!class_exists('Doctrine\Inflector\Inflector', false) && !interface_exists('Doctrine\Inflector\Inflector', false) && !trait_exists('Doctrine\Inflector\Inflector', false)) {
spl_autoload_call('RectorPrefix20210513\Doctrine\Inflector\Inflector');
@ -98,9 +98,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20210513\print_node(...func_get_args());
}
}
if (!function_exists('composerRequirea0e9200667284fa089e1c7c04672166c')) {
function composerRequirea0e9200667284fa089e1c7c04672166c() {
return \RectorPrefix20210513\composerRequirea0e9200667284fa089e1c7c04672166c(...func_get_args());
if (!function_exists('composerRequire68757cd5862fb911280cbc4b94a4bfa7')) {
function composerRequire68757cd5862fb911280cbc4b94a4bfa7() {
return \RectorPrefix20210513\composerRequire68757cd5862fb911280cbc4b94a4bfa7(...func_get_args());
}
}
if (!function_exists('parseArgs')) {