Skip to content

Commit 7115ccf

Browse files
committed
Updated Rector to commit 730c316ecce7603c42899ba0c8d087de8d67ce60
rectorphp/rector-src@730c316 Update code sample for SimplifyEmptyCheckOnEmptyArrayRector (#7897)
1 parent 43c1677 commit 7115ccf

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

rules/CodeQuality/Rector/Empty_/SimplifyEmptyCheckOnEmptyArrayRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ public function __construct(ExprAnalyzer $exprAnalyzer, ReflectionResolver $refl
6464
public function getRuleDefinition(): RuleDefinition
6565
{
6666
return new RuleDefinition('Simplify empty() functions calls on empty arrays', [new CodeSample(<<<'CODE_SAMPLE'
67-
$array = [];
67+
$values = [];
6868
6969
if (empty($values)) {
7070
}
7171
CODE_SAMPLE
7272
, <<<'CODE_SAMPLE'
73-
$array = [];
73+
$values = [];
7474
7575
if ([] === $values) {
7676
}

src/Application/VersionResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ final class VersionResolver
1919
* @api
2020
* @var string
2121
*/
22-
public const PACKAGE_VERSION = '0b9455799ca12c189bc8383a2c470b18210a99fe';
22+
public const PACKAGE_VERSION = '730c316ecce7603c42899ba0c8d087de8d67ce60';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2026-02-15 09:44:03';
27+
public const RELEASE_DATE = '2026-02-15 20:32:53';
2828
/**
2929
* @var int
3030
*/

0 commit comments

Comments
 (0)