Skip to content

Commit

Permalink
Update dependencies (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba authored Aug 21, 2023
1 parent 0eb6a6d commit 4304774
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"symplify/rule-doc-generator": "^12.0",
"phpunit/phpunit": "^10.3",
"symfony/framework-bundle": "6.1.*",
"rector/rector": "^0.17",
"rector/rector": "^0.18",
"symplify/easy-coding-standard": "^12.0",
"symplify/easy-ci": "^11.3",
"phpstan/extension-installer": "^1.3",
Expand Down
4 changes: 2 additions & 2 deletions src/NodeVisitor/FlatConcatFindingNodeVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ public function __construct(
/**
* @param Node[] $nodes
*/
public function beforeTraverse(array $nodes)
public function beforeTraverse(array $nodes): ?array
{
$this->foundNodes = [];
return null;
}

public function enterNode(Node $node)
public function enterNode(Node $node): int|Node|null
{
if ($this->fileCheckingFuncCallAnalyzer->isFileExistCheck($node)) {
return NodeTraverser::DONT_TRAVERSE_CHILDREN;
Expand Down
4 changes: 2 additions & 2 deletions src/NodeVisitor/StringOutsideConcatFindingNodeVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ public function __construct(
/**
* @param Node[] $nodes
*/
public function beforeTraverse(array $nodes)
public function beforeTraverse(array $nodes): ?array
{
$this->foundNodes = [];
return null;
}

public function enterNode(Node $node)
public function enterNode(Node $node): int|Node|null
{
if ($this->fileCheckingFuncCallAnalyzer->isFileExistCheck($node)) {
return NodeTraverser::DONT_TRAVERSE_CHILDREN;
Expand Down

0 comments on commit 4304774

Please sign in to comment.