Skip to content

Commit

Permalink
Bump composer dependencies (#3208)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Action <action@github.com>
  • Loading branch information
samsonasik and actions-user committed Dec 16, 2022
1 parent ee4050a commit 5a4111e
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
34 changes: 17 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"clue/ndjson-react": "^1.2",
"composer/semver": "^3.3.2",
"composer/xdebug-handler": "^3.0.3",
"doctrine/inflector": "^2.0.5",
"doctrine/inflector": "^2.0.6",
"nette/utils": "^3.2.8",
"nikic/php-parser": "^4.15.2",
"ondram/ci-detector": "^4.1",
"phpstan/phpdoc-parser": "^1.15.2",
"phpstan/phpstan": "^1.9.3",
"phpstan/phpstan-phpunit": "^1.2.2",
"phpstan/phpstan-phpunit": "^1.3.2",
"react/event-loop": "^1.3",
"react/socket": "^1.12",
"rector/extension-installer": "^0.11.2",
Expand All @@ -29,38 +29,38 @@
"rector/rector-symfony": "dev-main",
"sebastian/diff": "^4.0.4",
"symfony/config": "^6.2",
"symfony/console": "^6.2",
"symfony/contracts": "^3.1.1",
"symfony/console": "^6.2.1",
"symfony/contracts": "^3.2",
"symfony/dependency-injection": "6.1.*",
"symfony/finder": "^6.2",
"symfony/string": "^6.2",
"symplify/easy-parallel": "^11.1.17",
"symplify/rule-doc-generator-contracts": "^11.1.17",
"symplify/easy-parallel": "^11.1.18",
"symplify/rule-doc-generator-contracts": "^11.1.18",
"webmozart/assert": "^1.11"
},
"require-dev": {
"brianium/paratest": "^6.6.4",
"brianium/paratest": "^6.7",
"cweagans/composer-patches": "^1.7.2",
"icanhazstring/composer-unused": "^0.8.3",
"icanhazstring/composer-unused": "^0.8.5",
"myclabs/php-enum": "^1.8.4",
"nategood/httpful": "^0.3.2",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan-php-parser": "^1.1",
"phpstan/phpstan-strict-rules": "^1.4.4",
"phpstan/phpstan-webmozart-assert": "^1.2.1",
"phpunit/phpunit": "^9.5.25",
"phpstan/phpstan-webmozart-assert": "^1.2.2",
"phpunit/phpunit": "^9.5.27",
"rector/phpstan-rules": "^0.6.1",
"rector/rector-debugging": "dev-main",
"rector/rector-generator": "dev-main",
"spatie/enum": "^3.13",
"symfony/process": "^6.2",
"symplify/easy-ci": "^11.1.17",
"symplify/easy-coding-standard": "^11.1.17",
"symplify/monorepo-builder": "^11.1.17",
"symplify/phpstan-extensions": "^11.1.17",
"symplify/phpstan-rules": "^11.1.17",
"symplify/rule-doc-generator": "^11.1.17",
"symplify/vendor-patches": "^11.1.17"
"symplify/easy-ci": "^11.1.18",
"symplify/easy-coding-standard": "^11.1.18",
"symplify/monorepo-builder": "^11.1.18",
"symplify/phpstan-extensions": "^11.1.18",
"symplify/phpstan-rules": "^11.1.18",
"symplify/rule-doc-generator": "^11.1.18",
"symplify/vendor-patches": "^11.1.18"
},
"replace": {
"rector/rector": "self.version",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function getRuleDefinition(): RuleDefinition
version_compare(PHP_VERSION, '5.6', 'ge');
CODE_SAMPLE
,
[new ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'gte', 'ge',)]
[new ReplaceFuncCallArgumentDefaultValue('version_compare', 2, 'gte', 'ge')]
),
]);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ public function refactor(Node $node): ?Node
private function refactorLogicalToBoolean(LogicalOr|LogicalAnd $node): BooleanAnd|BooleanOr
{
if ($node->left instanceof LogicalOr || $node->left instanceof LogicalAnd) {
$node->left = $this->refactorLogicalToBoolean($node->left,);
$node->left = $this->refactorLogicalToBoolean($node->left);
}

if ($node->right instanceof LogicalOr || $node->right instanceof LogicalAnd) {
$node->right = $this->refactorLogicalToBoolean($node->right,);
$node->right = $this->refactorLogicalToBoolean($node->right);
}

if ($node instanceof LogicalOr) {
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/AbstractProcessCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected function configure(): void

$this->addOption(Option::DEBUG, null, InputOption::VALUE_NONE, 'Display debug output.');

$this->addOption(Option::MEMORY_LIMIT, null, InputOption::VALUE_REQUIRED, 'Memory limit for process',);
$this->addOption(Option::MEMORY_LIMIT, null, InputOption::VALUE_REQUIRED, 'Memory limit for process');

$this->addOption(Option::CLEAR_CACHE, null, InputOption::VALUE_NONE, 'Clear unchaged files cache');

Expand Down
2 changes: 1 addition & 1 deletion src/NodeManipulator/ClassMethodAssignManipulator.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ private function collectReferenceVariableNames(ClassMethod $classMethod): array
private function findParentForeach(Assign $assign): ?Foreach_
{
/** @var Foreach_|FunctionLike|null $foundNode */
$foundNode = $this->betterNodeFinder->findParentByTypes($assign, [Foreach_::class, FunctionLike::class],);
$foundNode = $this->betterNodeFinder->findParentByTypes($assign, [Foreach_::class, FunctionLike::class]);

if (! $foundNode instanceof Foreach_) {
return null;
Expand Down

0 comments on commit 5a4111e

Please sign in to comment.