Skip to content

Commit

Permalink
fix wrong namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Jul 19, 2024
1 parent 39364aa commit c7d1860
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Rules\UnusedPublicPropertyRule\Fixture;
namespace TomasVotruba\UnusedPublic\Tests\Rules\UnusedPublicPropertyRule\Fixture;

class StaticUsedInUnionA {
static public float $amount;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Rules\UnusedPublicPropertyRule\Fixture;
namespace TomasVotruba\UnusedPublic\Tests\Rules\UnusedPublicPropertyRule\Fixture;

class StaticUsedInUnionB {
static public float $amount;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

namespace TomasVotruba\UnusedPublic\Tests\Rules\UnusedPublicPropertyRule\Source;

use Rules\UnusedPublicPropertyRule\Fixture\StaticUsedInUnionA;
use Rules\UnusedPublicPropertyRule\Fixture\StaticUsedInUnionB;
use TomasVotruba\UnusedPublic\Tests\Rules\UnusedPublicPropertyRule\Fixture\StaticUsedInUnionA;
use TomasVotruba\UnusedPublic\Tests\Rules\UnusedPublicPropertyRule\Fixture\StaticUsedInUnionB;

function doFooBar(StaticUsedInUnionA|StaticUsedInUnionB $aOrB): void {
echo $aOrB::$amount;
Expand Down

0 comments on commit c7d1860

Please sign in to comment.