mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Updated Rector to commit b95ff29edfb93a3f6d0abc62a89b4a5362838f17
b95ff29edf
[Php81] Skip execution operator on NullToStrictStringFuncCallArgRector (#5667)
This commit is contained in:
parent
d24ee522ce
commit
4da7518a07
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
|
@ -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",
|
||||
|
|
2
vendor/composer/installed.php
vendored
2
vendor/composer/installed.php
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user