Skip to content

Commit

Permalink
Merge pull request #144 from localheinz/fix/internal
Browse files Browse the repository at this point in the history
Fix: Mark all classes as internal
  • Loading branch information
localheinz authored Feb 29, 2020
2 parents 5a74f6e + 659f404 commit f66e229
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ For a full diff see [`0.6.2...master`][0.6.2...master].
### Changed

* Moved `src/extension.neon` to `extension.neon` ([#140]), by [@localheinz]
* Marked classes as `@final` ([#144]), by [@localheinz]

## [`0.6.2`][0.6.2]

Expand Down Expand Up @@ -123,6 +124,7 @@ For a full diff see [`afd6fd9...0.1`][afd6fd9...0.1].
[#119]: https://github.com/Jan0707/phpstan-prophecy/pull/119
[#124]: https://github.com/Jan0707/phpstan-prophecy/pull/124
[#140]: https://github.com/Jan0707/phpstan-prophecy/pull/140
[#144]: https://github.com/Jan0707/phpstan-prophecy/pull/144

[@localheinz]: https://github.com/localheinz
[@PedroTroller]: https://github.com/PedroTroller
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
use PHPStan\Reflection;
use PHPStan\Type;

/**
* @internal
*/
final class ObjectProphecyRevealDynamicReturnTypeExtension implements Type\DynamicMethodReturnTypeExtension
{
public function getClass(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
use PHPStan\ShouldNotHappenException;
use PHPStan\Type;

/**
* @internal
*/
final class ObjectProphecyWillExtendOrImplementDynamicReturnTypeExtension implements Type\DynamicMethodReturnTypeExtension
{
public function getClass(): string
Expand Down
3 changes: 3 additions & 0 deletions src/Extension/ProphetProphesizeDynamicReturnTypeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
use PHPStan\ShouldNotHappenException;
use PHPStan\Type;

/**
* @internal
*/
final class ProphetProphesizeDynamicReturnTypeExtension implements Type\DynamicMethodReturnTypeExtension
{
private $className;
Expand Down
3 changes: 3 additions & 0 deletions src/PhpDoc/TypeNodeResolverExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
use PHPStan\Type;
use Prophecy\Prophecy\ObjectProphecy;

/**
* @internal
*/
final class TypeNodeResolverExtension implements PhpDoc\TypeNodeResolverAwareExtension, PhpDoc\TypeNodeResolverExtension
{
/**
Expand Down
3 changes: 3 additions & 0 deletions src/Reflection/ObjectProphecyMethodReflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
use PHPStan\Type;
use Prophecy\Prophecy;

/**
* @internal
*/
final class ObjectProphecyMethodReflection implements Reflection\MethodReflection
{
private $declaringClass;
Expand Down
3 changes: 3 additions & 0 deletions src/Reflection/ProphecyMethodsClassReflectionExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@

use PHPStan\Reflection;

/**
* @internal
*/
final class ProphecyMethodsClassReflectionExtension implements Reflection\MethodsClassReflectionExtension
{
public function hasMethod(Reflection\ClassReflection $classReflection, string $methodName): bool
Expand Down
3 changes: 3 additions & 0 deletions src/Type/ObjectProphecyType.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@

use PHPStan\Type;

/**
* @internal
*/
final class ObjectProphecyType extends Type\ObjectType
{
/**
Expand Down

0 comments on commit f66e229

Please sign in to comment.