Skip to content

Commit 7733f45

Browse files
committed
Updated Rector to commit aeadb608a7060c588b966c2a28d4480f105420d4
rectorphp/rector-src@aeadb60 Rectify (#7886)
1 parent 7a860eb commit 7733f45

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

rules/Php74/NodeAnalyzer/ClosureArrowFunctionAnalyzer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function matchArrowFunctionExpr(Closure $closure): ?Expr
6767
if ($this->shouldSkipForUseVariableUsedByCompact($closure)) {
6868
return null;
6969
}
70-
if ($this->shouldSkipMoreSpecificTypeWithVarDoc($return, $return->expr)) {
70+
if ($this->shouldSkipMoreSpecificTypeWithVarDoc($return)) {
7171
return null;
7272
}
7373
return $return->expr;
@@ -94,7 +94,7 @@ private function shouldSkipForUseVariableUsedByCompact(Closure $closure): bool
9494
* Ensure @var doc usage to be skipped, as arrow functions do not support
9595
* inline @var annotations for type narrowing (e.g. generic types like Builder<Team>)
9696
*/
97-
private function shouldSkipMoreSpecificTypeWithVarDoc(Return_ $return, Expr $expr): bool
97+
private function shouldSkipMoreSpecificTypeWithVarDoc(Return_ $return): bool
9898
{
9999
$phpDocInfo = $this->phpDocInfoFactory->createFromNode($return);
100100
if (!$phpDocInfo instanceof PhpDocInfo) {

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 = 'ce6c777d779b6f555a18359fcd7565aa6f55bd06';
22+
public const PACKAGE_VERSION = 'aeadb608a7060c588b966c2a28d4480f105420d4';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2026-02-10 10:24:02';
27+
public const RELEASE_DATE = '2026-02-10 17:13:19';
2828
/**
2929
* @var int
3030
*/

src/VersionBonding/ComposerPackageConstraintFilter.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
use Rector\Composer\InstalledPackageResolver;
88
use Rector\Contract\Rector\RectorInterface;
99
use Rector\VersionBonding\Contract\ComposerPackageConstraintInterface;
10+
/**
11+
* @see \Rector\Tests\VersionBonding\ComposerPackageConstraintFilterTest
12+
*/
1013
final class ComposerPackageConstraintFilter
1114
{
1215
/**

src/VersionBonding/PhpVersionedFilter.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
use Rector\Php\PolyfillPackagesProvider;
99
use Rector\VersionBonding\Contract\MinPhpVersionInterface;
1010
use Rector\VersionBonding\Contract\RelatedPolyfillInterface;
11+
/**
12+
* @see \Rector\Tests\VersionBonding\PhpVersionedFilterTest
13+
*/
1114
final class PhpVersionedFilter
1215
{
1316
/**

0 commit comments

Comments
 (0)