mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 22:08:00 +01:00
Updated Rector to commit dd02659ec90240c9452ccb86e48fb53879572935
dd02659ec9
[CodeQuality] Skip surplus open square bracket on SimplifyRegexPatternRector (#5494)
This commit is contained in:
parent
678e34b775
commit
aa518bb95d
@ -73,6 +73,10 @@ CODE_SAMPLE
|
||||
if ($originalValue === $simplifiedValue) {
|
||||
continue;
|
||||
}
|
||||
$countSqureOpenBracket = \substr_count($simplifiedValue, '[');
|
||||
if ($countSqureOpenBracket % 2 === 1) {
|
||||
continue;
|
||||
}
|
||||
$node->value = $simplifiedValue;
|
||||
return $node;
|
||||
}
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'bcce8e3d240861cdb36cbf76b68672fa829f347d';
|
||||
public const PACKAGE_VERSION = 'dd02659ec90240c9452ccb86e48fb53879572935';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-01-23 11:05:41';
|
||||
public const RELEASE_DATE = '2024-01-23 22:50:30';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -504,8 +504,8 @@
|
||||
},
|
||||
{
|
||||
"name": "illuminate\/container",
|
||||
"version": "v10.41.0",
|
||||
"version_normalized": "10.41.0.0",
|
||||
"version": "v10.42.0",
|
||||
"version_normalized": "10.42.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/illuminate\/container.git",
|
||||
@ -561,8 +561,8 @@
|
||||
},
|
||||
{
|
||||
"name": "illuminate\/contracts",
|
||||
"version": "v10.41.0",
|
||||
"version_normalized": "10.41.0.0",
|
||||
"version": "v10.42.0",
|
||||
"version_normalized": "10.42.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…
x
Reference in New Issue
Block a user