Skip to content

Commit

Permalink
chore: bumps dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Sep 8, 2024
1 parent 2ee1785 commit cd506d2
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"require": {
"php": "^8.2.0",
"nikic/php-parser": "^5.1.0",
"pestphp/pest": "^2.35.1",
"pestphp/pest": "^3.0.0",
"symfony/finder": "^7.1.4"
},
"autoload": {
Expand All @@ -28,9 +28,9 @@
}
},
"require-dev": {
"pestphp/pest-dev-tools": "^2.16.0"
"pestphp/pest-dev-tools": "^3.0.0"
},
"minimum-stability": "stable",
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true,
Expand Down
1 change: 0 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ parameters:
- "#but since the containing class is abstract, it should be.#"
- "#beforeTraverse\\(\\) should be compatible with return type#"
- "#enterNode\\(\\) should#"
- "#leaveNode\\(\\) should#"
2 changes: 2 additions & 0 deletions src/NodeDecorator/DataProviderDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,7 @@ public function enterNode(Node $node)
}

$node->setAttribute(AttributeKey::IS_DATA_PROVIDER, in_array($node->name->toString(), $this->dataProviders, true));

return null;
}
}
2 changes: 2 additions & 0 deletions src/NodeDecorator/PhpDocTagDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ public function enterNode(Node $node)
}

$node->setAttribute(AttributeKey::PHP_DOC_TAGS, $this->phpDocTagExtractor->fromComments($node->getComments()));

return null;
}
}
2 changes: 2 additions & 0 deletions src/Rules/AbstractConvertClassMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ final public function enterNode(Node $node)
if (! $this->filter($node)) {
return null;
}

return null;
}

/**
Expand Down
2 changes: 2 additions & 0 deletions src/Rules/AbstractConvertMethodCall.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ final public function leaveNode(Node $node)
if ($node instanceof MethodCall) {
return $this->apply($node);
}

return null;
}

/**
Expand Down
2 changes: 2 additions & 0 deletions src/Rules/AbstractConvertStaticCall.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ final public function leaveNode(Node $node)
if ($node instanceof StaticCall) {
return $this->apply($node);
}

return null;
}

/**
Expand Down

0 comments on commit cd506d2

Please sign in to comment.