Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b

6d8074534f Rectify (#5226)
This commit is contained in:
Tomas Votruba 2023-11-06 09:18:43 +00:00
parent 95582bf2b1
commit 8027a18b9e
2 changed files with 3 additions and 12 deletions

View File

@ -9,12 +9,6 @@ use PhpParser\Node\Expr\BinaryOp\Identical;
use PhpParser\Node\Expr\BinaryOp\NotIdentical; use PhpParser\Node\Expr\BinaryOp\NotIdentical;
use PhpParser\Node\Expr\BooleanNot; use PhpParser\Node\Expr\BooleanNot;
use PhpParser\Node\Stmt\If_; use PhpParser\Node\Stmt\If_;
use PHPStan\Type\BooleanType;
use PHPStan\Type\FloatType;
use PHPStan\Type\IntegerType;
use PHPStan\Type\MixedType;
use PHPStan\Type\NullType;
use PHPStan\Type\StringType;
use PHPStan\Type\TypeCombinator; use PHPStan\Type\TypeCombinator;
use PHPStan\Type\UnionType; use PHPStan\Type\UnionType;
use Rector\Core\Rector\AbstractRector; use Rector\Core\Rector\AbstractRector;
@ -84,9 +78,6 @@ CODE_SAMPLE
} }
} }
$nativeType = TypeCombinator::removeNull($nativeType); $nativeType = TypeCombinator::removeNull($nativeType);
if ($nativeType->isScalar()->yes()) { return !$nativeType->isScalar()->yes();
return \false;
}
return \true;
} }
} }

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api * @api
* @var string * @var string
*/ */
public const PACKAGE_VERSION = '7607b334736d241820f9f307423f6050801b46af'; public const PACKAGE_VERSION = '6d8074534f3b568a0cecd373e584ea6c8d06580b';
/** /**
* @api * @api
* @var string * @var string
*/ */
public const RELEASE_DATE = '2023-11-06 16:09:43'; public const RELEASE_DATE = '2023-11-06 16:15:19';
/** /**
* @var int * @var int
*/ */