Skip to content

Commit

Permalink
Updated Rector to commit 0864547
Browse files Browse the repository at this point in the history
rectorphp/rector-src@0864547 [automated] Re-Generate Nodes/Rectors Documentation (#125)
  • Loading branch information
TomasVotruba committed May 30, 2021
1 parent 7313b64 commit d6ce660
Show file tree
Hide file tree
Showing 3,403 changed files with 17,257 additions and 17,212 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion bin/rector
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env php
<?php
namespace RectorPrefix20210529;
namespace RectorPrefix20210530;

require_once __DIR__ . '/rector.php';
16 changes: 8 additions & 8 deletions bin/rector.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

declare (strict_types=1);
namespace RectorPrefix20210529;
namespace RectorPrefix20210530;

use Rector\Core\Bootstrap\RectorConfigsResolver;
use Rector\Core\Console\ConsoleApplication;
use Rector\Core\Console\Style\SymfonyStyleFactory;
use Rector\Core\DependencyInjection\RectorContainerFactory;
use Rector\Core\HttpKernel\RectorKernel;
use RectorPrefix20210529\Symplify\PackageBuilder\Console\ShellCode;
use RectorPrefix20210529\Symplify\PackageBuilder\Reflection\PrivatesCaller;
use RectorPrefix20210530\Symplify\PackageBuilder\Console\ShellCode;
use RectorPrefix20210530\Symplify\PackageBuilder\Reflection\PrivatesCaller;
// @ intentionally: continue anyway
@\ini_set('memory_limit', '-1');
// Performance boost
Expand All @@ -18,20 +18,20 @@
\gc_disable();
\define('__RECTOR_RUNNING__', \true);
// Require Composer autoload.php
$autoloadIncluder = new \RectorPrefix20210529\AutoloadIncluder();
$autoloadIncluder = new \RectorPrefix20210530\AutoloadIncluder();
$autoloadIncluder->includeDependencyOrRepositoryVendorAutoloadIfExists();
// load extracted PHPStan with its own preload.php
$extractedPhpstanAutoload = __DIR__ . '/../vendor/phpstan/phpstan-extracted/vendor/autoload.php';
if (\file_exists($extractedPhpstanAutoload)) {
require_once $extractedPhpstanAutoload;
} elseif (\RectorPrefix20210529\should_include_preload()) {
} elseif (\RectorPrefix20210530\should_include_preload()) {
require_once __DIR__ . '/../preload.php';
}
require_once __DIR__ . '/../src/constants.php';
$autoloadIncluder->loadIfExistsAndNotLoadedYet(__DIR__ . '/../vendor/scoper-autoload.php');
$autoloadIncluder->autoloadProjectAutoloaderFile();
$autoloadIncluder->autoloadFromCommandLine();
$symfonyStyleFactory = new \Rector\Core\Console\Style\SymfonyStyleFactory(new \RectorPrefix20210529\Symplify\PackageBuilder\Reflection\PrivatesCaller());
$symfonyStyleFactory = new \Rector\Core\Console\Style\SymfonyStyleFactory(new \RectorPrefix20210530\Symplify\PackageBuilder\Reflection\PrivatesCaller());
$symfonyStyle = $symfonyStyleFactory->create();
$rectorConfigsResolver = new \Rector\Core\Bootstrap\RectorConfigsResolver();
try {
Expand All @@ -40,7 +40,7 @@
$container = $rectorContainerFactory->createFromBootstrapConfigs($bootstrapConfigs);
} catch (\Throwable $throwable) {
$symfonyStyle->error($throwable->getMessage());
exit(\RectorPrefix20210529\Symplify\PackageBuilder\Console\ShellCode::ERROR);
exit(\RectorPrefix20210530\Symplify\PackageBuilder\Console\ShellCode::ERROR);
}
/** @var ConsoleApplication $application */
$application = $container->get(\Rector\Core\Console\ConsoleApplication::class);
Expand Down Expand Up @@ -94,7 +94,7 @@ public function loadIfExistsAndNotLoadedYet(string $filePath) : void
require_once $filePath;
}
}
\class_alias('RectorPrefix20210529\\AutoloadIncluder', 'AutoloadIncluder', \false);
\class_alias('RectorPrefix20210530\\AutoloadIncluder', 'AutoloadIncluder', \false);
// load local php-parser only in prefixed version or development repository
function should_include_preload() : bool
{
Expand Down
6 changes: 3 additions & 3 deletions config/config.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

declare (strict_types=1);
namespace RectorPrefix20210529;
namespace RectorPrefix20210530;

use Rector\Core\Bootstrap\ExtensionConfigResolver;
use RectorPrefix20210529\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (\RectorPrefix20210529\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
use RectorPrefix20210530\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (\RectorPrefix20210530\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
$containerConfigurator->import(__DIR__ . '/services.php');
$containerConfigurator->import(__DIR__ . '/services-rules.php');
$containerConfigurator->import(__DIR__ . '/services-packages.php');
Expand Down
6 changes: 3 additions & 3 deletions config/parameters.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

declare (strict_types=1);
namespace RectorPrefix20210529;
namespace RectorPrefix20210530;

use Rector\Core\Configuration\Option;
use Rector\Core\ValueObject\ProjectType;
use RectorPrefix20210529\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (\RectorPrefix20210529\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
use RectorPrefix20210530\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (\RectorPrefix20210530\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
$parameters = $containerConfigurator->parameters();
// paths and extensions
$parameters->set(\Rector\Core\Configuration\Option::PATHS, []);
Expand Down
6 changes: 3 additions & 3 deletions config/services-packages.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

declare (strict_types=1);
namespace RectorPrefix20210529;
namespace RectorPrefix20210530;

use RectorPrefix20210529\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (\RectorPrefix20210529\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
use RectorPrefix20210530\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (\RectorPrefix20210530\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
$services = $containerConfigurator->services();
$services->defaults()->public()->autowire()->autoconfigure();
$services->load('Rector\\', __DIR__ . '/../packages')->exclude([
Expand Down
6 changes: 3 additions & 3 deletions config/services-rules.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

declare (strict_types=1);
namespace RectorPrefix20210529;
namespace RectorPrefix20210530;

use Rector\Core\Configuration\Option;
use Rector\PSR4\Composer\PSR4NamespaceMatcher;
use Rector\PSR4\Contract\PSR4AutoloadNamespaceMatcherInterface;
use RectorPrefix20210529\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (\RectorPrefix20210529\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
use RectorPrefix20210530\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (\RectorPrefix20210530\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
$parameters = $containerConfigurator->parameters();
$parameters->set(\Rector\Core\Configuration\Option::TYPES_TO_REMOVE_STATIC_FROM, []);
$services = $containerConfigurator->services();
Expand Down
Loading

0 comments on commit d6ce660

Please sign in to comment.