diff --git a/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_component_component.php b/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_component_component.php index c5a317d..85f926a 100644 --- a/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_component_component.php +++ b/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_component_component.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Controller\Component\BasicComponent; use function PHPStan\Testing\assertType; /** @var BasicComponent $parentComponent */ diff --git a/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_controller_component.php b/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_controller_component.php index 2776a81..774b480 100644 --- a/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_controller_component.php +++ b/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_controller_component.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Controller\BasicController; use function PHPStan\Testing\assertType; /** @var BasicController $controller */ diff --git a/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_controller_component_from_parent_controller.php b/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_controller_component_from_parent_controller.php index 42d0c07..5e8bc7a 100644 --- a/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_controller_component_from_parent_controller.php +++ b/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_controller_component_from_parent_controller.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Controller\SameAsModelController; use function PHPStan\Testing\assertType; /** @var SameAsModelController $controller */ diff --git a/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_controller_component_with_same_method_name_as_model.php b/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_controller_component_with_same_method_name_as_model.php index d5c8ec3..5d375e8 100644 --- a/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_controller_component_with_same_method_name_as_model.php +++ b/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/existing_controller_component_with_same_method_name_as_model.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Controller\SameAsModelController; use function PHPStan\Testing\assertType; /** @var SameAsModelController $controller */ diff --git a/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/invalid_component_property.php b/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/invalid_component_property.php index d992d0a..438e0d2 100644 --- a/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/invalid_component_property.php +++ b/tests/ClassPropertyExtension/ClassComponentPropertyExtension/Fixture/invalid_component_property.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Controller\Component\BasicComponent; use function PHPStan\Testing\assertType; /** @var BasicComponent $component */ diff --git a/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/core_model_behavior.php b/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/core_model_behavior.php index 38e5f44..1532d00 100644 --- a/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/core_model_behavior.php +++ b/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/core_model_behavior.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Model\BasicModel; use function PHPStan\Testing\assertType; /** @var BasicModel $model */ diff --git a/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/custom_model_behavior.php b/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/custom_model_behavior.php index 4f664ad..d453b92 100644 --- a/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/custom_model_behavior.php +++ b/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/custom_model_behavior.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Model\BasicModel; use function PHPStan\Testing\assertType; /** @var BasicModel $model */ diff --git a/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/existing_controller_model.php b/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/existing_controller_model.php index 58af979..5822726 100644 --- a/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/existing_controller_model.php +++ b/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/existing_controller_model.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Controller\BasicController; use function PHPStan\Testing\assertType; /** @var BasicController $controller */ diff --git a/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/existing_model_model.php b/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/existing_model_model.php index 680b7ec..79e0f8b 100644 --- a/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/existing_model_model.php +++ b/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/existing_model_model.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Model\BasicModel; use function PHPStan\Testing\assertType; /** @var BasicModel $model */ diff --git a/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/invalid_controller_property.php b/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/invalid_controller_property.php index d01ba97..695acab 100644 --- a/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/invalid_controller_property.php +++ b/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/invalid_controller_property.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Controller\BasicController; use function PHPStan\Testing\assertType; /** @var BasicController $controller */ diff --git a/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/invalid_model_property.php b/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/invalid_model_property.php index 2595a9c..939bac9 100644 --- a/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/invalid_model_property.php +++ b/tests/ClassPropertyExtension/ClassModelsPropertyExtension/Fixture/invalid_model_property.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Model\BasicModel; use function PHPStan\Testing\assertType; /** @var BasicModel $model */ diff --git a/tests/ClassPropertyExtension/ShellClassPropertyExtension/Fixture/existing_shell_model.php b/tests/ClassPropertyExtension/ShellClassPropertyExtension/Fixture/existing_shell_model.php index 0ae5447..5db1042 100644 --- a/tests/ClassPropertyExtension/ShellClassPropertyExtension/Fixture/existing_shell_model.php +++ b/tests/ClassPropertyExtension/ShellClassPropertyExtension/Fixture/existing_shell_model.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Console\Command\BasicShell; use function PHPStan\Testing\assertType; $assign = function (BasicShell $shell) { diff --git a/tests/ClassPropertyExtension/ShellClassPropertyExtension/Fixture/existing_shell_task.php b/tests/ClassPropertyExtension/ShellClassPropertyExtension/Fixture/existing_shell_task.php index cd91607..aeecc82 100644 --- a/tests/ClassPropertyExtension/ShellClassPropertyExtension/Fixture/existing_shell_task.php +++ b/tests/ClassPropertyExtension/ShellClassPropertyExtension/Fixture/existing_shell_task.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Console\Command\BasicShell; use function PHPStan\Testing\assertType; /** @var BasicShell $shell */ diff --git a/tests/ClassPropertyExtension/ShellClassPropertyExtension/Fixture/invalid_shell_property.php b/tests/ClassPropertyExtension/ShellClassPropertyExtension/Fixture/invalid_shell_property.php index dffd2c1..8be0864 100644 --- a/tests/ClassPropertyExtension/ShellClassPropertyExtension/Fixture/invalid_shell_property.php +++ b/tests/ClassPropertyExtension/ShellClassPropertyExtension/Fixture/invalid_shell_property.php @@ -2,6 +2,7 @@ declare(strict_types = 1); +use PHPStanCakePHP2\Tests\Source\Console\Command\BasicShell; use function PHPStan\Testing\assertType; /** @var BasicShell $shell */ diff --git a/tests/Feature/classes/Console/Command/BasicShell.php b/tests/Feature/classes/Console/Command/BasicShell.php deleted file mode 100644 index c4784e1..0000000 --- a/tests/Feature/classes/Console/Command/BasicShell.php +++ /dev/null @@ -1,5 +0,0 @@ -