Updated Rector to commit b95ff29edfb93a3f6d0abc62a89b4a5362838f17

b95ff29edf  [Php81] Skip execution operator on NullToStrictStringFuncCallArgRector  (#5667)
This commit is contained in:
Tomas Votruba 2024-02-27 18:31:13 +00:00
parent d24ee522ce
commit 4da7518a07
4 changed files with 11 additions and 7 deletions

View File

@ -10,6 +10,7 @@ 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_;
@ -160,6 +161,9 @@ 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;

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'a56ee1ed01bbbdae515b49fe4d820f219208f768';
public const PACKAGE_VERSION = 'b95ff29edfb93a3f6d0abc62a89b4a5362838f17';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-02-27 19:09:04';
public const RELEASE_DATE = '2024-02-28 01:28:59';
/**
* @var int
*/

View File

@ -504,8 +504,8 @@
},
{
"name": "illuminate\/container",
"version": "v10.45.1",
"version_normalized": "10.45.1.0",
"version": "v10.46.0",
"version_normalized": "10.46.0.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/illuminate\/container.git",
@ -561,8 +561,8 @@
},
{
"name": "illuminate\/contracts",
"version": "v10.45.1",
"version_normalized": "10.45.1.0",
"version": "v10.46.0",
"version_normalized": "10.46.0.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/illuminate\/contracts.git",

File diff suppressed because one or more lines are too long