mirror of https://github.com/rectorphp/rector.git
Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
6d8074534f
Rectify (#5226)
This commit is contained in:
parent
95582bf2b1
commit
8027a18b9e
|
@ -9,12 +9,6 @@ use PhpParser\Node\Expr\BinaryOp\Identical;
|
|||
use PhpParser\Node\Expr\BinaryOp\NotIdentical;
|
||||
use PhpParser\Node\Expr\BooleanNot;
|
||||
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\UnionType;
|
||||
use Rector\Core\Rector\AbstractRector;
|
||||
|
@ -84,9 +78,6 @@ CODE_SAMPLE
|
|||
}
|
||||
}
|
||||
$nativeType = TypeCombinator::removeNull($nativeType);
|
||||
if ($nativeType->isScalar()->yes()) {
|
||||
return \false;
|
||||
}
|
||||
return \true;
|
||||
return !$nativeType->isScalar()->yes();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '7607b334736d241820f9f307423f6050801b46af';
|
||||
public const PACKAGE_VERSION = '6d8074534f3b568a0cecd373e584ea6c8d06580b';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-11-06 16:09:43';
|
||||
public const RELEASE_DATE = '2023-11-06 16:15:19';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue