GitHub / rectorphp/rector-src / commits
Development repository for Rector
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| c43c3c49 |
[automated] Apply Coding Standard (#8258)
Co-authored-by: TomasVotruba <9****a@u****m> |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
25 days ago | |
| f6a25b2b | [DeadCode] Remove whole assign statement on unused createStub() in tests (#8257) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 03ef6cfb | [Console] Print composer-based rule configuration on separate full-width line... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 104c4d68 | [Configuration] Load single composer-based PHPUnit set in withComposerBased()... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| e2c9d064 | [DeadCode] Add RemoveTestsOverriddenPrivateMethodParameterRector (#8254) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 3ca4e0a5 | [Configuration] Deprecate withPhp53Sets() ... withPhp74Sets(), suggest withPh... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 210246f3 | [Set] Deprecate Gmagick to Imagick set (#8252) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 39ac0ade |
[Caching] Deprecate cacheMetaExtension(), report warning when used (#8251)
Co-authored-by: GitHub Action <a****s@g****m> |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 513d6397 | [ChangesReporting] Remove junit output format (#8250) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| afaada86 | [composer-based] Register each rule only once, add --composer-based process f... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 34c04f5b |
[composer-based] Report rule configuration bound to installed package version...
Co-authored-by: GitHub Action <a****s@g****m> |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 7442c9e6 | [composer-based] Add composer-based command (#8246) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| eac0fdc4 |
[Set] Allow a version constraint in ComposerTriggeredSet (#8245)
Co-authored-by: GitHub Action <a****s@g****m> |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 8ead5a56 | [Config] Add ruleWithConfigurationComposerVersionBound() (#8244) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| b64e880c | [depre] Remove strict-booleans set deprecated since 2025-10 (#8243) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 9d584ddb | [Composer] Prefer composer.json constraint over outdated installed.json versi... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 7df5a9a3 | [CodingStyle] Deprecate NestedTernaryToMatchRector (#8241) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| e296621a | [DeadCode] Skip static property in RemoveDefaultValueFromAssignedPropertyRect... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| 362b7c51 | [TypeDeclarationDocblocks] Deprecate AddReturnDocblockFromMethodCallDocblockR... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| 29d0a00a | Fix InstalledPackageResolver cwd fallback lost by promoted property (#8237) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| 8b14eaa4 | [TypeDeclarationDocblocks] Deprecate 3 data provider docblock rules (#8235) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| ad881a17 | [scripts] Skip configurable rules in the unused-rules audit (#8236) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| fb1218da | Remove NullToStrictStringFuncCallArgRector from the PHP 8.1 set (#8234) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| ab27b92f | Split LazyContainerFactory::create() into named sections (#8233) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| b5b0f881 | [Php80] Skip promoting a property the parent declares without a native type (... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| a4153d97 | Let a type mapper cover several types at once (#8231) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| 91f0ec8e | [cleanup] Remove three unreachable PHPStan type mappers (#8230) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| a0ad10f1 | Register each tagged service once, add PHPStan rule to keep it that way (#8228) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| 8d123014 | Deduplicate PHP version branching in RectorConfigBuilder (#8229) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| 7ef32117 | Deduplicate PHP version branching in RectorConfigBuilder (#8227) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| ea5d0a40 | refactor: collapse single-use Skipper collaborators (#8226) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| 840a9a49 | Deduplicate withXLevel() methods in RectorConfigBuilder (#8225) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| 3552fa5b | Finalize FileNode class (#8224) |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| 536b04df | Bump dev dependencies and symfony components (#8223) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| 04b18f66 |
Bump to PHPUnit 13, diff 9 (#8220)
Co-authored-by: GitHub Action <a****s@g****m> |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| f6d71330 | Require 99 % type coverage (#8222) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| 82cdd821 | Replace rector/type-perfect with tomasvotruba/type-coverage (#8221) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| cacd03a4 |
[DeadCode] Keep empty __construct() in anonymous class that extends parent on...
Co-authored-by: GitHub Action <a****s@g****m> |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| 7c4ef127 |
[CodingStyle] Use native php-parser node API over class reflection (#8218)
Co-authored-by: copilot-swe-agent[bot] <1****t@u****m> |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| d0f304cc | [DeadCode] Remove unreachable class-like checks in Class_ only rules (#8217) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| bf9cc21e | Wire RichParser node visitors via DI factory instead of private property hack... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
30 days ago | |
| c5b890ed | [DeadCode] Skip protected property on non-final class on RemoveDefaultValueFr... |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
30 days ago | |
| e729052e | [DeadCode] Skip negative zero on RemoveDeadZeroAndOneOperationRector (#8213) |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
30 days ago | |
| 8a97a209 | [Php80] Remove AstResolver usage on AddParamBasedOnParentClassMethodRector (#... |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 3ecc5362 | [DeadCode] Skip array dim fetch assign in RemoveDefaultValueFromAssignedPrope... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| fafa915d | [DeadCode] Skip if else in loop on RemoveDefaultValueFromAssignedPropertyRect... |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 4853fdbc | [DeadCode] Skip early return in constructor in RemoveDefaultValueFromAssigned... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 009a5e43 | Bump to PHPStan ^2.2.6 and Fix its Container compatibility in RichParser (#8208) |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| e3564ee2 | [TypeDeclaration] Fix incomplete type on yield variable + yield from in AddPa... |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 3b8b78ae |
[DeadCode] Add RemoveDefaultValueFromAssignedPropertyRector (#8207)
Co-authored-by: GitHub Action <a****s@g****m> |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 0d555118 | Remove StructArmed (#8205) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| e46bfd97 | [DeadCode] Add RemoveParentDelegatingClassMethodRector (#8204) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 919fc0e5 | [DeadCode] Add RemoveDoubleSelfAssignRector (#8203) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 696058c8 |
[DeadCode] Add RemoveDeadInstanceOfAssertRector (#8202)
Co-authored-by: GitHub Action <a****s@g****m> |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 286fdb53 | [Privatization] Skip Symfony Command protected static property in PrivatizeFi... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 29c7d78a | [dx] Add "if" set with if/else/ternary rules (#8199) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 7bbd2e70 | Bump ECS to ^13.2.13 and skip */SourcePhp81/* from apply (#8200) |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d8e259e9 | Make PHPStan DI-Container available in bootstrap files (#8190) |
Markus Staab <m****b@r****e>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 2084662f | [TypeDeclarationDocblocks] Remove AstResolver usage on AddReturnDocblockFromM... |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| f565ebea | Fix codeception data provider detection (#8194) |
dmitrii <8****v@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 5397dcc8 | Make NestedFuncCallsToPipeOperatorRector minimum depth configurable (#8193) |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| a585be13 | [DeadCode] Fix crash on float version arg in ConditionResolver (#8192) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| ff8b25c2 |
[Php85] Skip outer spread on NestedFuncCallsToPipeOperatorRector (#8191)
Co-authored-by: GitHub Action <a****s@g****m> |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| f840277f |
[Php80] Skip promotion when property type is wider than constructor param on ...
Co-authored-by: Tomas Votruba <t****t@g****m>, ILJA MANYUTIN <i****n@a****u> |
ximki-vinki <1****i@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| c607ef00 | [TypeDeclaration] Skip trait methods on ParamTypeByMethodCallType rules (#8189) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| ef3c5cce | Allow dispatching Build Scoped Rector manually (#8188) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| a4f37d93 | Fix test: SetManagerTest (#8187) |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 69754b12 | [DeadCode] Skip string scalar sub type on RemoveReturnTagIncompatibleWithNati... |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| ce9583f6 | Fix LogicalToBooleanRector: parenthesize assignments nested under unary/binar... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d9915f24 | skip @ return this on RemoveReturnTagIncompatibleWithNativeTypeRector on Trai... |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 653ec233 | fix(dead-code): preserve generic `@return` tags in `RemoveReturnTagIncompatib... |
Maarten Paauw <g****b@p****v>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 3c481b68 | [CodeQuality] Skip abstract class on CompleteDynamicPropertiesRector (#8182) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 51d61737 | [Php71] Skip magic @method on RemoveExtraParametersRector (#8181) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| e713102f | [DeadCode] Skip templated type on RemoveReturnTagIncompatibleWithNativeTypeRe... |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 306b852a | [DeadCode] Skip PHPStan type alias on RemoveReturnTagIncompatibleWithNativeTy... |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 0e269a0d | [Config] Add phpunitNarrowAsserts and phpunitMockToStub to withPreparedSets()... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| cc1a748e | [Console] Support "-v" as alias for "--version" (#8177) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| ed944a11 | [StaticTypeMapper] Map phpstan-special scalar types (literal-string, numeric-... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 00a3fea7 | bump | Tomas Votruba <t****t@g****m> | about 2 months ago | |
| da47b693 | Bump phpstan/phpdoc-parser to ^2.3.3 (#8174) |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| d9882563 |
[automated] Re-Generate preload.php (#8173)
Co-authored-by: TomasVotruba <9****a@u****m> |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 15ecbd6e | [DeadCode] Add RemoveReturnTagIncompatibleWithNativeTypeRector (#8172) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| d9f0339b | [docblocks] Add MergePhpstanDocTagIntoNativeRector to merge @phpstan-* doc ta... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| d67958f4 | Fix scoper to clean up prefix under getRuleDefinition() method (part 5) (#8169) |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 6cdd3176 |
Fix scoper to clean up prefix under getRuleDefinition() method (part 4) (#8168)
Co-authored-by: GitHub Action <a****s@g****m> |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 24495969 | Fix scoper to clean up prefix under getRuleDefinition() method (part 3) (#8167) |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 67276abc | Fix scoper to clean up prefix under getRuleDefinition() method (part 2) (#8166) |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 33057527 |
Fix scoper to clean up prefix under getRuleDefinition() method (#8165)
Co-authored-by: GitHub Action <a****s@g****m> |
Abdul Malik Ikhsan <s****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 3d898075 | [Php81] Skip array dim fetch args in NullToStrictStringFuncCallArgRector (#8164) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| e1283b9e | [TypeDeclaration] Fix AddClosureParamTypeForArrayMapRector to type closure pa... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 299ca8d0 | [CodeQuality] Split ExplicitBoolCompareRector into array and object variants ... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| d1a6359b | [Php56] Add missing parentheses for lower-precedence operands in PowToExpRect... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| e6fc207c | [Php80] Keep trailing doc comment after annotation in AnnotationToAttributeRe... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 52b57a6a | [CodeQuality] Skip same boolean in both branches in SimplifyIfReturnBoolRecto... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| e9ef0ac4 | [CodingStyle] Add AlternativeIfToBracketRector (#8158) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 6db32130 | [CodeQuality] Skip alternative syntax (if/endif) in ShortenElseIfRector (#8157) |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 46515d26 |
[EarlyReturn] Split nested && operand into its own early return in ReturnBina...
Co-authored-by: GitHub Action <a****s@g****m> |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 1ccbb46b | [CodeQuality] Preserve parentheses around low-precedence operands in LogicalT... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| ca5155c0 | [CodeQuality] Skip inner function referenced as string callable in InnerFunct... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| cfea3ba6 | [CodeQuality] Preserve parentheses around right-side assign in LogicalToBoole... |
Tomas Votruba <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago |