Skip to content

Commit

Permalink
Renamed Typhoon\Reflection\NameResolution -> NameContext
Browse files Browse the repository at this point in the history
  • Loading branch information
vudaltsov committed Jan 31, 2024
1 parent 7945f25 commit 35c3791
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion src/AnonymousClassName.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Typhoon\Reflection;

use PhpParser\Node\Stmt\Class_;
use Typhoon\Reflection\NameResolution\NameResolver;
use Typhoon\Reflection\NameContext\NameResolver;

/**
* @api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

/**
* @internal
Expand Down
2 changes: 1 addition & 1 deletion src/NameResolution/Name.php → src/NameContext/Name.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

use Typhoon\Reflection\ReflectionException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

use Typhoon\Reflection\ReflectionException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

use PhpParser\Node;
use PhpParser\Node\Stmt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

/**
* @internal
Expand Down
4 changes: 2 additions & 2 deletions src/Reflector/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use Typhoon\Reflection\ChangeDetector\FileChangeDetector;
use Typhoon\Reflection\ClassLoader;
use Typhoon\Reflection\ClassReflection;
use Typhoon\Reflection\NameResolution\NameContext;
use Typhoon\Reflection\NameResolution\NameContextVisitor;
use Typhoon\Reflection\NameContext\NameContext;
use Typhoon\Reflection\NameContext\NameContextVisitor;
use Typhoon\Reflection\ParsingContext;
use Typhoon\Reflection\PhpDocParser\PhpDocParser;
use Typhoon\Reflection\PhpParser\PhpParser;
Expand Down
2 changes: 1 addition & 1 deletion src/Reflector/DiscoveringVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use PhpParser\NodeVisitorAbstract;
use Typhoon\Reflection\AnonymousClassName;
use Typhoon\Reflection\ClassReflection;
use Typhoon\Reflection\NameResolution\NameContext;
use Typhoon\Reflection\NameContext\NameContext;
use Typhoon\Reflection\ParsingContext;
use Typhoon\Reflection\ReflectionException;

Expand Down
2 changes: 1 addition & 1 deletion src/Reflector/NameAsTypeResolution.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Typhoon\Reflection\Reflector;

use Typhoon\Reflection\NameResolution\NameResolution;
use Typhoon\Reflection\NameContext\NameResolution;
use Typhoon\Reflection\ReflectionException;
use Typhoon\Reflection\TemplateReflection;
use Typhoon\Type\Type;
Expand Down
2 changes: 1 addition & 1 deletion src/Reflector/PhpDocTypeReflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
use PHPStan\PhpDocParser\Ast\Type\ObjectShapeNode;
use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use PHPStan\PhpDocParser\Ast\Type\UnionTypeNode;
use Typhoon\Reflection\NameResolution\NameResolver;
use Typhoon\Reflection\NameContext\NameResolver;
use Typhoon\Reflection\ReflectionException;
use Typhoon\Type;
use Typhoon\Type\types;
Expand Down
2 changes: 1 addition & 1 deletion src/Reflector/PhpParserReflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Typhoon\Reflection\AttributeReflection;
use Typhoon\Reflection\ClassReflection;
use Typhoon\Reflection\MethodReflection;
use Typhoon\Reflection\NameResolution\NameContext;
use Typhoon\Reflection\NameContext\NameContext;
use Typhoon\Reflection\ParameterReflection;
use Typhoon\Reflection\PhpDocParser\PhpDoc;
use Typhoon\Reflection\PropertyReflection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Typhoon\Reflection\NameResolution;
namespace Typhoon\Reflection\NameContext;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Reflector/PhpDocTypeReflectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Typhoon\Reflection\NameResolution\NameContext;
use Typhoon\Reflection\NameContext\NameContext;
use Typhoon\Reflection\PhpDocParser\PhpDocParser;
use Typhoon\Reflection\ReflectionException;
use Typhoon\Type\Type;
Expand Down

0 comments on commit 35c3791

Please sign in to comment.