Skip to content

Commit 81395fc

Browse files
committed
Fixed build
1 parent 1866249 commit 81395fc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/Reflection/Nette/NetteObjectClassReflectionExtensionTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ public function dataHasMethod(): array
3535
];
3636
if (PHP_VERSION_ID < 70200) { // PHP 7.2 is incompatible with Nette\Object.
3737
$data[] = [
38-
'PHPStan\Tests\NetteObjectChild',
38+
'PHPStan\NetteObjectChild',
3939
'onPublicEvent',
4040
true,
4141
];
4242
$data[] = [
43-
'PHPStan\Tests\NetteObjectChild',
43+
'PHPStan\NetteObjectChild',
4444
'onProtectedEvent',
4545
false,
4646
];
@@ -73,17 +73,17 @@ public function dataHasProperty(): array
7373
];
7474
if (PHP_VERSION_ID < 70200) { // PHP 7.2 is incompatible with Nette\Object.
7575
$data[] = [
76-
'PHPStan\Tests\NetteObjectChild',
76+
'PHPStan\NetteObjectChild',
7777
'staticProperty',
7878
false,
7979
];
8080
$data[] = [
81-
'PHPStan\Tests\NetteObjectChild',
81+
'PHPStan\NetteObjectChild',
8282
'publicProperty',
8383
true,
8484
];
8585
$data[] = [
86-
'PHPStan\Tests\NetteObjectChild',
86+
'PHPStan\NetteObjectChild',
8787
'protectedProperty',
8888
false,
8989
];

tests/Rule/Nette/DoNotExtendNetteObjectRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function testNetteObjectChild(): void
2525

2626
$this->analyse([__DIR__ . '/../../data/NetteObjectChild.php'], [
2727
[
28-
'Class PHPStan\Tests\NetteObjectChild extends Nette\Object - it\'s better to use Nette\SmartObject trait.',
28+
'Class PHPStan\NetteObjectChild extends Nette\Object - it\'s better to use Nette\SmartObject trait.',
2929
4,
3030
],
3131
]);

0 commit comments

Comments
 (0)