Skip to content

Commit

Permalink
Bump deps (#804)
Browse files Browse the repository at this point in the history
* bump deps

* fix cs
  • Loading branch information
TomasVotruba committed Aug 31, 2021
1 parent 25d3555 commit 93f0232
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 26 deletions.
38 changes: 19 additions & 19 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"rector/rector-cakephp": "^0.11.3",
"rector/rector-doctrine": "^0.11.17",
"rector/rector-laravel": "^0.11.5",
"rector/rector-nette": "^0.11.21",
"rector/rector-nette": "^0.11.23",
"rector/rector-phpunit": "^0.11.7",
"rector/rector-symfony": "^0.11.18",
"rector/rector-phpoffice": "^0.11.2",
Expand All @@ -38,16 +38,16 @@
"symfony/http-kernel": "^5.3",
"symfony/process": "^5.3",
"symfony/yaml": "^5.3",
"symplify/astral": "^9.4.40",
"symplify/autowire-array-parameter": "^9.4.40",
"symplify/composer-json-manipulator": "^9.4.40",
"symplify/console-color-diff": "^9.4.40",
"symplify/package-builder": "^9.4.40",
"symplify/rule-doc-generator-contracts": "^9.4.40",
"symplify/simple-php-doc-parser": "^9.4.40",
"symplify/skipper": "^9.4.40",
"symplify/smart-file-system": "^9.4.40",
"symplify/symfony-php-config": "^9.4.40",
"symplify/astral": "^9.4.49",
"symplify/autowire-array-parameter": "^9.4.49",
"symplify/composer-json-manipulator": "^9.4.49",
"symplify/console-color-diff": "^9.4.49",
"symplify/package-builder": "^9.4.49",
"symplify/rule-doc-generator-contracts": "^9.4.49",
"symplify/simple-php-doc-parser": "^9.4.49",
"symplify/skipper": "^9.4.49",
"symplify/smart-file-system": "^9.4.49",
"symplify/symfony-php-config": "^9.4.49",
"tracy/tracy": "^2.8",
"webmozart/assert": "^1.10"
},
Expand All @@ -59,14 +59,14 @@
"rector/phpstan-rules": "^0.3.5",
"rector/rector-generator": "^0.3",
"spatie/enum": "^3.9",
"symplify/coding-standard": "^9.4.40",
"symplify/easy-ci": "^9.4.40",
"symplify/easy-coding-standard": "^9.4.40",
"symplify/easy-testing": "^9.4.40",
"symplify/monorepo-builder": "^9.4.40",
"symplify/phpstan-extensions": "^9.4.40",
"symplify/phpstan-rules": "^9.4.40",
"symplify/rule-doc-generator": "^9.4.40",
"symplify/coding-standard": "^9.4.49",
"symplify/easy-ci": "^9.4.49",
"symplify/easy-coding-standard": "^9.4.49",
"symplify/easy-testing": "^9.4.49",
"symplify/monorepo-builder": "^9.4.49",
"symplify/phpstan-extensions": "^9.4.49",
"symplify/phpstan-rules": "^9.4.49",
"symplify/rule-doc-generator": "^9.4.49",
"timeweb/phpstan-enum": "^2.3"
},
"replace": {
Expand Down
6 changes: 4 additions & 2 deletions ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

declare(strict_types=1);

use PhpCsFixer\Fixer\Import\NoUnusedImportsFixer;
use PhpCsFixer\Fixer\Operator\UnaryOperatorSpacesFixer;
use PhpCsFixer\Fixer\Phpdoc\GeneralPhpdocAnnotationRemoveFixer;
use PhpCsFixer\Fixer\Phpdoc\NoSuperfluousPhpdocTagsFixer;
Expand All @@ -10,7 +11,6 @@
use PhpCsFixer\Fixer\ReturnNotation\ReturnAssignmentFixer;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Symplify\CodingStandard\Fixer\Commenting\ParamReturnAndVarTagMalformsFixer;
use Symplify\CodingStandard\Fixer\Commenting\RemoveCommentedCodeFixer;
use Symplify\CodingStandard\Fixer\LineLength\DocBlockLineLengthFixer;
use Symplify\EasyCodingStandard\ValueObject\Option;
use Symplify\EasyCodingStandard\ValueObject\Set\SetList;
Expand Down Expand Up @@ -75,9 +75,11 @@
UnaryOperatorSpacesFixer::class,

// buggy - @todo fix on Symplify master
RemoveCommentedCodeFixer::class,
DocBlockLineLengthFixer::class,

// buggy on closure in interface union
NoUnusedImportsFixer::class => [__DIR__ . '/rules/Naming/Contract/RenameParamValueObjectInterface.php'],

// breaks on-purpose annotated variables
ReturnAssignmentFixer::class,

Expand Down
3 changes: 1 addition & 2 deletions rules/CodingStyle/Naming/NameRenamer.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ private function renameClassConstFetch(
string $lastName,
ClassConstFetch $classConstFetch,
Name | Identifier $usedNameNode
): void
{
): void {
if (! $this->nodeNameResolver->areNamesEqual($classConstFetch->class, $usedNameNode)) {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use PhpParser\Node\Stmt\Return_;
use Rector\Core\NodeManipulator\IfManipulator;
use Rector\Core\Rector\AbstractRector;
use Rector\NodeTypeResolver\Node\AttributeKey;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;

Expand Down
1 change: 0 additions & 1 deletion rules/EarlyReturn/Rector/If_/RemoveAlwaysElseRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

use PhpParser\Node;
use PhpParser\Node\Expr\BinaryOp\BooleanAnd;
use PhpParser\Node\Expr\BinaryOp\BooleanOr;
use PhpParser\Node\Expr\Exit_;
use PhpParser\Node\Stmt\Continue_;
use PhpParser\Node\Stmt\Else_;
Expand Down
4 changes: 3 additions & 1 deletion tests/Issues/Issue6655/config/configured_rule.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<?php

use Rector\DeadCode\Rector\Assign\RemoveUnusedAssignVariableRector;
declare(strict_types=1);

use Rector\CodeQuality\Rector\If_\SimplifyIfElseToTernaryRector;
use Rector\DeadCode\Rector\Assign\RemoveUnusedAssignVariableRector;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;

return static function (ContainerConfigurator $containerConfigurator): void {
Expand Down

0 comments on commit 93f0232

Please sign in to comment.