Skip to content

Commit df57cda

Browse files
committed
Moved away from the deprecated PhpParser\Node\Stmt\PropertyProperty type
Ref: nikic/PHP-Parser@3374502 Ref: nikic/PHP-Parser#1103 Ref: nikic/PHP-Parser@469377f Ref: nikic/PHP-Parser#1046
1 parent fe0ff48 commit df57cda

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/src/DisallowFloatPropertyTypeRuleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Roave\PHPStanTest\Rules\Floats;
66

7-
use PhpParser\Node\Stmt\PropertyProperty;
7+
use PhpParser\Node\PropertyItem;
88
use PHPStan\Analyser\Scope;
99
use PHPStan\Rules\Rule;
1010
use PHPStan\ShouldNotHappenException;
@@ -40,7 +40,7 @@ public function testRuleWillNotWorkWhenNotInClassScope(): void
4040
{
4141
$rule = new DisallowFloatPropertyTypeRule();
4242

43-
$node = $this->createMock(PropertyProperty::class);
43+
$node = $this->createMock(PropertyItem::class);
4444
$scope = $this->createMock(Scope::class);
4545

4646
$scope

0 commit comments

Comments
 (0)