Skip to content

Commit

Permalink
Updated Rector to commit 54a66206986e685787d7e038929618a66e98ec42
Browse files Browse the repository at this point in the history
rectorphp/rector-src@54a6620 [TypeDeclaration] Add isset(), empty(), and negation support on BoolReturnTypeFromBooleanStrictReturnsRector (#6339)
  • Loading branch information
TomasVotruba committed Oct 1, 2024
1 parent 32c2df7 commit a5a5200
Show file tree
Hide file tree
Showing 1,046 changed files with 3,612 additions and 3,600 deletions.
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 RectorPrefix202409;
namespace RectorPrefix202410;

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

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use RectorPrefix202409\Nette\Utils\Json;
use RectorPrefix202410\Nette\Utils\Json;
use Rector\Bootstrap\RectorConfigsResolver;
use Rector\ChangesReporting\Output\JsonOutputFormatter;
use Rector\Configuration\Option;
use Rector\Console\Style\SymfonyStyleFactory;
use Rector\DependencyInjection\LazyContainerFactory;
use Rector\DependencyInjection\RectorContainerFactory;
use Rector\Util\Reflection\PrivatesAccessor;
use RectorPrefix202409\Symfony\Component\Console\Application;
use RectorPrefix202409\Symfony\Component\Console\Command\Command;
use RectorPrefix202409\Symfony\Component\Console\Input\ArgvInput;
use RectorPrefix202410\Symfony\Component\Console\Application;
use RectorPrefix202410\Symfony\Component\Console\Command\Command;
use RectorPrefix202410\Symfony\Component\Console\Input\ArgvInput;
// @ intentionally: continue anyway
@\ini_set('memory_limit', '-1');
// Performance boost
Expand Down Expand Up @@ -93,7 +93,7 @@ public function loadIfExistsAndNotLoadedYet(string $filePath) : void
require_once $filePath;
}
}
\class_alias('RectorPrefix202409\\AutoloadIncluder', 'AutoloadIncluder', \false);
\class_alias('RectorPrefix202410\\AutoloadIncluder', 'AutoloadIncluder', \false);
if (\file_exists(__DIR__ . '/../preload.php') && \is_dir(__DIR__ . '/../vendor')) {
require_once __DIR__ . '/../preload.php';
}
Expand Down
4 changes: 2 additions & 2 deletions config/config.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use RectorPrefix202409\OndraM\CiDetector\CiDetector;
use RectorPrefix202410\OndraM\CiDetector\CiDetector;
use Rector\Bootstrap\ExtensionConfigResolver;
use Rector\Caching\ValueObject\Storage\MemoryCacheStorage;
use Rector\Config\RectorConfig;
Expand Down
2 changes: 1 addition & 1 deletion config/set/code-quality.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\Level\CodeQualityLevel;
use Rector\Config\RectorConfig;
Expand Down
2 changes: 1 addition & 1 deletion config/set/coding-style.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\CodingStyle\Rector\Assign\SplitDoubleAssignRector;
use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/datetime-to-carbon.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Carbon\Rector\FuncCall\DateFuncCallToCarbonRector;
use Rector\Carbon\Rector\FuncCall\TimeFuncCallToCarbonRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/dead-code.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\Level\DeadCodeLevel;
use Rector\Config\RectorConfig;
Expand Down
2 changes: 1 addition & 1 deletion config/set/early-return.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/gmagick-to-imagick.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/instanceof.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\CodeQuality\Rector\FuncCall\InlineIsAInstanceOfRector;
use Rector\CodeQuality\Rector\Identical\FlipTypeControlToUseExclusiveTypeRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php53.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\SetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php54.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php55.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php56.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php70.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php71.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php72.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php73.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php74.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php80.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php81.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php82.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php83.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php84.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
Expand Down
2 changes: 1 addition & 1 deletion config/set/naming.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Naming\Rector\Assign\RenameVariableToMatchMethodCallReturnTypeRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php-polyfills.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php73\Rector\BooleanOr\IsCountableRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php52.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php52\Rector\Property\VarToPublicPropertyRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php53.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php53\Rector\FuncCall\DirNameFileConstantToDirConstantRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php54.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php54\Rector\Array_\LongArrayToShortArrayRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php55.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php55\Rector\Class_\ClassConstantToSelfClassRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php56.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php56\Rector\FuncCall\PowToExpRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php70.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php70\Rector\Assign\ListSplitStringRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php71.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php71\Rector\Assign\AssignArrayToStringRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php72.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php72\Rector\Assign\ListEachRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php73.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php52\Rector\Switch_\ContinueToBreakInSwitchRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php74.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php74\Rector\ArrayDimFetch\CurlyToSquareBracketArrayStringRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php80.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Arguments\Rector\ClassMethod\ArgumentAdderRector;
use Rector\Arguments\Rector\FuncCall\FunctionArgumentDefaultValueReplacerRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php81.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php81\Rector\Array_\FirstClassCallableRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php82.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php82\Rector\Class_\ReadOnlyClassRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php83.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php83\Rector\ClassConst\AddTypeToConstRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php84.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202409;
namespace RectorPrefix202410;

use Rector\Config\RectorConfig;
use Rector\Php84\Rector\Param\ExplicitNullableParamTypeRector;
Expand Down
Loading

0 comments on commit a5a5200

Please sign in to comment.