Skip to content

Commit d2981de

Browse files
committed
Updated Rector to commit e2265248666182af9fbbd8c352d6db68f34a66c5
rectorphp/rector-src@e226524 Revert "[TypeDeclaration] Skip with include on SafeDeclareStrictTypesRector (…" (#7863)
1 parent df826b0 commit d2981de

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

rules/TypeDeclaration/NodeAnalyzer/StrictTypeSafetyChecker.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use PhpParser\Node\Attribute;
88
use PhpParser\Node\Expr\Assign;
99
use PhpParser\Node\Expr\CallLike;
10-
use PhpParser\Node\Expr\Include_;
1110
use PhpParser\Node\Expr\PropertyFetch;
1211
use PhpParser\Node\Expr\StaticPropertyFetch;
1312
use PhpParser\Node\FunctionLike;
@@ -78,8 +77,7 @@ public function isFileStrictTypeSafe(FileNode $fileNode): bool
7877
return \false;
7978
}
8079
}
81-
$includes = $this->betterNodeFinder->findInstanceOf($fileNode->stmts, Include_::class);
82-
return $includes === [];
80+
return \true;
8381
}
8482
private function isCallLikeSafe(CallLike $callLike): bool
8583
{

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 = '367edb50d168d753eb00ad56d0681ac5e8a73a16';
22+
public const PACKAGE_VERSION = 'e2265248666182af9fbbd8c352d6db68f34a66c5';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2026-01-28 17:10:41';
27+
public const RELEASE_DATE = '2026-01-29 02:47:00';
2828
/**
2929
* @var int
3030
*/

0 commit comments

Comments
 (0)