diff --git a/rules/Php81/Rector/FuncCall/NullToStrictStringFuncCallArgRector.php b/rules/Php81/Rector/FuncCall/NullToStrictStringFuncCallArgRector.php index cb5ed8e0ae2..3d0ab397c3b 100644 --- a/rules/Php81/Rector/FuncCall/NullToStrictStringFuncCallArgRector.php +++ b/rules/Php81/Rector/FuncCall/NullToStrictStringFuncCallArgRector.php @@ -10,7 +10,6 @@ use PhpParser\Node\Expr\Cast\String_ as CastString_; use PhpParser\Node\Expr\ConstFetch; use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\Expr\MethodCall; -use PhpParser\Node\Expr\ShellExec; use PhpParser\Node\Identifier; use PhpParser\Node\Scalar\Encapsed; use PhpParser\Node\Scalar\String_; @@ -161,9 +160,6 @@ CODE_SAMPLE return null; } $argValue = $args[$position]->value; - if ($argValue instanceof ShellExec) { - return null; - } if ($argValue instanceof ConstFetch && $this->valueResolver->isNull($argValue)) { $args[$position]->value = new String_(''); $funcCall->args = $args; diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index f93fc0e5dd1..8524d4b6947 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -19,12 +19,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = 'b95ff29edfb93a3f6d0abc62a89b4a5362838f17'; + public const PACKAGE_VERSION = '04e62d38cd1f1a0e01d8efc19b19b384cd8726e6'; /** * @api * @var string */ - public const RELEASE_DATE = '2024-02-28 01:28:59'; + public const RELEASE_DATE = '2024-02-28 01:05:33'; /** * @var int */