Skip to content

Commit

Permalink
Move ContainerDynamicReturnTypeExtension to build/PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Sep 26, 2024
1 parent 2931dd7 commit 5651bec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types = 1);

namespace PHPStan\Internal;
namespace PHPStan\Build;

use PhpParser\Node\Expr\MethodCall;
use PHPStan\Analyser\Scope;
Expand Down
2 changes: 1 addition & 1 deletion build/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ services:
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
-
class: PHPStan\Internal\ContainerDynamicReturnTypeExtension
class: PHPStan\Build\ContainerDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension
2 changes: 1 addition & 1 deletion phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ parameters:
-
message: "#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#"
count: 1
path: src/Internal/ContainerDynamicReturnTypeExtension.php
path: build/PHPStan/Build/ContainerDynamicReturnTypeExtension.php

-
message: "#^Variable method call on PHPStan\\\\Reflection\\\\ClassReflection\\.$#"
Expand Down

0 comments on commit 5651bec

Please sign in to comment.