Skip to content

Commit f4254b6

Browse files
Renaming
1 parent 9393ec3 commit f4254b6

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

tests/Rules/CallMethodsRuleTest.php renamed to tests/Rules/Methods/CallMethodsRuleTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types = 1);
22

3-
namespace PHPStan\Rules;
3+
namespace PHPStan\Rules\Methods;
44

5-
use PHPStan\Rules\Methods\CallMethodsRule;
5+
use PHPStan\Rules\Rule;
66
use PHPStan\Testing\RuleTestCase;
77

88
/**
@@ -27,7 +27,7 @@ public function testBug222(): void
2727
public static function getAdditionalConfigFiles(): array
2828
{
2929
return [
30-
__DIR__ . '/../../extension.neon',
30+
__DIR__ . '/../../../extension.neon',
3131
];
3232
}
3333

tests/Rules/data/bug-222.php renamed to tests/Rules/Methods/data/bug-222.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Rules\data;
3+
namespace Bug222;
44

55
use PHPUnit\Framework\MockObject\MockObject;
66
use PHPUnit\Framework\TestCase;

tests/Rules/PHPUnit/data/InvalidClassCoversAnnotation.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace Dummy;
44

5+
use Rules\Methods\data\Foo;
6+
57
/**
68
* @backupGlobals
79
* @backupGlobals enabled

tests/Rules/PHPUnit/data/InvalidMethodCoversAnnotation.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace Dummy;
44

5+
use Rules\Methods\data\Foo;
6+
57
class InvalidMethodCoversAnnotation extends \PHPUnit\Framework\TestCase
68
{
79
/**

0 commit comments

Comments
 (0)