From 01b97010d2ff24c8dfd6910be9126e7ea431f6f6 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Fri, 30 Oct 2026 01:05:07 +0700 Subject: [PATCH 1/2] chore: Bump StructArmed to ^0.20 - #10686 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e1d82e701..4cacdb921 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ }, "require-dev": { "boundwize/pyrameter": "^0.5", - "boundwize/structarmed": "^0.19", + "boundwize/structarmed": "^0.20", "codeigniter/phpstan-codeigniter": "^2.0", "codeigniter4/devkit": "^1.3", "codeigniter4/framework": ">=4.3.5 <4.5.0 || ^4.5.1", From fd3be4d154d9ed8d79de2a4a5a6a836781ff2224 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Fri, 30 Oct 2026 01:12:03 +0700 Subject: [PATCH 2/2] chore: fix rector notice Signed-off-by: Abdul Malik Ikhsan --- rector.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rector.php b/rector.php index 8c63388ab..4a56721c3 100644 --- a/rector.php +++ b/rector.php @@ -11,13 +11,10 @@ * the LICENSE file that was distributed with this source code. */ -use Rector\Caching\ValueObject\Storage\FileCacheStorage; use Rector\CodeQuality\Rector\BooleanAnd\SimplifyEmptyArrayCheckRector; -use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector; use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector; use Rector\CodeQuality\Rector\Expression\InlineIfToExplicitIfRector; use Rector\CodeQuality\Rector\FuncCall\ChangeArrayPushToArrayAssignRector; -use Rector\CodeQuality\Rector\FuncCall\SimplifyStrposLowerRector; use Rector\CodeQuality\Rector\FuncCall\SingleInArrayToCompareRector; use Rector\CodeQuality\Rector\FunctionLike\SimplifyUselessVariableRector; use Rector\CodeQuality\Rector\If_\SimplifyIfReturnBoolRector; @@ -44,7 +41,6 @@ use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector; use Rector\Set\ValueObject\LevelSetList; use Rector\Set\ValueObject\SetList; -use Rector\TypeDeclaration\Rector\Empty_\EmptyOnNullableObjectToInstanceOfRector; use Rector\ValueObject\PhpVersion; return static function (RectorConfig $rectorConfig): void { @@ -58,7 +54,6 @@ $rectorConfig->parallel(); // Github action cache - $rectorConfig->cacheClass(FileCacheStorage::class); if (is_dir('/tmp')) { $rectorConfig->cacheDirectory('/tmp/rector'); } @@ -140,7 +135,6 @@ $rectorConfig->rule(SimplifyUselessVariableRector::class); $rectorConfig->rule(RemoveAlwaysElseRector::class); $rectorConfig->rule(ChangeIfElseValueAssignToEarlyReturnRector::class); - $rectorConfig->rule(SimplifyStrposLowerRector::class); $rectorConfig->rule(SimplifyIfReturnBoolRector::class); $rectorConfig->rule(InlineIfToExplicitIfRector::class); $rectorConfig->rule(PreparedValueToEarlyReturnRector::class); @@ -151,10 +145,8 @@ $rectorConfig->rule(SimplifyEmptyArrayCheckRector::class); $rectorConfig->rule(SimplifyEmptyCheckOnEmptyArrayRector::class); $rectorConfig->rule(TernaryEmptyArrayArrayDimFetchToCoalesceRector::class); - $rectorConfig->rule(EmptyOnNullableObjectToInstanceOfRector::class); $rectorConfig->rule(StringClassNameToClassConstantRector::class); $rectorConfig->rule(PrivatizeFinalClassPropertyRector::class); - $rectorConfig->rule(CompleteDynamicPropertiesRector::class); $rectorConfig->rule(SingleInArrayToCompareRector::class); $rectorConfig->rule(VersionCompareFuncCallToConstantRector::class); };