diff --git a/.github/workflows/ci_review.yaml b/.github/workflows/ci_review.yaml index 3c477a5a546..d1279e373b0 100644 --- a/.github/workflows/ci_review.yaml +++ b/.github/workflows/ci_review.yaml @@ -62,6 +62,6 @@ jobs: author_email: tomas@getrector.org env: # to get push access - token: ${{ secrets.ACCESS_TOKEN }} + GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} - run: ${{ matrix.actions.check_run }} diff --git a/.github/workflows/rector_ci.yaml b/.github/workflows/rector_ci.yaml index 1309bae2fd5..cfb647e123e 100644 --- a/.github/workflows/rector_ci.yaml +++ b/.github/workflows/rector_ci.yaml @@ -54,4 +54,4 @@ jobs: author_email: tomas@getrector.org env: # to get push access - token: ${{ secrets.ACCESS_TOKEN }} + GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} diff --git a/rules/autodiscovery/tests/Rector/FileSystem/MoveServicesBySuffixToDirectoryRector/MoveServicesBySuffixToDirectoryRectorTest.php b/rules/autodiscovery/tests/Rector/FileSystem/MoveServicesBySuffixToDirectoryRector/MoveServicesBySuffixToDirectoryRectorTest.php index 40a3726afe0..81b9684610d 100644 --- a/rules/autodiscovery/tests/Rector/FileSystem/MoveServicesBySuffixToDirectoryRector/MoveServicesBySuffixToDirectoryRectorTest.php +++ b/rules/autodiscovery/tests/Rector/FileSystem/MoveServicesBySuffixToDirectoryRector/MoveServicesBySuffixToDirectoryRectorTest.php @@ -62,7 +62,7 @@ final class MoveServicesBySuffixToDirectoryRectorTest extends AbstractFileSystem } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/autodiscovery/tests/Rector/FileSystem/MoveServicesBySuffixToDirectoryRector/MutualRenameTest.php b/rules/autodiscovery/tests/Rector/FileSystem/MoveServicesBySuffixToDirectoryRector/MutualRenameTest.php index 1897cc31538..e465b1a3aba 100644 --- a/rules/autodiscovery/tests/Rector/FileSystem/MoveServicesBySuffixToDirectoryRector/MutualRenameTest.php +++ b/rules/autodiscovery/tests/Rector/FileSystem/MoveServicesBySuffixToDirectoryRector/MutualRenameTest.php @@ -74,7 +74,7 @@ final class MutualRenameTest extends AbstractFileSystemRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/autodiscovery/tests/Rector/FileSystem/MoveValueObjectsToValueObjectDirectoryRector/MoveValueObjectsToValueObjectDirectoryRectorTest.php b/rules/autodiscovery/tests/Rector/FileSystem/MoveValueObjectsToValueObjectDirectoryRector/MoveValueObjectsToValueObjectDirectoryRectorTest.php index 90cc55cd83b..30d52c35683 100644 --- a/rules/autodiscovery/tests/Rector/FileSystem/MoveValueObjectsToValueObjectDirectoryRector/MoveValueObjectsToValueObjectDirectoryRectorTest.php +++ b/rules/autodiscovery/tests/Rector/FileSystem/MoveValueObjectsToValueObjectDirectoryRector/MoveValueObjectsToValueObjectDirectoryRectorTest.php @@ -48,7 +48,7 @@ final class MoveValueObjectsToValueObjectDirectoryRectorTest extends AbstractFil } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/cakephp/tests/Rector/MethodCall/ArrayToFluentCallRector/ArrayToFluentCallRectorTest.php b/rules/cakephp/tests/Rector/MethodCall/ArrayToFluentCallRector/ArrayToFluentCallRectorTest.php index 4dc5ff8f1e2..2aace5c1c1b 100644 --- a/rules/cakephp/tests/Rector/MethodCall/ArrayToFluentCallRector/ArrayToFluentCallRectorTest.php +++ b/rules/cakephp/tests/Rector/MethodCall/ArrayToFluentCallRector/ArrayToFluentCallRectorTest.php @@ -29,7 +29,7 @@ final class ArrayToFluentCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/cakephp/tests/Rector/MethodCall/ModalToGetSetRector/ModalToGetSetRectorTest.php b/rules/cakephp/tests/Rector/MethodCall/ModalToGetSetRector/ModalToGetSetRectorTest.php index f48d99aba8c..f24952f7e3d 100644 --- a/rules/cakephp/tests/Rector/MethodCall/ModalToGetSetRector/ModalToGetSetRectorTest.php +++ b/rules/cakephp/tests/Rector/MethodCall/ModalToGetSetRector/ModalToGetSetRectorTest.php @@ -27,7 +27,7 @@ final class ModalToGetSetRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/cakephp/tests/Rector/MethodCall/RenameMethodCallBasedOnParameterRector/RenameMethodCallBasedOnParameterRectorTest.php b/rules/cakephp/tests/Rector/MethodCall/RenameMethodCallBasedOnParameterRector/RenameMethodCallBasedOnParameterRectorTest.php index 2c5460f0f48..4f35962d639 100644 --- a/rules/cakephp/tests/Rector/MethodCall/RenameMethodCallBasedOnParameterRector/RenameMethodCallBasedOnParameterRectorTest.php +++ b/rules/cakephp/tests/Rector/MethodCall/RenameMethodCallBasedOnParameterRector/RenameMethodCallBasedOnParameterRectorTest.php @@ -30,7 +30,7 @@ final class RenameMethodCallBasedOnParameterRectorTest extends AbstractRectorTes } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/coding-style/tests/Rector/ClassMethod/ReturnArrayClassMethodToYieldRector/ReturnArrayClassMethodToYieldRectorTest.php b/rules/coding-style/tests/Rector/ClassMethod/ReturnArrayClassMethodToYieldRector/ReturnArrayClassMethodToYieldRectorTest.php index 320ed1d10b9..efcce2a627e 100644 --- a/rules/coding-style/tests/Rector/ClassMethod/ReturnArrayClassMethodToYieldRector/ReturnArrayClassMethodToYieldRectorTest.php +++ b/rules/coding-style/tests/Rector/ClassMethod/ReturnArrayClassMethodToYieldRector/ReturnArrayClassMethodToYieldRectorTest.php @@ -29,7 +29,7 @@ final class ReturnArrayClassMethodToYieldRectorTest extends AbstractRectorTestCa } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/coding-style/tests/Rector/ClassMethod/YieldClassMethodToArrayClassMethodRector/YieldClassMethodToArrayClassMethodRectorTest.php b/rules/coding-style/tests/Rector/ClassMethod/YieldClassMethodToArrayClassMethodRector/YieldClassMethodToArrayClassMethodRectorTest.php index 95eab832517..61ce4beb260 100644 --- a/rules/coding-style/tests/Rector/ClassMethod/YieldClassMethodToArrayClassMethodRector/YieldClassMethodToArrayClassMethodRectorTest.php +++ b/rules/coding-style/tests/Rector/ClassMethod/YieldClassMethodToArrayClassMethodRector/YieldClassMethodToArrayClassMethodRectorTest.php @@ -26,7 +26,7 @@ final class YieldClassMethodToArrayClassMethodRectorTest extends AbstractRectorT } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/coding-style/tests/Rector/FuncCall/FunctionCallToConstantRector/FunctionCallToConstantRectorTest.php b/rules/coding-style/tests/Rector/FuncCall/FunctionCallToConstantRector/FunctionCallToConstantRectorTest.php index 80d136f5ec3..c38359ad22f 100644 --- a/rules/coding-style/tests/Rector/FuncCall/FunctionCallToConstantRector/FunctionCallToConstantRectorTest.php +++ b/rules/coding-style/tests/Rector/FuncCall/FunctionCallToConstantRector/FunctionCallToConstantRectorTest.php @@ -25,7 +25,7 @@ final class FunctionCallToConstantRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/coding-style/tests/Rector/MethodCall/PreferThisOrSelfMethodCallRector/PreferThisOrSelfMethodCallRectorTest.php b/rules/coding-style/tests/Rector/MethodCall/PreferThisOrSelfMethodCallRector/PreferThisOrSelfMethodCallRectorTest.php index dc4ebc02f39..27c55d5f7a2 100644 --- a/rules/coding-style/tests/Rector/MethodCall/PreferThisOrSelfMethodCallRector/PreferThisOrSelfMethodCallRectorTest.php +++ b/rules/coding-style/tests/Rector/MethodCall/PreferThisOrSelfMethodCallRector/PreferThisOrSelfMethodCallRectorTest.php @@ -27,7 +27,7 @@ final class PreferThisOrSelfMethodCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/decouple/tests/Rector/ClassMethod/DecoupleClassMethodToOwnClassRector/DecoupleClassMethodToOwnClassRectorTest.php b/rules/decouple/tests/Rector/ClassMethod/DecoupleClassMethodToOwnClassRector/DecoupleClassMethodToOwnClassRectorTest.php index e1161afbf45..e4e4de19431 100644 --- a/rules/decouple/tests/Rector/ClassMethod/DecoupleClassMethodToOwnClassRector/DecoupleClassMethodToOwnClassRectorTest.php +++ b/rules/decouple/tests/Rector/ClassMethod/DecoupleClassMethodToOwnClassRector/DecoupleClassMethodToOwnClassRectorTest.php @@ -43,7 +43,7 @@ final class DecoupleClassMethodToOwnClassRectorTest extends AbstractRectorTestCa } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/doctrine-code-quality/tests/Rector/DoctrineRepositoryAsService/DoctrineRepositoryAsServiceTest.php b/rules/doctrine-code-quality/tests/Rector/DoctrineRepositoryAsService/DoctrineRepositoryAsServiceTest.php index ce8cd8db359..b8a144cce62 100644 --- a/rules/doctrine-code-quality/tests/Rector/DoctrineRepositoryAsService/DoctrineRepositoryAsServiceTest.php +++ b/rules/doctrine-code-quality/tests/Rector/DoctrineRepositoryAsService/DoctrineRepositoryAsServiceTest.php @@ -33,7 +33,7 @@ final class DoctrineRepositoryAsServiceTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/doctrine/tests/Rector/Class_/AddEntityIdByConditionRector/AddEntityIdByConditionRectorTest.php b/rules/doctrine/tests/Rector/Class_/AddEntityIdByConditionRector/AddEntityIdByConditionRectorTest.php index 91be29b23b7..9d77801ce89 100644 --- a/rules/doctrine/tests/Rector/Class_/AddEntityIdByConditionRector/AddEntityIdByConditionRectorTest.php +++ b/rules/doctrine/tests/Rector/Class_/AddEntityIdByConditionRector/AddEntityIdByConditionRectorTest.php @@ -26,7 +26,7 @@ final class AddEntityIdByConditionRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/doctrine/tests/Rector/MethodCall/EntityAliasToClassConstantReferenceRector/EntityAliasToClassConstantReferenceRectorTest.php b/rules/doctrine/tests/Rector/MethodCall/EntityAliasToClassConstantReferenceRector/EntityAliasToClassConstantReferenceRectorTest.php index c90e466bfaa..20f00149abe 100644 --- a/rules/doctrine/tests/Rector/MethodCall/EntityAliasToClassConstantReferenceRector/EntityAliasToClassConstantReferenceRectorTest.php +++ b/rules/doctrine/tests/Rector/MethodCall/EntityAliasToClassConstantReferenceRector/EntityAliasToClassConstantReferenceRectorTest.php @@ -25,7 +25,7 @@ final class EntityAliasToClassConstantReferenceRectorTest extends AbstractRector } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/ClassConst/ChangeConstantVisibilityRector/ChangeConstantVisibilityRectorTest.php b/rules/generic/tests/Rector/ClassConst/ChangeConstantVisibilityRector/ChangeConstantVisibilityRectorTest.php index c5c514872fb..5635b41a179 100644 --- a/rules/generic/tests/Rector/ClassConst/ChangeConstantVisibilityRector/ChangeConstantVisibilityRectorTest.php +++ b/rules/generic/tests/Rector/ClassConst/ChangeConstantVisibilityRector/ChangeConstantVisibilityRectorTest.php @@ -27,7 +27,7 @@ final class ChangeConstantVisibilityRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/ClassConstFetch/RenameClassConstantsUseToStringsRector/RenameClassConstantsUseToStringsRectorTest.php b/rules/generic/tests/Rector/ClassConstFetch/RenameClassConstantsUseToStringsRector/RenameClassConstantsUseToStringsRectorTest.php index 381b80db62b..3307e9b7bb6 100644 --- a/rules/generic/tests/Rector/ClassConstFetch/RenameClassConstantsUseToStringsRector/RenameClassConstantsUseToStringsRectorTest.php +++ b/rules/generic/tests/Rector/ClassConstFetch/RenameClassConstantsUseToStringsRector/RenameClassConstantsUseToStringsRectorTest.php @@ -26,7 +26,7 @@ final class RenameClassConstantsUseToStringsRectorTest extends AbstractRectorTes } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/ClassLike/RemoveAnnotationRector/RemoveAnnotationRectorTest.php b/rules/generic/tests/Rector/ClassLike/RemoveAnnotationRector/RemoveAnnotationRectorTest.php index 1e8a95ca4c5..c1521638520 100644 --- a/rules/generic/tests/Rector/ClassLike/RemoveAnnotationRector/RemoveAnnotationRectorTest.php +++ b/rules/generic/tests/Rector/ClassLike/RemoveAnnotationRector/RemoveAnnotationRectorTest.php @@ -25,7 +25,7 @@ final class RemoveAnnotationRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/ClassMethod/AddMethodParentCallRector/AddMethodParentCallRectorTest.php b/rules/generic/tests/Rector/ClassMethod/AddMethodParentCallRector/AddMethodParentCallRectorTest.php index 912187a2f18..f45d339b292 100644 --- a/rules/generic/tests/Rector/ClassMethod/AddMethodParentCallRector/AddMethodParentCallRectorTest.php +++ b/rules/generic/tests/Rector/ClassMethod/AddMethodParentCallRector/AddMethodParentCallRectorTest.php @@ -26,7 +26,7 @@ final class AddMethodParentCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/ClassMethod/AddReturnTypeDeclarationRector/AddReturnTypeDeclarationRectorTest.php b/rules/generic/tests/Rector/ClassMethod/AddReturnTypeDeclarationRector/AddReturnTypeDeclarationRectorTest.php index 88eca890248..4ea8e11e961 100644 --- a/rules/generic/tests/Rector/ClassMethod/AddReturnTypeDeclarationRector/AddReturnTypeDeclarationRectorTest.php +++ b/rules/generic/tests/Rector/ClassMethod/AddReturnTypeDeclarationRector/AddReturnTypeDeclarationRectorTest.php @@ -27,7 +27,7 @@ final class AddReturnTypeDeclarationRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/ClassMethod/ArgumentAdderRector/ArgumentAdderRectorTest.php b/rules/generic/tests/Rector/ClassMethod/ArgumentAdderRector/ArgumentAdderRectorTest.php index 74a0142f25d..de0df24d519 100644 --- a/rules/generic/tests/Rector/ClassMethod/ArgumentAdderRector/ArgumentAdderRectorTest.php +++ b/rules/generic/tests/Rector/ClassMethod/ArgumentAdderRector/ArgumentAdderRectorTest.php @@ -28,7 +28,7 @@ final class ArgumentAdderRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/ClassMethod/ArgumentDefaultValueReplacerRector/ArgumentDefaultValueReplacerRectorTest.php b/rules/generic/tests/Rector/ClassMethod/ArgumentDefaultValueReplacerRector/ArgumentDefaultValueReplacerRectorTest.php index 881a6ad2989..3e640e3da09 100644 --- a/rules/generic/tests/Rector/ClassMethod/ArgumentDefaultValueReplacerRector/ArgumentDefaultValueReplacerRectorTest.php +++ b/rules/generic/tests/Rector/ClassMethod/ArgumentDefaultValueReplacerRector/ArgumentDefaultValueReplacerRectorTest.php @@ -26,7 +26,7 @@ final class ArgumentDefaultValueReplacerRectorTest extends AbstractRectorTestCas } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/ClassMethod/ArgumentRemoverRector/ArgumentRemoverRectorTest.php b/rules/generic/tests/Rector/ClassMethod/ArgumentRemoverRector/ArgumentRemoverRectorTest.php index 7a70b31a15f..9d9cbfd3aa2 100644 --- a/rules/generic/tests/Rector/ClassMethod/ArgumentRemoverRector/ArgumentRemoverRectorTest.php +++ b/rules/generic/tests/Rector/ClassMethod/ArgumentRemoverRector/ArgumentRemoverRectorTest.php @@ -29,7 +29,7 @@ final class ArgumentRemoverRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/ClassMethod/ChangeContractMethodSingleToManyRector/ChangeContractMethodSingleToManyRectorTest.php b/rules/generic/tests/Rector/ClassMethod/ChangeContractMethodSingleToManyRector/ChangeContractMethodSingleToManyRectorTest.php index 6fbf06391f8..8ecacae3c48 100644 --- a/rules/generic/tests/Rector/ClassMethod/ChangeContractMethodSingleToManyRector/ChangeContractMethodSingleToManyRectorTest.php +++ b/rules/generic/tests/Rector/ClassMethod/ChangeContractMethodSingleToManyRector/ChangeContractMethodSingleToManyRectorTest.php @@ -26,7 +26,7 @@ final class ChangeContractMethodSingleToManyRectorTest extends AbstractRectorTes } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/ClassMethod/ChangeMethodVisibilityRector/ChangeMethodVisibilityRectorTest.php b/rules/generic/tests/Rector/ClassMethod/ChangeMethodVisibilityRector/ChangeMethodVisibilityRectorTest.php index ae3b74d1631..07a7f703a4c 100644 --- a/rules/generic/tests/Rector/ClassMethod/ChangeMethodVisibilityRector/ChangeMethodVisibilityRectorTest.php +++ b/rules/generic/tests/Rector/ClassMethod/ChangeMethodVisibilityRector/ChangeMethodVisibilityRectorTest.php @@ -27,7 +27,7 @@ final class ChangeMethodVisibilityRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/ClassMethod/NormalToFluentRector/NormalToFluentRectorTest.php b/rules/generic/tests/Rector/ClassMethod/NormalToFluentRector/NormalToFluentRectorTest.php index 8a2d8600aad..558f2075a09 100644 --- a/rules/generic/tests/Rector/ClassMethod/NormalToFluentRector/NormalToFluentRectorTest.php +++ b/rules/generic/tests/Rector/ClassMethod/NormalToFluentRector/NormalToFluentRectorTest.php @@ -27,7 +27,7 @@ final class NormalToFluentRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/ClassMethod/WrapReturnRector/WrapReturnRectorTest.php b/rules/generic/tests/Rector/ClassMethod/WrapReturnRector/WrapReturnRectorTest.php index 95bb01240e1..be50e9a3909 100644 --- a/rules/generic/tests/Rector/ClassMethod/WrapReturnRector/WrapReturnRectorTest.php +++ b/rules/generic/tests/Rector/ClassMethod/WrapReturnRector/WrapReturnRectorTest.php @@ -27,7 +27,7 @@ final class WrapReturnRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/Class_/ActionInjectionToConstructorInjectionRector/ActionInjectionToConstructorInjectionRectorTest.php b/rules/generic/tests/Rector/Class_/ActionInjectionToConstructorInjectionRector/ActionInjectionToConstructorInjectionRectorTest.php index 806d8d1a0b0..38e16bfbf0a 100644 --- a/rules/generic/tests/Rector/Class_/ActionInjectionToConstructorInjectionRector/ActionInjectionToConstructorInjectionRectorTest.php +++ b/rules/generic/tests/Rector/Class_/ActionInjectionToConstructorInjectionRector/ActionInjectionToConstructorInjectionRectorTest.php @@ -29,7 +29,7 @@ final class ActionInjectionToConstructorInjectionRectorTest extends AbstractRect } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/Class_/AddInterfaceByTraitRector/AddInterfaceByTraitRectorTest.php b/rules/generic/tests/Rector/Class_/AddInterfaceByTraitRector/AddInterfaceByTraitRectorTest.php index 432406c3f63..a0aaaf5eb6a 100644 --- a/rules/generic/tests/Rector/Class_/AddInterfaceByTraitRector/AddInterfaceByTraitRectorTest.php +++ b/rules/generic/tests/Rector/Class_/AddInterfaceByTraitRector/AddInterfaceByTraitRectorTest.php @@ -27,7 +27,7 @@ final class AddInterfaceByTraitRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/Class_/AddPropertyByParentRector/AddPropertyByParentRectorTest.php b/rules/generic/tests/Rector/Class_/AddPropertyByParentRector/AddPropertyByParentRectorTest.php index ffc2747bba1..9ca69c2746d 100644 --- a/rules/generic/tests/Rector/Class_/AddPropertyByParentRector/AddPropertyByParentRectorTest.php +++ b/rules/generic/tests/Rector/Class_/AddPropertyByParentRector/AddPropertyByParentRectorTest.php @@ -27,7 +27,7 @@ final class AddPropertyByParentRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/Class_/MergeInterfacesRector/MergeInterfacesRectorTest.php b/rules/generic/tests/Rector/Class_/MergeInterfacesRector/MergeInterfacesRectorTest.php index 51fba91b4a8..3205feac991 100644 --- a/rules/generic/tests/Rector/Class_/MergeInterfacesRector/MergeInterfacesRectorTest.php +++ b/rules/generic/tests/Rector/Class_/MergeInterfacesRector/MergeInterfacesRectorTest.php @@ -27,7 +27,7 @@ final class MergeInterfacesRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/Class_/ParentClassToTraitsRector/ParentClassToTraitsRectorTest.php b/rules/generic/tests/Rector/Class_/ParentClassToTraitsRector/ParentClassToTraitsRectorTest.php index 6d7bbee25f5..128cf69013e 100644 --- a/rules/generic/tests/Rector/Class_/ParentClassToTraitsRector/ParentClassToTraitsRectorTest.php +++ b/rules/generic/tests/Rector/Class_/ParentClassToTraitsRector/ParentClassToTraitsRectorTest.php @@ -29,7 +29,7 @@ final class ParentClassToTraitsRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/Class_/RemoveInterfacesRector/RemoveInterfacesRectorTest.php b/rules/generic/tests/Rector/Class_/RemoveInterfacesRector/RemoveInterfacesRectorTest.php index 65fc87a9918..645c125480e 100644 --- a/rules/generic/tests/Rector/Class_/RemoveInterfacesRector/RemoveInterfacesRectorTest.php +++ b/rules/generic/tests/Rector/Class_/RemoveInterfacesRector/RemoveInterfacesRectorTest.php @@ -26,7 +26,7 @@ final class RemoveInterfacesRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/Class_/RemoveParentRector/RemoveParentRectorTest.php b/rules/generic/tests/Rector/Class_/RemoveParentRector/RemoveParentRectorTest.php index 00bac061099..a4eb7fa96e8 100644 --- a/rules/generic/tests/Rector/Class_/RemoveParentRector/RemoveParentRectorTest.php +++ b/rules/generic/tests/Rector/Class_/RemoveParentRector/RemoveParentRectorTest.php @@ -26,7 +26,7 @@ final class RemoveParentRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/Class_/RemoveTraitRector/RemoveTraitRectorTest.php b/rules/generic/tests/Rector/Class_/RemoveTraitRector/RemoveTraitRectorTest.php index 095ed78becb..02acc91d3b1 100644 --- a/rules/generic/tests/Rector/Class_/RemoveTraitRector/RemoveTraitRectorTest.php +++ b/rules/generic/tests/Rector/Class_/RemoveTraitRector/RemoveTraitRectorTest.php @@ -26,7 +26,7 @@ final class RemoveTraitRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/Expression/MethodCallToReturnRector/MethodCallToReturnRectorTest.php b/rules/generic/tests/Rector/Expression/MethodCallToReturnRector/MethodCallToReturnRectorTest.php index 17d682f4463..229bf59f357 100644 --- a/rules/generic/tests/Rector/Expression/MethodCallToReturnRector/MethodCallToReturnRectorTest.php +++ b/rules/generic/tests/Rector/Expression/MethodCallToReturnRector/MethodCallToReturnRectorTest.php @@ -27,7 +27,7 @@ final class MethodCallToReturnRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/FuncCall/FuncCallToNewRector/FuncCallToNewRectorTest.php b/rules/generic/tests/Rector/FuncCall/FuncCallToNewRector/FuncCallToNewRectorTest.php index f605657c9d7..79a9c190fd0 100644 --- a/rules/generic/tests/Rector/FuncCall/FuncCallToNewRector/FuncCallToNewRectorTest.php +++ b/rules/generic/tests/Rector/FuncCall/FuncCallToNewRector/FuncCallToNewRectorTest.php @@ -25,7 +25,7 @@ final class FuncCallToNewRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/FuncCall/FuncCallToStaticCallRector/FuncCallToStaticCallRectorTest.php b/rules/generic/tests/Rector/FuncCall/FuncCallToStaticCallRector/FuncCallToStaticCallRectorTest.php index ab779bff4dc..bb9b50c2dc7 100644 --- a/rules/generic/tests/Rector/FuncCall/FuncCallToStaticCallRector/FuncCallToStaticCallRectorTest.php +++ b/rules/generic/tests/Rector/FuncCall/FuncCallToStaticCallRector/FuncCallToStaticCallRectorTest.php @@ -26,7 +26,7 @@ final class FuncCallToStaticCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/FuncCall/RemoveFuncCallArgRector/RemoveFuncCallArgRectorTest.php b/rules/generic/tests/Rector/FuncCall/RemoveFuncCallArgRector/RemoveFuncCallArgRectorTest.php index 27ab9b3bc83..288d7303612 100644 --- a/rules/generic/tests/Rector/FuncCall/RemoveFuncCallArgRector/RemoveFuncCallArgRectorTest.php +++ b/rules/generic/tests/Rector/FuncCall/RemoveFuncCallArgRector/RemoveFuncCallArgRectorTest.php @@ -30,7 +30,7 @@ final class RemoveFuncCallArgRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/FuncCall/RemoveIniGetSetFuncCallRector/RemoveIniGetSetFuncCallRectorTest.php b/rules/generic/tests/Rector/FuncCall/RemoveIniGetSetFuncCallRector/RemoveIniGetSetFuncCallRectorTest.php index 4f6b6e68ec5..bebf43ab733 100644 --- a/rules/generic/tests/Rector/FuncCall/RemoveIniGetSetFuncCallRector/RemoveIniGetSetFuncCallRectorTest.php +++ b/rules/generic/tests/Rector/FuncCall/RemoveIniGetSetFuncCallRector/RemoveIniGetSetFuncCallRectorTest.php @@ -29,7 +29,7 @@ final class RemoveIniGetSetFuncCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/FuncCall/SwapFuncCallArgumentsRector/SwapFuncCallArgumentsRectorTest.php b/rules/generic/tests/Rector/FuncCall/SwapFuncCallArgumentsRector/SwapFuncCallArgumentsRectorTest.php index 9165ebed45e..827ef2280cf 100644 --- a/rules/generic/tests/Rector/FuncCall/SwapFuncCallArgumentsRector/SwapFuncCallArgumentsRectorTest.php +++ b/rules/generic/tests/Rector/FuncCall/SwapFuncCallArgumentsRector/SwapFuncCallArgumentsRectorTest.php @@ -26,7 +26,7 @@ final class SwapFuncCallArgumentsRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/MethodCall/MethodCallRemoverRector/MethodCallRemoverRectorTest.php b/rules/generic/tests/Rector/MethodCall/MethodCallRemoverRector/MethodCallRemoverRectorTest.php index 9adf2edcf33..b132b6a71c0 100644 --- a/rules/generic/tests/Rector/MethodCall/MethodCallRemoverRector/MethodCallRemoverRectorTest.php +++ b/rules/generic/tests/Rector/MethodCall/MethodCallRemoverRector/MethodCallRemoverRectorTest.php @@ -25,7 +25,7 @@ final class MethodCallRemoverRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/New_/NewObjectToFactoryCreateRector/NewObjectToFactoryCreateRectorTest.php b/rules/generic/tests/Rector/New_/NewObjectToFactoryCreateRector/NewObjectToFactoryCreateRectorTest.php index 3f1089849c7..88c759be7a4 100644 --- a/rules/generic/tests/Rector/New_/NewObjectToFactoryCreateRector/NewObjectToFactoryCreateRectorTest.php +++ b/rules/generic/tests/Rector/New_/NewObjectToFactoryCreateRector/NewObjectToFactoryCreateRectorTest.php @@ -27,7 +27,7 @@ final class NewObjectToFactoryCreateRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/Property/ChangePropertyVisibilityRector/ChangePropertyVisibilityRectorTest.php b/rules/generic/tests/Rector/Property/ChangePropertyVisibilityRector/ChangePropertyVisibilityRectorTest.php index 99617408a72..60f151d0e5d 100644 --- a/rules/generic/tests/Rector/Property/ChangePropertyVisibilityRector/ChangePropertyVisibilityRectorTest.php +++ b/rules/generic/tests/Rector/Property/ChangePropertyVisibilityRector/ChangePropertyVisibilityRectorTest.php @@ -26,7 +26,7 @@ final class ChangePropertyVisibilityRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/Property/InjectAnnotationClassRector/InjectAnnotationClassRectorTest.php b/rules/generic/tests/Rector/Property/InjectAnnotationClassRector/InjectAnnotationClassRectorTest.php index b84725a5045..f8e24a7f4e0 100644 --- a/rules/generic/tests/Rector/Property/InjectAnnotationClassRector/InjectAnnotationClassRectorTest.php +++ b/rules/generic/tests/Rector/Property/InjectAnnotationClassRector/InjectAnnotationClassRectorTest.php @@ -33,7 +33,7 @@ final class InjectAnnotationClassRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/RectorOrder/RectorOrderTest.php b/rules/generic/tests/Rector/RectorOrder/RectorOrderTest.php index dd44a35f8ef..fa584114a3e 100644 --- a/rules/generic/tests/Rector/RectorOrder/RectorOrderTest.php +++ b/rules/generic/tests/Rector/RectorOrder/RectorOrderTest.php @@ -30,7 +30,7 @@ final class RectorOrderTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/StaticCall/SwapClassMethodArgumentsRector/SwapClassMethodArgumentsRectorTest.php b/rules/generic/tests/Rector/StaticCall/SwapClassMethodArgumentsRector/SwapClassMethodArgumentsRectorTest.php index 2a4ec1a073d..1a8c73dd994 100644 --- a/rules/generic/tests/Rector/StaticCall/SwapClassMethodArgumentsRector/SwapClassMethodArgumentsRectorTest.php +++ b/rules/generic/tests/Rector/StaticCall/SwapClassMethodArgumentsRector/SwapClassMethodArgumentsRectorTest.php @@ -27,7 +27,7 @@ final class SwapClassMethodArgumentsRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/generic/tests/Rector/String_/StringToClassConstantRector/StringToClassConstantRectorTest.php b/rules/generic/tests/Rector/String_/StringToClassConstantRector/StringToClassConstantRectorTest.php index f8c83200d5c..712caab0961 100644 --- a/rules/generic/tests/Rector/String_/StringToClassConstantRector/StringToClassConstantRectorTest.php +++ b/rules/generic/tests/Rector/String_/StringToClassConstantRector/StringToClassConstantRectorTest.php @@ -26,7 +26,7 @@ final class StringToClassConstantRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/legacy/tests/Rector/FileWithoutNamespace/AddTopIncludeRector/AddTopIncludeRectorTest.php b/rules/legacy/tests/Rector/FileWithoutNamespace/AddTopIncludeRector/AddTopIncludeRectorTest.php index 88fd813a434..7375c5b0b39 100644 --- a/rules/legacy/tests/Rector/FileWithoutNamespace/AddTopIncludeRector/AddTopIncludeRectorTest.php +++ b/rules/legacy/tests/Rector/FileWithoutNamespace/AddTopIncludeRector/AddTopIncludeRectorTest.php @@ -25,7 +25,7 @@ final class AddTopIncludeRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/magic-disclosure/tests/Rector/Assign/GetAndSetToMethodCallRector/GetAndSetToMethodCallRectorTest.php b/rules/magic-disclosure/tests/Rector/Assign/GetAndSetToMethodCallRector/GetAndSetToMethodCallRectorTest.php index 851daaf4588..ed59016c653 100644 --- a/rules/magic-disclosure/tests/Rector/Assign/GetAndSetToMethodCallRector/GetAndSetToMethodCallRectorTest.php +++ b/rules/magic-disclosure/tests/Rector/Assign/GetAndSetToMethodCallRector/GetAndSetToMethodCallRectorTest.php @@ -27,7 +27,7 @@ final class GetAndSetToMethodCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/magic-disclosure/tests/Rector/Isset_/UnsetAndIssetToMethodCallRector/UnsetAndIssetToMethodCallRectorTest.php b/rules/magic-disclosure/tests/Rector/Isset_/UnsetAndIssetToMethodCallRector/UnsetAndIssetToMethodCallRectorTest.php index bc2085f0006..6ac743d667a 100644 --- a/rules/magic-disclosure/tests/Rector/Isset_/UnsetAndIssetToMethodCallRector/UnsetAndIssetToMethodCallRectorTest.php +++ b/rules/magic-disclosure/tests/Rector/Isset_/UnsetAndIssetToMethodCallRector/UnsetAndIssetToMethodCallRectorTest.php @@ -27,7 +27,7 @@ final class UnsetAndIssetToMethodCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/magic-disclosure/tests/Rector/String_/ToStringToMethodCallRector/ToStringToMethodCallRectorTest.php b/rules/magic-disclosure/tests/Rector/String_/ToStringToMethodCallRector/ToStringToMethodCallRectorTest.php index 91688482321..4da9eee431f 100644 --- a/rules/magic-disclosure/tests/Rector/String_/ToStringToMethodCallRector/ToStringToMethodCallRectorTest.php +++ b/rules/magic-disclosure/tests/Rector/String_/ToStringToMethodCallRector/ToStringToMethodCallRectorTest.php @@ -26,7 +26,7 @@ final class ToStringToMethodCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/nette-tester-to-phpunit/tests/Rector/Class_/NetteTesterClassToPHPUnitClassRector/NetteTesterPHPUnitRectorTest.php b/rules/nette-tester-to-phpunit/tests/Rector/Class_/NetteTesterClassToPHPUnitClassRector/NetteTesterPHPUnitRectorTest.php index 17ddc66c3bc..62f79d6f4f5 100644 --- a/rules/nette-tester-to-phpunit/tests/Rector/Class_/NetteTesterClassToPHPUnitClassRector/NetteTesterPHPUnitRectorTest.php +++ b/rules/nette-tester-to-phpunit/tests/Rector/Class_/NetteTesterClassToPHPUnitClassRector/NetteTesterPHPUnitRectorTest.php @@ -26,7 +26,7 @@ final class NetteTesterPHPUnitRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/order/tests/Rector/ClassMethod/OrderConstructorDependenciesByTypeAlphabeticallyRector/OrderConstructorDependenciesByTypeAlphabeticallyRectorTest.php b/rules/order/tests/Rector/ClassMethod/OrderConstructorDependenciesByTypeAlphabeticallyRector/OrderConstructorDependenciesByTypeAlphabeticallyRectorTest.php index 625a6d15d24..9c3269eef81 100644 --- a/rules/order/tests/Rector/ClassMethod/OrderConstructorDependenciesByTypeAlphabeticallyRector/OrderConstructorDependenciesByTypeAlphabeticallyRectorTest.php +++ b/rules/order/tests/Rector/ClassMethod/OrderConstructorDependenciesByTypeAlphabeticallyRector/OrderConstructorDependenciesByTypeAlphabeticallyRectorTest.php @@ -25,7 +25,7 @@ final class OrderConstructorDependenciesByTypeAlphabeticallyRectorTest extends A } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/order/tests/Rector/Class_/OrderPublicInterfaceMethodRector/OrderPublicInterfaceMethodRectorTest.php b/rules/order/tests/Rector/Class_/OrderPublicInterfaceMethodRector/OrderPublicInterfaceMethodRectorTest.php index d46a2c9c81e..8565bfd4b30 100644 --- a/rules/order/tests/Rector/Class_/OrderPublicInterfaceMethodRector/OrderPublicInterfaceMethodRectorTest.php +++ b/rules/order/tests/Rector/Class_/OrderPublicInterfaceMethodRector/OrderPublicInterfaceMethodRectorTest.php @@ -26,7 +26,7 @@ final class OrderPublicInterfaceMethodRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/php-spec-to-phpunit/tests/Rector/Variable/PhpSpecToPHPUnitRector/PhpSpecToPHPUnitRectorTest.php b/rules/php-spec-to-phpunit/tests/Rector/Variable/PhpSpecToPHPUnitRector/PhpSpecToPHPUnitRectorTest.php index b121290f891..e5cd0e0deb6 100644 --- a/rules/php-spec-to-phpunit/tests/Rector/Variable/PhpSpecToPHPUnitRector/PhpSpecToPHPUnitRectorTest.php +++ b/rules/php-spec-to-phpunit/tests/Rector/Variable/PhpSpecToPHPUnitRector/PhpSpecToPHPUnitRectorTest.php @@ -30,7 +30,7 @@ final class PhpSpecToPHPUnitRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/php71/tests/Rector/Name/ReservedObjectRector/ReservedObjectRectorTest.php b/rules/php71/tests/Rector/Name/ReservedObjectRector/ReservedObjectRectorTest.php index 8d702d0c46f..bc56a8cf96d 100644 --- a/rules/php71/tests/Rector/Name/ReservedObjectRector/ReservedObjectRectorTest.php +++ b/rules/php71/tests/Rector/Name/ReservedObjectRector/ReservedObjectRectorTest.php @@ -25,7 +25,7 @@ final class ReservedObjectRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/php74/tests/Rector/Function_/ReservedFnFunctionRector/ReservedFnFunctionRectorTest.php b/rules/php74/tests/Rector/Function_/ReservedFnFunctionRector/ReservedFnFunctionRectorTest.php index 617e20a5ce3..7915f6000e7 100644 --- a/rules/php74/tests/Rector/Function_/ReservedFnFunctionRector/ReservedFnFunctionRectorTest.php +++ b/rules/php74/tests/Rector/Function_/ReservedFnFunctionRector/ReservedFnFunctionRectorTest.php @@ -25,7 +25,7 @@ final class ReservedFnFunctionRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/php74/tests/Rector/Property/TypedPropertyRector/ClassLikeTypesOnlyTest.php b/rules/php74/tests/Rector/Property/TypedPropertyRector/ClassLikeTypesOnlyTest.php index 7b242234744..e3ad8f2ec93 100644 --- a/rules/php74/tests/Rector/Property/TypedPropertyRector/ClassLikeTypesOnlyTest.php +++ b/rules/php74/tests/Rector/Property/TypedPropertyRector/ClassLikeTypesOnlyTest.php @@ -25,7 +25,7 @@ final class ClassLikeTypesOnlyTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/php74/tests/Rector/Property/TypedPropertyRector/DoctrineTypedPropertyRectorTest.php b/rules/php74/tests/Rector/Property/TypedPropertyRector/DoctrineTypedPropertyRectorTest.php index 47bcb3c4d0d..0d7f8079af3 100644 --- a/rules/php74/tests/Rector/Property/TypedPropertyRector/DoctrineTypedPropertyRectorTest.php +++ b/rules/php74/tests/Rector/Property/TypedPropertyRector/DoctrineTypedPropertyRectorTest.php @@ -26,7 +26,7 @@ final class DoctrineTypedPropertyRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/php74/tests/Rector/Property/TypedPropertyRector/TypedPropertyRectorTest.php b/rules/php74/tests/Rector/Property/TypedPropertyRector/TypedPropertyRectorTest.php index 3b88214d8d1..35507c68c9a 100644 --- a/rules/php74/tests/Rector/Property/TypedPropertyRector/TypedPropertyRectorTest.php +++ b/rules/php74/tests/Rector/Property/TypedPropertyRector/TypedPropertyRectorTest.php @@ -31,7 +31,7 @@ final class TypedPropertyRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/phpunit/tests/Rector/Class_/ArrayArgumentInTestToDataProviderRector/ArrayArgumentInTestToDataProviderRectorTest.php b/rules/phpunit/tests/Rector/Class_/ArrayArgumentInTestToDataProviderRector/ArrayArgumentInTestToDataProviderRectorTest.php index afae65a61c4..3a45931c5fe 100644 --- a/rules/phpunit/tests/Rector/Class_/ArrayArgumentInTestToDataProviderRector/ArrayArgumentInTestToDataProviderRectorTest.php +++ b/rules/phpunit/tests/Rector/Class_/ArrayArgumentInTestToDataProviderRector/ArrayArgumentInTestToDataProviderRectorTest.php @@ -26,7 +26,7 @@ final class ArrayArgumentInTestToDataProviderRectorTest extends AbstractRectorTe } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/removing-static/tests/Rector/Class_/PHPUnitStaticToKernelTestCaseGetRector/PHPUnitStaticToKernelTestCaseGetRectorTest.php b/rules/removing-static/tests/Rector/Class_/PHPUnitStaticToKernelTestCaseGetRector/PHPUnitStaticToKernelTestCaseGetRectorTest.php index a56e690bc21..9c0058a19da 100644 --- a/rules/removing-static/tests/Rector/Class_/PHPUnitStaticToKernelTestCaseGetRector/PHPUnitStaticToKernelTestCaseGetRectorTest.php +++ b/rules/removing-static/tests/Rector/Class_/PHPUnitStaticToKernelTestCaseGetRector/PHPUnitStaticToKernelTestCaseGetRectorTest.php @@ -26,7 +26,7 @@ final class PHPUnitStaticToKernelTestCaseGetRectorTest extends AbstractRectorTes } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/removing-static/tests/Rector/Class_/PassFactoryToEntityRector/PassFactoryToEntityRectorTest.php b/rules/removing-static/tests/Rector/Class_/PassFactoryToEntityRector/PassFactoryToEntityRectorTest.php index 7208a13434f..b37e0922aa6 100644 --- a/rules/removing-static/tests/Rector/Class_/PassFactoryToEntityRector/PassFactoryToEntityRectorTest.php +++ b/rules/removing-static/tests/Rector/Class_/PassFactoryToEntityRector/PassFactoryToEntityRectorTest.php @@ -36,7 +36,7 @@ final class PassFactoryToEntityRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/removing-static/tests/Rector/Class_/StaticTypeToSetterInjectionRector/StaticTypeToSetterInjectionRectorTest.php b/rules/removing-static/tests/Rector/Class_/StaticTypeToSetterInjectionRector/StaticTypeToSetterInjectionRectorTest.php index 8e9becd9f03..8b5da08d58d 100644 --- a/rules/removing-static/tests/Rector/Class_/StaticTypeToSetterInjectionRector/StaticTypeToSetterInjectionRectorTest.php +++ b/rules/removing-static/tests/Rector/Class_/StaticTypeToSetterInjectionRector/StaticTypeToSetterInjectionRectorTest.php @@ -27,7 +27,7 @@ final class StaticTypeToSetterInjectionRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/renaming/tests/Rector/ClassConstFetch/RenameClassConstantRector/RenameClassConstantRectorTest.php b/rules/renaming/tests/Rector/ClassConstFetch/RenameClassConstantRector/RenameClassConstantRectorTest.php index 4359720686e..398e21e6162 100644 --- a/rules/renaming/tests/Rector/ClassConstFetch/RenameClassConstantRector/RenameClassConstantRectorTest.php +++ b/rules/renaming/tests/Rector/ClassConstFetch/RenameClassConstantRector/RenameClassConstantRectorTest.php @@ -28,7 +28,7 @@ final class RenameClassConstantRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/renaming/tests/Rector/ClassMethod/RenameAnnotationRector/RenameAnnotationRectorTest.php b/rules/renaming/tests/Rector/ClassMethod/RenameAnnotationRector/RenameAnnotationRectorTest.php index 9ee11c9ccfd..2d18cead325 100644 --- a/rules/renaming/tests/Rector/ClassMethod/RenameAnnotationRector/RenameAnnotationRectorTest.php +++ b/rules/renaming/tests/Rector/ClassMethod/RenameAnnotationRector/RenameAnnotationRectorTest.php @@ -26,7 +26,7 @@ final class RenameAnnotationRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/renaming/tests/Rector/ConstFetch/RenameConstantRector/RenameConstantRectorTest.php b/rules/renaming/tests/Rector/ConstFetch/RenameConstantRector/RenameConstantRectorTest.php index cee1568b8f1..4a8ba036064 100644 --- a/rules/renaming/tests/Rector/ConstFetch/RenameConstantRector/RenameConstantRectorTest.php +++ b/rules/renaming/tests/Rector/ConstFetch/RenameConstantRector/RenameConstantRectorTest.php @@ -25,7 +25,7 @@ final class RenameConstantRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/renaming/tests/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector/PseudoNamespaceToNamespaceRectorTest.php b/rules/renaming/tests/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector/PseudoNamespaceToNamespaceRectorTest.php index 3b14666c2c8..c3d6f75284a 100644 --- a/rules/renaming/tests/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector/PseudoNamespaceToNamespaceRectorTest.php +++ b/rules/renaming/tests/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector/PseudoNamespaceToNamespaceRectorTest.php @@ -26,7 +26,7 @@ final class PseudoNamespaceToNamespaceRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/renaming/tests/Rector/FuncCall/RenameFunctionRector/RenameFunctionRectorTest.php b/rules/renaming/tests/Rector/FuncCall/RenameFunctionRector/RenameFunctionRectorTest.php index 736e3bcd2e5..c5a872a6753 100644 --- a/rules/renaming/tests/Rector/FuncCall/RenameFunctionRector/RenameFunctionRectorTest.php +++ b/rules/renaming/tests/Rector/FuncCall/RenameFunctionRector/RenameFunctionRectorTest.php @@ -25,7 +25,7 @@ final class RenameFunctionRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/renaming/tests/Rector/MethodCall/RenameMethodRector/RenameMethodRectorTest.php b/rules/renaming/tests/Rector/MethodCall/RenameMethodRector/RenameMethodRectorTest.php index a307226eb98..01153a64dc2 100644 --- a/rules/renaming/tests/Rector/MethodCall/RenameMethodRector/RenameMethodRectorTest.php +++ b/rules/renaming/tests/Rector/MethodCall/RenameMethodRector/RenameMethodRectorTest.php @@ -30,7 +30,7 @@ final class RenameMethodRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/renaming/tests/Rector/Name/RenameClassRector/AutoImportNamesParameterTest.php b/rules/renaming/tests/Rector/Name/RenameClassRector/AutoImportNamesParameterTest.php index 5f49a8bec26..eb14e73ae86 100644 --- a/rules/renaming/tests/Rector/Name/RenameClassRector/AutoImportNamesParameterTest.php +++ b/rules/renaming/tests/Rector/Name/RenameClassRector/AutoImportNamesParameterTest.php @@ -34,7 +34,7 @@ final class AutoImportNamesParameterTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/renaming/tests/Rector/Name/RenameClassRector/FunctionAutoImportNamesParameterTest.php b/rules/renaming/tests/Rector/Name/RenameClassRector/FunctionAutoImportNamesParameterTest.php index 8b52027ba20..82403313016 100644 --- a/rules/renaming/tests/Rector/Name/RenameClassRector/FunctionAutoImportNamesParameterTest.php +++ b/rules/renaming/tests/Rector/Name/RenameClassRector/FunctionAutoImportNamesParameterTest.php @@ -33,7 +33,7 @@ final class FunctionAutoImportNamesParameterTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/renaming/tests/Rector/Name/RenameClassRector/RenameClassRectorTest.php b/rules/renaming/tests/Rector/Name/RenameClassRector/RenameClassRectorTest.php index bd3a35bacea..ac1e72bee70 100644 --- a/rules/renaming/tests/Rector/Name/RenameClassRector/RenameClassRectorTest.php +++ b/rules/renaming/tests/Rector/Name/RenameClassRector/RenameClassRectorTest.php @@ -42,7 +42,7 @@ final class RenameClassRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/renaming/tests/Rector/Name/RenameClassRector/RenameNonPhpTest.php b/rules/renaming/tests/Rector/Name/RenameClassRector/RenameNonPhpTest.php index 0a67eb256f9..c7b74b2f9a1 100644 --- a/rules/renaming/tests/Rector/Name/RenameClassRector/RenameNonPhpTest.php +++ b/rules/renaming/tests/Rector/Name/RenameClassRector/RenameNonPhpTest.php @@ -31,7 +31,7 @@ final class RenameNonPhpTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/renaming/tests/Rector/Namespace_/RenameNamespaceRector/RenameNamespaceRectorTest.php b/rules/renaming/tests/Rector/Namespace_/RenameNamespaceRector/RenameNamespaceRectorTest.php index 2c661de1cce..7daefa81331 100644 --- a/rules/renaming/tests/Rector/Namespace_/RenameNamespaceRector/RenameNamespaceRectorTest.php +++ b/rules/renaming/tests/Rector/Namespace_/RenameNamespaceRector/RenameNamespaceRectorTest.php @@ -25,7 +25,7 @@ final class RenameNamespaceRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/renaming/tests/Rector/PropertyFetch/RenamePropertyRector/RenamePropertyRectorTest.php b/rules/renaming/tests/Rector/PropertyFetch/RenamePropertyRector/RenamePropertyRectorTest.php index e755bd6fba1..602e3e8e067 100644 --- a/rules/renaming/tests/Rector/PropertyFetch/RenamePropertyRector/RenamePropertyRectorTest.php +++ b/rules/renaming/tests/Rector/PropertyFetch/RenamePropertyRector/RenamePropertyRectorTest.php @@ -27,7 +27,7 @@ final class RenamePropertyRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/renaming/tests/Rector/StaticCall/RenameStaticMethodRector/RenameStaticMethodRectorTest.php b/rules/renaming/tests/Rector/StaticCall/RenameStaticMethodRector/RenameStaticMethodRectorTest.php index fc9112eaa56..6c38d94695f 100644 --- a/rules/renaming/tests/Rector/StaticCall/RenameStaticMethodRector/RenameStaticMethodRectorTest.php +++ b/rules/renaming/tests/Rector/StaticCall/RenameStaticMethodRector/RenameStaticMethodRectorTest.php @@ -28,7 +28,7 @@ final class RenameStaticMethodRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/restoration/tests/Rector/Namespace_/CompleteImportForPartialAnnotationRector/CompleteImportForPartialAnnotationRectorTest.php b/rules/restoration/tests/Rector/Namespace_/CompleteImportForPartialAnnotationRector/CompleteImportForPartialAnnotationRectorTest.php index 01e0d7fc40b..d2c5a883a51 100644 --- a/rules/restoration/tests/Rector/Namespace_/CompleteImportForPartialAnnotationRector/CompleteImportForPartialAnnotationRectorTest.php +++ b/rules/restoration/tests/Rector/Namespace_/CompleteImportForPartialAnnotationRector/CompleteImportForPartialAnnotationRectorTest.php @@ -26,7 +26,7 @@ final class CompleteImportForPartialAnnotationRectorTest extends AbstractRectorT } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/restoration/tests/Rector/New_/CompleteMissingDependencyInNewRector/CompleteMissingDependencyInNewRectorTest.php b/rules/restoration/tests/Rector/New_/CompleteMissingDependencyInNewRector/CompleteMissingDependencyInNewRectorTest.php index 4e32a7c59cf..e2fe2f74228 100644 --- a/rules/restoration/tests/Rector/New_/CompleteMissingDependencyInNewRector/CompleteMissingDependencyInNewRectorTest.php +++ b/rules/restoration/tests/Rector/New_/CompleteMissingDependencyInNewRector/CompleteMissingDependencyInNewRectorTest.php @@ -26,7 +26,7 @@ final class CompleteMissingDependencyInNewRectorTest extends AbstractRectorTestC } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/solid/tests/Rector/Class_/MultiParentingToAbstractDependencyRector/MultiParentingToAbstractDependencyRectorTest.php b/rules/solid/tests/Rector/Class_/MultiParentingToAbstractDependencyRector/MultiParentingToAbstractDependencyRectorTest.php index 04c5b50656b..3a491ae13bf 100644 --- a/rules/solid/tests/Rector/Class_/MultiParentingToAbstractDependencyRector/MultiParentingToAbstractDependencyRectorTest.php +++ b/rules/solid/tests/Rector/Class_/MultiParentingToAbstractDependencyRector/MultiParentingToAbstractDependencyRectorTest.php @@ -25,7 +25,7 @@ final class MultiParentingToAbstractDependencyRectorTest extends AbstractRectorT } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/solid/tests/Rector/Class_/MultiParentingToAbstractDependencyRector/SymfonyMultiParentingToAbstractDependencyRectorTest.php b/rules/solid/tests/Rector/Class_/MultiParentingToAbstractDependencyRector/SymfonyMultiParentingToAbstractDependencyRectorTest.php index f345cc5ce3c..5e67b0b85b4 100644 --- a/rules/solid/tests/Rector/Class_/MultiParentingToAbstractDependencyRector/SymfonyMultiParentingToAbstractDependencyRectorTest.php +++ b/rules/solid/tests/Rector/Class_/MultiParentingToAbstractDependencyRector/SymfonyMultiParentingToAbstractDependencyRectorTest.php @@ -25,7 +25,7 @@ final class SymfonyMultiParentingToAbstractDependencyRectorTest extends Abstract } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/symfony-php-config/tests/Rector/ArrayItem/ReplaceArrayWithObjectRector/ReplaceArrayWithObjectRectorTest.php b/rules/symfony-php-config/tests/Rector/ArrayItem/ReplaceArrayWithObjectRector/ReplaceArrayWithObjectRectorTest.php index c4aaf988f9c..5db694a8bce 100644 --- a/rules/symfony-php-config/tests/Rector/ArrayItem/ReplaceArrayWithObjectRector/ReplaceArrayWithObjectRectorTest.php +++ b/rules/symfony-php-config/tests/Rector/ArrayItem/ReplaceArrayWithObjectRector/ReplaceArrayWithObjectRectorTest.php @@ -27,7 +27,7 @@ final class ReplaceArrayWithObjectRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/symfony-php-config/tests/Rector/MethodCall/ChangeServiceArgumentsToMethodCallRector/ChangeServiceArgumentsToMethodCallRectorTest.php b/rules/symfony-php-config/tests/Rector/MethodCall/ChangeServiceArgumentsToMethodCallRector/ChangeServiceArgumentsToMethodCallRectorTest.php index 3a753d217a0..1f7f35cb73e 100644 --- a/rules/symfony-php-config/tests/Rector/MethodCall/ChangeServiceArgumentsToMethodCallRector/ChangeServiceArgumentsToMethodCallRectorTest.php +++ b/rules/symfony-php-config/tests/Rector/MethodCall/ChangeServiceArgumentsToMethodCallRector/ChangeServiceArgumentsToMethodCallRectorTest.php @@ -26,7 +26,7 @@ final class ChangeServiceArgumentsToMethodCallRectorTest extends AbstractRectorT } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/symfony/tests/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector/ChangeFileLoaderInExtensionAndKernelRectorTest.php b/rules/symfony/tests/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector/ChangeFileLoaderInExtensionAndKernelRectorTest.php index ba17e4385d2..2863fcc39d6 100644 --- a/rules/symfony/tests/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector/ChangeFileLoaderInExtensionAndKernelRectorTest.php +++ b/rules/symfony/tests/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector/ChangeFileLoaderInExtensionAndKernelRectorTest.php @@ -25,7 +25,7 @@ final class ChangeFileLoaderInExtensionAndKernelRectorTest extends AbstractRecto } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/symfony/tests/Rector/MethodCall/ContainerGetToConstructorInjectionRector/ContainerGetToConstructorInjectionRectorTest.php b/rules/symfony/tests/Rector/MethodCall/ContainerGetToConstructorInjectionRector/ContainerGetToConstructorInjectionRectorTest.php index 4ee7b7b71f7..7e2ce9db758 100644 --- a/rules/symfony/tests/Rector/MethodCall/ContainerGetToConstructorInjectionRector/ContainerGetToConstructorInjectionRectorTest.php +++ b/rules/symfony/tests/Rector/MethodCall/ContainerGetToConstructorInjectionRector/ContainerGetToConstructorInjectionRectorTest.php @@ -33,7 +33,7 @@ final class ContainerGetToConstructorInjectionRectorTest extends AbstractRectorT } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/symfony/tests/Rector/MethodCall/GetToConstructorInjectionRector/GetToConstructorInjectionRectorTest.php b/rules/symfony/tests/Rector/MethodCall/GetToConstructorInjectionRector/GetToConstructorInjectionRectorTest.php index 175325b21b3..36453d8870b 100644 --- a/rules/symfony/tests/Rector/MethodCall/GetToConstructorInjectionRector/GetToConstructorInjectionRectorTest.php +++ b/rules/symfony/tests/Rector/MethodCall/GetToConstructorInjectionRector/GetToConstructorInjectionRectorTest.php @@ -29,7 +29,7 @@ final class GetToConstructorInjectionRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/transform/tests/Rector/Assign/PropertyAssignToMethodCallRector/PropertyAssignToMethodCallRectorTest.php b/rules/transform/tests/Rector/Assign/PropertyAssignToMethodCallRector/PropertyAssignToMethodCallRectorTest.php index 8211a25cb71..7279c7e772a 100644 --- a/rules/transform/tests/Rector/Assign/PropertyAssignToMethodCallRector/PropertyAssignToMethodCallRectorTest.php +++ b/rules/transform/tests/Rector/Assign/PropertyAssignToMethodCallRector/PropertyAssignToMethodCallRectorTest.php @@ -27,7 +27,7 @@ final class PropertyAssignToMethodCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/transform/tests/Rector/Assign/PropertyToMethodRector/PropertyToMethodRectorTest.php b/rules/transform/tests/Rector/Assign/PropertyToMethodRector/PropertyToMethodRectorTest.php index 17511f03977..4d20c635e87 100644 --- a/rules/transform/tests/Rector/Assign/PropertyToMethodRector/PropertyToMethodRectorTest.php +++ b/rules/transform/tests/Rector/Assign/PropertyToMethodRector/PropertyToMethodRectorTest.php @@ -27,7 +27,7 @@ final class PropertyToMethodRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/transform/tests/Rector/FuncCall/ArgumentFuncCallToMethodCallRector/ArgumentFuncCallToMethodCallRectorTest.php b/rules/transform/tests/Rector/FuncCall/ArgumentFuncCallToMethodCallRector/ArgumentFuncCallToMethodCallRectorTest.php index 6fa1e124f55..66fc44ce58b 100644 --- a/rules/transform/tests/Rector/FuncCall/ArgumentFuncCallToMethodCallRector/ArgumentFuncCallToMethodCallRectorTest.php +++ b/rules/transform/tests/Rector/FuncCall/ArgumentFuncCallToMethodCallRector/ArgumentFuncCallToMethodCallRectorTest.php @@ -27,7 +27,7 @@ final class ArgumentFuncCallToMethodCallRectorTest extends AbstractRectorTestCas } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/transform/tests/Rector/FuncCall/FuncCallToMethodCallRector/FuncCallToMethodCallRectorTest.php b/rules/transform/tests/Rector/FuncCall/FuncCallToMethodCallRector/FuncCallToMethodCallRectorTest.php index ce47a0f2982..09afb364732 100644 --- a/rules/transform/tests/Rector/FuncCall/FuncCallToMethodCallRector/FuncCallToMethodCallRectorTest.php +++ b/rules/transform/tests/Rector/FuncCall/FuncCallToMethodCallRector/FuncCallToMethodCallRectorTest.php @@ -27,7 +27,7 @@ final class FuncCallToMethodCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/transform/tests/Rector/MethodCall/MethodCallToAnotherMethodCallWithArgumentsRector/MethodCallToAnotherMethodCallWithArgumentsRectorTest.php b/rules/transform/tests/Rector/MethodCall/MethodCallToAnotherMethodCallWithArgumentsRector/MethodCallToAnotherMethodCallWithArgumentsRectorTest.php index 04a6ffb7afa..f17850b5aa1 100644 --- a/rules/transform/tests/Rector/MethodCall/MethodCallToAnotherMethodCallWithArgumentsRector/MethodCallToAnotherMethodCallWithArgumentsRectorTest.php +++ b/rules/transform/tests/Rector/MethodCall/MethodCallToAnotherMethodCallWithArgumentsRector/MethodCallToAnotherMethodCallWithArgumentsRectorTest.php @@ -27,7 +27,7 @@ final class MethodCallToAnotherMethodCallWithArgumentsRectorTest extends Abstrac } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/transform/tests/Rector/MethodCall/MethodCallToPropertyFetchRector/MethodCallToPropertyFetchRectorTest.php b/rules/transform/tests/Rector/MethodCall/MethodCallToPropertyFetchRector/MethodCallToPropertyFetchRectorTest.php index 64d187587f6..35ee9e69418 100644 --- a/rules/transform/tests/Rector/MethodCall/MethodCallToPropertyFetchRector/MethodCallToPropertyFetchRectorTest.php +++ b/rules/transform/tests/Rector/MethodCall/MethodCallToPropertyFetchRector/MethodCallToPropertyFetchRectorTest.php @@ -25,7 +25,7 @@ final class MethodCallToPropertyFetchRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/transform/tests/Rector/MethodCall/MethodCallToStaticCallRector/MethodCallToStaticCallRectorTest.php b/rules/transform/tests/Rector/MethodCall/MethodCallToStaticCallRector/MethodCallToStaticCallRectorTest.php index 96976d3d3a1..ef03cc8cc36 100644 --- a/rules/transform/tests/Rector/MethodCall/MethodCallToStaticCallRector/MethodCallToStaticCallRectorTest.php +++ b/rules/transform/tests/Rector/MethodCall/MethodCallToStaticCallRector/MethodCallToStaticCallRectorTest.php @@ -26,7 +26,7 @@ final class MethodCallToStaticCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/transform/tests/Rector/MethodCall/ReplaceParentCallByPropertyCallRector/ReplaceParentCallByPropertyCallRectorTest.php b/rules/transform/tests/Rector/MethodCall/ReplaceParentCallByPropertyCallRector/ReplaceParentCallByPropertyCallRectorTest.php index aacdb4402e0..2bede885be0 100644 --- a/rules/transform/tests/Rector/MethodCall/ReplaceParentCallByPropertyCallRector/ReplaceParentCallByPropertyCallRectorTest.php +++ b/rules/transform/tests/Rector/MethodCall/ReplaceParentCallByPropertyCallRector/ReplaceParentCallByPropertyCallRectorTest.php @@ -27,7 +27,7 @@ final class ReplaceParentCallByPropertyCallRectorTest extends AbstractRectorTest } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/transform/tests/Rector/MethodCall/ServiceGetterToConstructorInjectionRector/ServiceGetterToConstructorInjectionRectorTest.php b/rules/transform/tests/Rector/MethodCall/ServiceGetterToConstructorInjectionRector/ServiceGetterToConstructorInjectionRectorTest.php index d73563f1b07..9a2f3776b3d 100644 --- a/rules/transform/tests/Rector/MethodCall/ServiceGetterToConstructorInjectionRector/ServiceGetterToConstructorInjectionRectorTest.php +++ b/rules/transform/tests/Rector/MethodCall/ServiceGetterToConstructorInjectionRector/ServiceGetterToConstructorInjectionRectorTest.php @@ -33,7 +33,7 @@ final class ServiceGetterToConstructorInjectionRectorTest extends AbstractRector } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/transform/tests/Rector/New_/NewToStaticCallRector/NewToStaticCallRectorTest.php b/rules/transform/tests/Rector/New_/NewToStaticCallRector/NewToStaticCallRectorTest.php index ffed4b54a3d..23bc9c3b65e 100644 --- a/rules/transform/tests/Rector/New_/NewToStaticCallRector/NewToStaticCallRectorTest.php +++ b/rules/transform/tests/Rector/New_/NewToStaticCallRector/NewToStaticCallRectorTest.php @@ -28,7 +28,7 @@ final class NewToStaticCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/transform/tests/Rector/StaticCall/StaticCallToFuncCallRector/StaticCallToFuncCallRectorTest.php b/rules/transform/tests/Rector/StaticCall/StaticCallToFuncCallRector/StaticCallToFuncCallRectorTest.php index 8d827d24641..8aab56d0f55 100644 --- a/rules/transform/tests/Rector/StaticCall/StaticCallToFuncCallRector/StaticCallToFuncCallRectorTest.php +++ b/rules/transform/tests/Rector/StaticCall/StaticCallToFuncCallRector/StaticCallToFuncCallRectorTest.php @@ -27,7 +27,7 @@ final class StaticCallToFuncCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/transform/tests/Rector/StaticCall/StaticCallToMethodCallRector/InvalidConfigurationTest.php b/rules/transform/tests/Rector/StaticCall/StaticCallToMethodCallRector/InvalidConfigurationTest.php index a791cb06c54..0b25631df06 100644 --- a/rules/transform/tests/Rector/StaticCall/StaticCallToMethodCallRector/InvalidConfigurationTest.php +++ b/rules/transform/tests/Rector/StaticCall/StaticCallToMethodCallRector/InvalidConfigurationTest.php @@ -34,7 +34,7 @@ final class InvalidConfigurationTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/transform/tests/Rector/StaticCall/StaticCallToMethodCallRector/StaticCallToMethodCallRectorTest.php b/rules/transform/tests/Rector/StaticCall/StaticCallToMethodCallRector/StaticCallToMethodCallRectorTest.php index a51450c0a8b..435fa86925b 100644 --- a/rules/transform/tests/Rector/StaticCall/StaticCallToMethodCallRector/StaticCallToMethodCallRectorTest.php +++ b/rules/transform/tests/Rector/StaticCall/StaticCallToMethodCallRector/StaticCallToMethodCallRectorTest.php @@ -26,7 +26,7 @@ final class StaticCallToMethodCallRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/rules/type-declaration/tests/Rector/ClassMethod/AddParamTypeDeclarationRector/AddParamTypeDeclarationRectorTest.php b/rules/type-declaration/tests/Rector/ClassMethod/AddParamTypeDeclarationRector/AddParamTypeDeclarationRectorTest.php index 84955dd1cbd..b201359a8c0 100644 --- a/rules/type-declaration/tests/Rector/ClassMethod/AddParamTypeDeclarationRector/AddParamTypeDeclarationRectorTest.php +++ b/rules/type-declaration/tests/Rector/ClassMethod/AddParamTypeDeclarationRector/AddParamTypeDeclarationRectorTest.php @@ -28,7 +28,7 @@ final class AddParamTypeDeclarationRectorTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array { diff --git a/tests/Exclusion/Check/ExcludeByDocBlockExclusionCheckTest.php b/tests/Exclusion/Check/ExcludeByDocBlockExclusionCheckTest.php index d61baeaa336..ed37a813204 100644 --- a/tests/Exclusion/Check/ExcludeByDocBlockExclusionCheckTest.php +++ b/tests/Exclusion/Check/ExcludeByDocBlockExclusionCheckTest.php @@ -26,7 +26,7 @@ final class ExcludeByDocBlockExclusionCheckTest extends AbstractRectorTestCase } /** - * @return mixed[] + * @return array */ protected function getRectorsWithConfiguration(): array {