Skip to content

Commit cd506d2

Browse files
committed
chore: bumps dependencies
1 parent 2ee1785 commit cd506d2

File tree

7 files changed

+13
-4
lines changed

7 files changed

+13
-4
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"require": {
1515
"php": "^8.2.0",
1616
"nikic/php-parser": "^5.1.0",
17-
"pestphp/pest": "^2.35.1",
17+
"pestphp/pest": "^3.0.0",
1818
"symfony/finder": "^7.1.4"
1919
},
2020
"autoload": {
@@ -28,9 +28,9 @@
2828
}
2929
},
3030
"require-dev": {
31-
"pestphp/pest-dev-tools": "^2.16.0"
31+
"pestphp/pest-dev-tools": "^3.0.0"
3232
},
33-
"minimum-stability": "stable",
33+
"minimum-stability": "dev",
3434
"prefer-stable": true,
3535
"config": {
3636
"sort-packages": true,

phpstan.neon

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ parameters:
1818
- "#but since the containing class is abstract, it should be.#"
1919
- "#beforeTraverse\\(\\) should be compatible with return type#"
2020
- "#enterNode\\(\\) should#"
21-
- "#leaveNode\\(\\) should#"

src/NodeDecorator/DataProviderDecorator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,7 @@ public function enterNode(Node $node)
4949
}
5050

5151
$node->setAttribute(AttributeKey::IS_DATA_PROVIDER, in_array($node->name->toString(), $this->dataProviders, true));
52+
53+
return null;
5254
}
5355
}

src/NodeDecorator/PhpDocTagDecorator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ public function enterNode(Node $node)
2121
}
2222

2323
$node->setAttribute(AttributeKey::PHP_DOC_TAGS, $this->phpDocTagExtractor->fromComments($node->getComments()));
24+
25+
return null;
2426
}
2527
}

src/Rules/AbstractConvertClassMethod.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ final public function enterNode(Node $node)
2929
if (! $this->filter($node)) {
3030
return null;
3131
}
32+
33+
return null;
3234
}
3335

3436
/**

src/Rules/AbstractConvertMethodCall.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ final public function leaveNode(Node $node)
2929
if ($node instanceof MethodCall) {
3030
return $this->apply($node);
3131
}
32+
33+
return null;
3234
}
3335

3436
/**

src/Rules/AbstractConvertStaticCall.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ final public function leaveNode(Node $node)
2929
if ($node instanceof StaticCall) {
3030
return $this->apply($node);
3131
}
32+
33+
return null;
3234
}
3335

3436
/**

0 commit comments

Comments
 (0)