Skip to content

Commit 91bdd96

Browse files
committed
Fix
1 parent 79abee3 commit 91bdd96

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/Rules/Deprecations/AccessDeprecatedStaticPropertyRuleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ public function testAccessDeprecatedStaticProperty(): void
4040
17,
4141
],
4242
[
43-
'Access to deprecated static property $deprecatedFooFromTrait of class AccessDeprecatedStaticProperty\FooTrait.',
43+
'Access to deprecated static property $deprecatedFooFromTrait of class AccessDeprecatedStaticProperty\Foo.',
4444
22,
4545
],
4646
[
47-
'Access to deprecated static property $deprecatedFooFromTrait of class AccessDeprecatedStaticProperty\FooTrait.',
47+
'Access to deprecated static property $deprecatedFooFromTrait of class AccessDeprecatedStaticProperty\Foo.',
4848
23,
4949
],
5050
[

tests/Rules/Deprecations/data/access-deprecated-static-property.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
$foo::$deprecatedFoo = 'foo';
1717
$foo::$deprecatedFoo;
1818

19-
FooTrait::$fooFromTrait = 'foo';
20-
FooTrait::$fooFromTrait;
19+
Foo::$fooFromTrait = 'foo';
20+
Foo::$fooFromTrait;
2121

22-
FooTrait::$deprecatedFooFromTrait = 'foo';
23-
FooTrait::$deprecatedFooFromTrait;
22+
Foo::$deprecatedFooFromTrait = 'foo';
23+
Foo::$deprecatedFooFromTrait;
2424

2525
$foo = new Foo();
2626

0 commit comments

Comments
 (0)