mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 08:50:50 +00:00
cleanup return docs (#5834)
This commit is contained in:
parent
417ef19a23
commit
da12199150
|
@ -23,7 +23,7 @@ final class Php74Test extends AbstractPropertyFetchTypeResolverTest
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@ final class Php80Test extends AbstractPropertyFetchTypeResolverTest
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@ final class PropertyFetchTypeResolverTest extends AbstractPropertyFetchTypeResol
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -12,6 +12,7 @@ use PHPStan\PhpDocParser\Ast\Type\IdentifierTypeNode;
|
|||
use PHPStan\PhpDocParser\Ast\Type\TypeNode;
|
||||
use PHPStan\Reflection\ReflectionProvider;
|
||||
use PHPStan\Type\Generic\GenericObjectType;
|
||||
use PHPStan\Type\MixedType;
|
||||
use PHPStan\Type\ObjectType;
|
||||
use PHPStan\Type\Type;
|
||||
use PHPStan\Type\VerbosityLevel;
|
||||
|
@ -65,22 +66,7 @@ final class ObjectTypeMapper implements TypeMapperInterface, PHPStanStaticTypeMa
|
|||
}
|
||||
|
||||
if ($type instanceof GenericObjectType) {
|
||||
if ($type instanceof FullyQualifiedGenericObjectType) {
|
||||
$name = '\\' . $type->getClassName();
|
||||
} elseif (Strings::contains($type->getClassName(), '\\')) {
|
||||
$name = '\\' . $type->getClassName();
|
||||
} else {
|
||||
$name = $type->getClassName();
|
||||
}
|
||||
$identifierTypeNode = new IdentifierTypeNode($name);
|
||||
|
||||
$genericTypeNodes = [];
|
||||
foreach ($type->getTypes() as $genericType) {
|
||||
$typeNode = $this->phpStanStaticTypeMapper->mapToPHPStanPhpDocTypeNode($genericType);
|
||||
$genericTypeNodes[] = $typeNode;
|
||||
}
|
||||
|
||||
return new AttributeAwareGenericTypeNode($identifierTypeNode, $genericTypeNodes);
|
||||
return $this->mapGenericObjectType($type);
|
||||
}
|
||||
|
||||
return new AttributeAwareIdentifierTypeNode('\\' . $type->getClassName());
|
||||
|
@ -156,4 +142,36 @@ final class ObjectTypeMapper implements TypeMapperInterface, PHPStanStaticTypeMa
|
|||
{
|
||||
$this->phpStanStaticTypeMapper = $phpStanStaticTypeMapper;
|
||||
}
|
||||
|
||||
private function mapGenericObjectType(GenericObjectType $genericObjectType): AttributeAwareGenericTypeNode
|
||||
{
|
||||
$name = $this->resolveGenericObjectTypeName($genericObjectType);
|
||||
$identifierTypeNode = new IdentifierTypeNode($name);
|
||||
|
||||
$genericTypeNodes = [];
|
||||
foreach ($genericObjectType->getTypes() as $key => $genericType) {
|
||||
// mixed type on 1st item in iterator has no value
|
||||
if ($name === 'Iterator' && $genericType instanceof MixedType && $key === 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$typeNode = $this->phpStanStaticTypeMapper->mapToPHPStanPhpDocTypeNode($genericType);
|
||||
$genericTypeNodes[] = $typeNode;
|
||||
}
|
||||
|
||||
return new AttributeAwareGenericTypeNode($identifierTypeNode, $genericTypeNodes);
|
||||
}
|
||||
|
||||
private function resolveGenericObjectTypeName(GenericObjectType $genericObjectType): string
|
||||
{
|
||||
if ($genericObjectType instanceof FullyQualifiedGenericObjectType) {
|
||||
return '\\' . $genericObjectType->getClassName();
|
||||
}
|
||||
|
||||
if (Strings::contains($genericObjectType->getClassName(), '\\')) {
|
||||
return '\\' . $genericObjectType->getClassName();
|
||||
}
|
||||
|
||||
return $genericObjectType->getClassName();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -85,11 +85,9 @@ final class PropertyAdder
|
|||
$this->rectorChangeCollector->notifyNodeFileInfo($class);
|
||||
}
|
||||
|
||||
public function addServiceConstructorDependencyToClass(Class_ $class, string $className): void
|
||||
public function addServiceConstructorDependencyToClass(Class_ $class, ObjectType $objectType): void
|
||||
{
|
||||
$serviceObjectType = new ObjectType($className);
|
||||
|
||||
$propertyName = $this->propertyNaming->fqnToVariableName($serviceObjectType);
|
||||
$this->addConstructorDependencyToClass($class, $serviceObjectType, $propertyName);
|
||||
$propertyName = $this->propertyNaming->fqnToVariableName($objectType);
|
||||
$this->addConstructorDependencyToClass($class, $objectType, $propertyName);
|
||||
}
|
||||
}
|
||||
|
|
29
phpstan.neon
29
phpstan.neon
|
@ -151,12 +151,6 @@ parameters:
|
|||
# is nested expr
|
||||
- '#Access to an undefined property PhpParser\\Node\\Expr\:\:\$expr#'
|
||||
|
||||
- '#Parameter \#1 \$files of method Symplify\\SmartFileSystem\\Finder\\FinderSanitizer\:\:sanitize\(\) expects \(iterable<SplFileInfo\|string\>&Nette\\Utils\\Finder\)\|Symfony\\Component\\Finder\\Finder, array<string\> given#'
|
||||
# wtf
|
||||
-
|
||||
message: '#Else branch is unreachable because ternary operator condition is always true#'
|
||||
path: 'rules/PSR-4/Composer/PSR4NamespaceMatcher.php'
|
||||
|
||||
- '#Parameter \#2 \$currentNode of method Rector\\CodingStyle\\Rector\\Assign\\ManualJsonStringToJsonEncodeArrayRector\:\:matchNextExprAssignConcatToSameVariable\(\) expects PhpParser\\Node\\Expr\\Assign\|PhpParser\\Node\\Expr\\AssignOp\\Concat, PhpParser\\Node given#'
|
||||
|
||||
-
|
||||
|
@ -219,8 +213,6 @@ parameters:
|
|||
-
|
||||
message: '#"(getComments|getDocComment|setDocComment)\(\)" call on "PhpParser\\Node" type is not allowed#'
|
||||
paths:
|
||||
# merging comments
|
||||
- packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfo/PhpDocInfoTest.php
|
||||
- src/PhpParser/NodeTransformer.php
|
||||
- src/Rector/AbstractRector.php
|
||||
# playing around with doc block format
|
||||
|
@ -234,7 +226,6 @@ parameters:
|
|||
- packages/BetterPhpDocParser/Comment/CommentsMerger.php
|
||||
- packages/Comments/NodeDocBlock/DocBlockUpdater.php
|
||||
- packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfoFactory.php
|
||||
- packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/AbstractPhpDocInfoPrinterTest.php
|
||||
|
||||
# false positives checked in another method
|
||||
-
|
||||
|
@ -373,8 +364,6 @@ parameters:
|
|||
paths:
|
||||
- packages/StaticTypeMapper/ValueObject/Type/ParentStaticType.php #9
|
||||
- packages/StaticTypeMapper/ValueObject/Type/SelfObjectType.php #9
|
||||
- rules-tests/Symfony/Rector/MethodCall/AbstractToConstructorInjectionRectorSource/SomeEntityManager.php #7
|
||||
- rules-tests/Symfony/Rector/MethodCall/AbstractToConstructorInjectionRectorSource/SomeNonKernelClass.php #7
|
||||
|
||||
# generics nullable bugs
|
||||
- '#Method (.*?) should return T of PhpParser\\Node\|null but returns PhpParser\\Node\|null#'
|
||||
|
@ -448,11 +437,6 @@ parameters:
|
|||
- '#Class with base "SetList" name is already used in "Symplify\\EasyCodingStandard\\ValueObject\\Set\\SetList", "Rector\\Set\\ValueObject\\SetList"\. Use unique name to make classes easy to recognize#'
|
||||
- '#Class with base "PhpVersion" name is already used in "PHPStan\\Php\\PhpVersion", "Rector\\Core\\ValueObject\\PhpVersion"\. Use unique name to make classes easy to recognize#'
|
||||
|
||||
-
|
||||
message: '#For complex configuration use value object over array#'
|
||||
paths:
|
||||
- '*/config/configured_rule.php'
|
||||
|
||||
-
|
||||
message: '#Use local named constant instead of inline string for regex to explain meaning by constant name#'
|
||||
paths:
|
||||
|
@ -552,11 +536,6 @@ parameters:
|
|||
paths:
|
||||
- rules/Naming/Naming/PropertyNaming.php
|
||||
|
||||
-
|
||||
message: '#Parameter \#1 \$value of function count expects array\|Countable, array<PhpParser\\Node\\Stmt\>\|null given#'
|
||||
paths:
|
||||
- rules/Naming/Naming/PropertyNaming.php
|
||||
|
||||
-
|
||||
message: '#Use quoted string in constructor "new PHPStan\\Type\\ObjectType\(\)" argument on position 0 instead of "\:\:class\. It prevent scoping of the class in building prefixed package#'
|
||||
paths:
|
||||
|
@ -588,10 +567,6 @@ parameters:
|
|||
|
||||
# faking phpstan reflection in tests
|
||||
- '#Parameter \#1 \$classReflection of class PHPStan\\Type\\ThisType constructor expects PHPStan\\Reflection\\ClassReflection\|string, ReflectionClass<Rector\\NodeTypeResolver\\Tests\\PerNodeTypeResolver\\VariableTypeResolver\\Fixture\\ThisClass\> given#'
|
||||
-
|
||||
message: '#Instead of "ReflectionClass" class/interface use "PHPStan\\Reflection\\ClassReflection"#'
|
||||
paths:
|
||||
- packages-tests/NodeTypeResolver/PerNodeTypeResolver/VariableTypeResolver/VariableTypeResolverTest.php
|
||||
|
||||
- '#Cognitive complexity for "Rector\\EarlyReturn\\Rector\\If_\\ChangeAndIfToEarlyReturnRector\:\:refactor\(\)" is 10, keep it under 9#'
|
||||
- '#Parameter \#2 \$returnedStrictTypeNode of method Rector\\TypeDeclaration\\Rector\\ClassMethod\\ReturnTypeFromStrictTypedCallRector\:\:refactorSingleReturnType\(\) expects PhpParser\\Node\\Name\|PhpParser\\Node\\NullableType\|PhpParser\\Node\\UnionType, PhpParser\\Node\\Name\|PhpParser\\Node\\NullableType\|PHPStan\\Type\\UnionType given#'
|
||||
|
@ -615,7 +590,6 @@ parameters:
|
|||
paths:
|
||||
- packages/BetterPhpDocParser/Attributes/Attribute/AttributeTrait.php
|
||||
|
||||
- '#Do not use scalar or array as constructor parameter\. Use "Symplify\\PackageBuilder\\Parameter\\ParameterProvider" service instead#'
|
||||
- '#Content of method "getNextExpression\(\)" is duplicated with method "getNextExpression\(\)" in "Rector\\Php73\\Rector\\FuncCall\\ArrayKeyFirstLastRector" class\. Use unique content or service instead#'
|
||||
|
||||
-
|
||||
|
@ -624,4 +598,5 @@ parameters:
|
|||
- src/HttpKernel/RectorKernel.php
|
||||
|
||||
- '#Content of method "getIfNextReturn\(\)" is duplicated with method "getIfNextReturn\(\)" in "Rector\\EarlyReturn\\Rector\\If_\\ChangeAndIfToEarlyReturnRector" class\. Use unique content or service instead#'
|
||||
- '#Content of method "hasMethodParameter\(\)" is duplicated with method "hasMethodParameter\(\)" in "Rector\\Core\\NodeManipulator\\ClassDependencyManipulator" class\. Use unique content or service instead#'
|
||||
|
||||
- '#Do not use scalar or array as constructor parameter\. Use "Symplify\\PackageBuilder\\Parameter\\ParameterProvider" service instead#'
|
||||
|
|
|
@ -19,7 +19,7 @@ final class ArgumentAdderRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@ final class ArgumentDefaultValueReplacerRectorTest extends AbstractRectorTestCas
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@ final class Symfony28Test extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@ final class SwapFuncCallArgumentsRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@ final class RectorOrderTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ImplicitShortClassNameUseStatementRectorTest extends AbstractRectorT
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@ final class ArrayToFluentCallRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@ final class ModalToGetSetRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class AppUsesStaticCallToUseStatementRectorTest extends AbstractRectorTest
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ChangeSnakedFixtureNameToPascalTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ChangeCarbonSingularMethodCallToPluralRectorTest extends AbstractRec
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ChangeDiffForHumansArgsRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ArrayThisCallToThisMethodCallRectorTest extends AbstractRectorTestCa
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class CallableThisArrayToAnonymousFunctionRectorTest extends AbstractRecto
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@ final class CombinedAssignRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SplitListAssignToSeparateLineRectorTest extends AbstractRectorTestCa
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyEmptyArrayCheckRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyDeMorganBinaryRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ final class Php8Test extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ThrowWithPreviousExceptionRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class DateTimeToDateTimeInterfaceRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ final class Php74Test extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@ final class CompleteDynamicPropertiesRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class UnionTypeCompleteDynamicPropertiesRectorTest extends AbstractRectorT
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class JoinStringConcatRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class UseIdenticalOverEqualWithSameTypeRectorTest extends AbstractRectorTe
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class InlineIfToExplicitIfRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ForRepeatedCountToOwnVariableRectorTest extends AbstractRectorTestCa
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ForToForeachRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ForeachItemsAssignToEmptyArrayToAssignRectorTest extends AbstractRec
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ForeachToInArrayRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyForeachToArrayFilterRectorTest extends AbstractRectorTestCas
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyForeachToCoalescingRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class UnusedForeachValueToArrayKeysRectorTest extends AbstractRectorTestCa
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class AddPregQuoteDelimiterRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ArrayKeysAndInArrayToArrayKeyExistsRectorTest extends AbstractRector
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ArrayMergeOfNonArraysToSimpleArrayRectorTest extends AbstractRectorT
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ChangeArrayPushToArrayAssignRectorTest extends AbstractRectorTestCas
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class CompactToVariablesRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class InArrayAndArrayKeysToArrayKeyExistsRectorTest extends AbstractRector
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class IntvalToTypeCastRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class IsAWithStringWithThirdArgumentRectorTest extends AbstractRectorTestC
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class RemoveSoleValueSprintfRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SetTypeToCastRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyFuncGetArgsCountRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyInArrayValuesRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyRegexPatternRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyStrposLowerRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SingleInArrayToCompareRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class UnwrapSprintfOneArgumentRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class RemoveAlwaysTrueConditionSetInConstructorRectorTest extends Abstract
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class BooleanNotIdenticalToNotIdenticalRectorTest extends AbstractRectorTe
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class FlipTypeControlToUseExclusiveTypeRectorTest extends AbstractRectorTe
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class GetClassToInstanceOfRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyArraySearchRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyBoolIdenticalTrueRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyConditionsRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class StrlenZeroToIdenticalEmptyStringRectorTest extends AbstractRectorTes
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class CombineIfRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ConsecutiveNullCompareReturnsToNullCoalesceQueueRectorTest extends A
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ExplicitBoolCompareRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ShortenElseIfRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyIfElseToTernaryRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyIfIssetToNullCoalescingRectorTest extends AbstractRectorTest
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyIfNotNullReturnRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyIfReturnBoolRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class AbsolutizeRequireAndIncludePathRectorTest extends AbstractRectorTest
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class IssetOnPropertyObjectToPropertyExistsRectorTest extends AbstractRect
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class Php74Test extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class AndAssignsToSeparateLinesRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class LogicalToBooleanRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@ final class FixClassCaseSensitivityNameRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class NewStaticToNewSelfRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class CommonNotEqualRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@ final class SimplifyUselessVariableRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SingularSwitchToIfRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ArrayKeyExistsTernaryThenValueToCoalescingRectorTest extends Abstrac
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyDuplicatedTernaryRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SimplifyTautologyTernaryRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SwitchNegatedTernaryRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class UnnecessaryTernaryExpressionRectorTest extends AbstractRectorTestCas
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ParamTypeToAssertTypeRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class MoveOutMethodCallInsideIfConditionRectorTest extends AbstractRectorT
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class VarInlineAnnotationToAssertRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class MoveVariableDeclarationNearReferenceRectorTest extends AbstractRecto
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class ManualJsonStringToJsonEncodeArrayRectorTest extends AbstractRectorTe
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class PHPStormVarAnnotationRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SplitDoubleAssignRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class CatchExceptionNameMatchingTypeRectorTest extends AbstractRectorTestC
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class SplitGroupedConstantsAndPropertiesRectorTest extends AbstractRectorT
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class VarConstantCommentRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class MakeInheritedMethodVisibilitySameAsParentRectorTest extends Abstract
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@ final class SkipParentConstructOverrideInPHP72Test extends AbstractRectorTestCas
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ final class NewlineBeforeNewAssignSetRectorTest extends AbstractRectorTestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Iterator<mixed, SmartFileInfo>
|
||||
* @return Iterator<SmartFileInfo>
|
||||
*/
|
||||
public function provideData(): Iterator
|
||||
{
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user