mirror of
https://github.com/VladPolskiy/dokuwiki.git
synced 2025-08-20 14:20:25 +00:00
Merge pull request #4123 from annda/rector-0.18.12
Upgrade rector to 0.18.12
This commit is contained in:
@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"rector/rector": "^0.18.3",
|
"rector/rector": "^0.18.12",
|
||||||
"squizlabs/php_codesniffer": "^3.7",
|
"squizlabs/php_codesniffer": "^3.7",
|
||||||
"phpunit/phpunit": "^8.5"
|
"phpunit/phpunit": "^8.5"
|
||||||
},
|
},
|
||||||
|
14
_test/composer.lock
generated
14
_test/composer.lock
generated
@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "5b9c0aa944039e87220b6ec1e4e3f10a",
|
"content-hash": "76bfa04eee307c81e4853091e3406874",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "scotteh/php-dom-wrapper",
|
"name": "scotteh/php-dom-wrapper",
|
||||||
@ -916,16 +916,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "rector/rector",
|
"name": "rector/rector",
|
||||||
"version": "0.18.7",
|
"version": "0.18.12",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/rectorphp/rector.git",
|
"url": "https://github.com/rectorphp/rector.git",
|
||||||
"reference": "caba0e294a1228f64f8a9cfd0d715cc8af47c4da"
|
"reference": "ed8d5352a3faa69e4a5e315896abffd4bc29c828"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/rectorphp/rector/zipball/caba0e294a1228f64f8a9cfd0d715cc8af47c4da",
|
"url": "https://api.github.com/repos/rectorphp/rector/zipball/ed8d5352a3faa69e4a5e315896abffd4bc29c828",
|
||||||
"reference": "caba0e294a1228f64f8a9cfd0d715cc8af47c4da",
|
"reference": "ed8d5352a3faa69e4a5e315896abffd4bc29c828",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -960,7 +960,7 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/rectorphp/rector/issues",
|
"issues": "https://github.com/rectorphp/rector/issues",
|
||||||
"source": "https://github.com/rectorphp/rector/tree/0.18.7"
|
"source": "https://github.com/rectorphp/rector/tree/0.18.12"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@ -968,7 +968,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-11-13T10:11:05+00:00"
|
"time": "2023-12-04T08:47:30+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/code-unit-reverse-lookup",
|
"name": "sebastian/code-unit-reverse-lookup",
|
||||||
|
@ -15,7 +15,6 @@ use Rector\CodeQuality\Rector\If_\SimplifyIfElseToTernaryRector;
|
|||||||
use Rector\CodeQuality\Rector\If_\SimplifyIfReturnBoolRector;
|
use Rector\CodeQuality\Rector\If_\SimplifyIfReturnBoolRector;
|
||||||
use Rector\CodeQuality\Rector\Isset_\IssetOnPropertyObjectToPropertyExistsRector;
|
use Rector\CodeQuality\Rector\Isset_\IssetOnPropertyObjectToPropertyExistsRector;
|
||||||
use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector;
|
use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector;
|
||||||
use Rector\CodingStyle\Rector\Class_\AddArrayDefaultToArrayPropertyRector;
|
|
||||||
use Rector\CodingStyle\Rector\Closure\StaticClosureRector;
|
use Rector\CodingStyle\Rector\Closure\StaticClosureRector;
|
||||||
use Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector;
|
use Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector;
|
||||||
use Rector\CodingStyle\Rector\Encapsed\WrapEncapsedVariableInCurlyBracesRector;
|
use Rector\CodingStyle\Rector\Encapsed\WrapEncapsedVariableInCurlyBracesRector;
|
||||||
@ -30,7 +29,6 @@ use Rector\DeadCode\Rector\If_\RemoveUnusedNonEmptyArrayBeforeForeachRector;
|
|||||||
use Rector\DeadCode\Rector\Property\RemoveUselessVarTagRector;
|
use Rector\DeadCode\Rector\Property\RemoveUselessVarTagRector;
|
||||||
use Rector\DeadCode\Rector\StaticCall\RemoveParentCallWithoutParentRector;
|
use Rector\DeadCode\Rector\StaticCall\RemoveParentCallWithoutParentRector;
|
||||||
use Rector\DeadCode\Rector\Stmt\RemoveUnreachableStatementRector;
|
use Rector\DeadCode\Rector\Stmt\RemoveUnreachableStatementRector;
|
||||||
use Rector\Php71\Rector\FuncCall\CountOnNullRector;
|
|
||||||
use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector;
|
use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector;
|
||||||
use Rector\Php80\Rector\Identical\StrEndsWithRector;
|
use Rector\Php80\Rector\Identical\StrEndsWithRector;
|
||||||
use Rector\Php80\Rector\Identical\StrStartsWithRector;
|
use Rector\Php80\Rector\Identical\StrStartsWithRector;
|
||||||
@ -117,12 +115,10 @@ return static function (RectorConfig $rectorConfig): void {
|
|||||||
PostIncDecToPreIncDecRector::class,
|
PostIncDecToPreIncDecRector::class,
|
||||||
RemoveUselessParamTagRector::class,
|
RemoveUselessParamTagRector::class,
|
||||||
DisallowedEmptyRuleFixerRector::class,
|
DisallowedEmptyRuleFixerRector::class,
|
||||||
CountOnNullRector::class, // adds unwanted is_countable checks?
|
|
||||||
RemoveParentCallWithoutParentRector::class,
|
RemoveParentCallWithoutParentRector::class,
|
||||||
WrapEncapsedVariableInCurlyBracesRector::class,
|
WrapEncapsedVariableInCurlyBracesRector::class,
|
||||||
SimplifyIfReturnBoolRector::class,
|
SimplifyIfReturnBoolRector::class,
|
||||||
StrictArraySearchRector::class, // we cannot assume strict search is always wanted
|
StrictArraySearchRector::class, // we cannot assume strict search is always wanted
|
||||||
AddArrayDefaultToArrayPropertyRector::class, // may break code differentiating between null and empty array
|
|
||||||
RemoveUselessVarTagRector::class,
|
RemoveUselessVarTagRector::class,
|
||||||
TypedPropertyFromAssignsRector::class, // maybe?
|
TypedPropertyFromAssignsRector::class, // maybe?
|
||||||
JoinStringConcatRector::class, // this does not count variables, so it creates overlong lines
|
JoinStringConcatRector::class, // this does not count variables, so it creates overlong lines
|
||||||
|
Reference in New Issue
Block a user