Updated Rector to commit 96d061278a3bd76106bf5acc48bc4af5e0eca181

96d061278a apply cs
This commit is contained in:
Tomas Votruba 2023-10-06 13:03:44 +00:00
parent 649f0f5ffb
commit 417c9d5b38
2 changed files with 7 additions and 8 deletions

View File

@ -22,13 +22,12 @@ use PhpParser\Node\Name;
use PhpParser\Node\Stmt\ClassMethod;
use PhpParser\Node\Stmt\Function_;
use PhpParser\Node\Stmt\Return_;
use PHPStan\Analyser\Scope;
use PHPStan\Reflection\ReflectionProvider;
use PHPStan\Type\BooleanType;
use Rector\Core\PhpParser\Node\BetterNodeFinder;
use Rector\Core\PhpParser\Node\Value\ValueResolver;
use PHPStan\Analyser\Scope;
use Rector\Core\Rector\AbstractScopeAwareRector;
use Rector\Core\ValueObject\MethodName;
use Rector\Core\ValueObject\PhpVersionFeature;
use Rector\TypeDeclaration\NodeAnalyzer\ReturnAnalyzer;
use Rector\VendorLocker\NodeVendorLocker\ClassMethodReturnTypeOverrideGuard;
@ -125,6 +124,10 @@ CODE_SAMPLE
$node->returnType = new Identifier('bool');
return $node;
}
public function provideMinPhpVersion() : int
{
return PhpVersionFeature::SCALAR_TYPES;
}
/**
* @param ClassMethod|Function_|Closure $node
*/
@ -138,10 +141,6 @@ CODE_SAMPLE
}
return \false;
}
public function provideMinPhpVersion() : int
{
return PhpVersionFeature::SCALAR_TYPES;
}
/**
* @param Return_[] $returns
* @param \PhpParser\Node\Stmt\ClassMethod|\PhpParser\Node\Stmt\Function_|\PhpParser\Node\Expr\Closure $functionLike

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'caf08c4efa0c3351a9d899e568ded816bacd1993';
public const PACKAGE_VERSION = '96d061278a3bd76106bf5acc48bc4af5e0eca181';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-10-06 16:30:14';
public const RELEASE_DATE = '2023-10-06 15:00:54';
/**
* @var int
*/