Commit Graph

167 Commits

Author SHA1 Message Date
Tomas Votruba
28f5dbde13 Updated Rector to commit c14f8d45175bd4c10fef503e350d677c4a73ce29
c14f8d4517 [Php72][TypeDeclaration] Rollback tweak infinite loop handling on DeclareStrictTypesRector (#5700)
2024-03-08 06:34:02 +00:00
Tomas Votruba
695c190be3 Updated Rector to commit 94b5561ca87ee6825a098c7c506b774582bf3354
94b5561ca8 chore: bump min version of github actions (fix deprecations) (#5675)
2024-03-01 20:02:28 +00:00
Tomas Votruba
740fedd8a5 Updated Rector to commit 74a7c51d383b8ad5c6adb10cd67fe5f7f8ff290d
74a7c51d38 [automated] Re-Generate Nodes/Rectors Documentation (#5664)
2024-02-25 00:28:09 +00:00
Tomas Votruba
b0211bc3d8 Updated Rector to commit fa75fcf0d1445f90cff9199875aba352671795f9
fa75fcf0d1 [Performance][PhpVersionResolver] Cache resolve platform/require from composer.json on ProjectComposerJsonPhpVersionResolver (#5542)
2024-02-01 23:54:40 +00:00
Tomas Votruba
c49de5a16c Updated Rector to commit 5e7ecb623ad7fe78a660fe3d2275166492ebdb40
5e7ecb623a [stabilize] Remove child classes from MixedTypeRector as not reliable (#5537)
2024-01-31 22:01:40 +00:00
Tomas Votruba
3437ca57ce Updated Rector to commit ab78d14e35aa95519a7fbb2472ef7a7e087e1397
ab78d14e35  [PHPStan] Clean up PHPStan ignore errrors  (#5492)
2024-01-23 10:53:22 +00:00
Tomas Votruba
7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
7ba32aac1f Updated Rector to commit e12c73eb339a847bcd717025abf5bc43f1cd0e4c
e12c73eb33 [psr-4] Move tests to main namespace, as part of /src and /packages merge - step 2 (#5407)
2024-01-01 00:20:45 +00:00
Tomas Votruba
e153ed98e6 Updated Rector to commit c6ca4f1f5ccdf73d9aa0f8f441267725e07aee67
c6ca4f1f5c [Performance][TypeDeclaration] Avoid using AstResolver on class is on same file on AllAssignNodePropertyTypeInferer (#5387)
2023-12-24 08:15:26 +00:00
Tomas Votruba
39e43b6cca Updated Rector to commit dc9573d9bd60ec966db626be91c13cc6a5c4bbef
dc9573d9bd [Php55] Make StringClassNameToClassConstantRector configurable to keep first pre-backslash string configurable (#5354)
2023-12-11 13:06:54 +00:00
Tomas Votruba
c5421dfd82 Updated Rector to commit e48234e23981f4022e704bc500b9a9197727e87e
e48234e239 Skip RenameMethodRector in never (#5305)
2023-12-01 09:49:11 +00:00
Tomas Votruba
0fdd1351c0 Updated Rector to commit 09a962c8cc695e8fdbeeb24e7f00f92008076ac4
09a962c8cc [Test] Add test for combination aliased + sub namespace usage on AnnotationToAttributeRector (#5289)
2023-11-26 07:53:02 +00:00
Tomas Votruba
5d5ea43276 Updated Rector to commit ce62c634015fefa1f91429ecda659fe71371b85a
ce62c63401 Remove rule DataProviderArrayItemsNewlinedRector.php (#5227)
2023-11-07 12:20:20 +00:00
Tomas Votruba
5990b98c4e Updated Rector to commit 8615d40f4c8acb58a000f5bc7e0d0a0cfd353b7f
8615d40f4c [NodeTypeResolver] Handle nullable extended class on ->isObjectType() on DowngradeReflectionGetAttributesRector (#5224)
2023-11-05 14:03:03 +00:00
Tomas Votruba
37bf1c8f19 Updated Rector to commit 2ad03db37f187d715c3a2f189dc181063126e596
2ad03db37f [Php83] Adds rule for adding Override attribute (#5170)
2023-11-03 16:34:43 +00:00
Tomas Votruba
184cf49468 Updated Rector to commit f9de5d311e7e69d1ad2cb5f3087970d8b9335920
f9de5d311e [Php80] Handle RenameClassRector+AnnotationToAttributeRector with auto import and existing attribute defined (#5219)
2023-11-02 03:20:18 +00:00
Tomas Votruba
440cc19f16 Updated Rector to commit 5ac3cb377abf968396c23573d8562e6ab6967f2a
5ac3cb377a [Php70] Fix Php4 contructor not replaced with __construct() on php 7.4 environment (#5189)
2023-10-20 09:54:41 +00:00
Tomas Votruba
45987b0066 Updated Rector to commit 4795d003614d98b04c3fce209e855f18ac48ed09
4795d00361 [Renaming] Skip pointless names in RenameForeachValueVariableToMatchMethodCallReturnTypeRector (#5188)
2023-10-18 15:39:41 +00:00
Tomas Votruba
671f50c702 Updated Rector to commit ee715396945596fffb158ff8278749feb01ea01a
ee71539694 [NodeTypeResolver] Use isScalar()->yes() usage on StaticTypeAnalyzer and ScalarTypeComparator services (#5099)
2023-10-01 01:36:35 +00:00
Tomas Votruba
838756b543 Updated Rector to commit 41235b8c7c52b0ba77872c2f04921685569c3b6e
41235b8c7c [Core] Deprecate AbstractRector staticTypeMapper, use dependency directly when needed (#5091)
2023-09-29 13:22:46 +00:00
Tomas Votruba
718b62bf2c Updated Rector to commit defd57b99b2f442199c6d4c63357e786d514253b
defd57b99b Move betterNodeFinder,valueResolver,phpDocInfoFactory dependencies from AbstractRector into rules (#5071)
2023-09-23 12:32:25 +00:00
Tomas Votruba
b2b3a0f5cc Updated Rector to commit 33fa6262970128e964fc4099d88d9a7369828e1a
33fa626297 [DX] Make PhpDocInfoFactory explicitly required in Rector rule constructor, if needed (#5051)
2023-09-20 12:41:26 +00:00
Tomas Votruba
42058c255b Updated Rector to commit 535ef5909272fe83d43f5bcf997d74222ac25cdc
535ef59092 Revert "[Performance][NodeTypeResolver] Remove $mutatingScope->enterCatchType() usage on PHPStanNodeScopeResolver (#5045)" (#5046)
2023-09-19 09:12:48 +00:00
Tomas Votruba
35a66f9d23 Updated Rector to commit 596bbc98a25903c525914b4d16ea5f9c76b500fb
596bbc98a2 [tests] Replace wildcard e2e test with unit one (#5000)
2023-09-11 18:33:42 +00:00
Tomas Votruba
67ef720476 Updated Rector to commit 780ef4010d45be3e89844dec073ce2078a10f96f
780ef4010d Deprecated PhpDocInfo::markAsChanged() to ensure doc block is changed directly in the Rector rule (#4987)
2023-09-11 14:54:44 +00:00
Tomas Votruba
4c20b79d3c Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
ae3608b3d6 Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983)
2023-09-11 09:47:14 +00:00
Tomas Votruba
060f298712 Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
65fd2014b2 Fix union type check of object (#4893)
2023-09-01 17:48:05 +00:00
Tomas Votruba
814e26534d Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
65fd2014b2 Fix union type check of object (#4893)
2023-09-01 17:12:44 +00:00
Tomas Votruba
8848b01ee3 Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
c5897e54a6 Fix tests fixture updater (#4892)
2023-09-01 14:46:57 +00:00
Tomas Votruba
933f88178b Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
c5897e54a6 Fix tests fixture updater (#4892)
2023-09-01 13:46:47 +00:00
Tomas Votruba
326e84f967 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-09-01 11:10:35 +00:00
Tomas Votruba
eeab658669 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-08-31 19:21:20 +00:00
Tomas Votruba
8be31113be Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-08-31 19:02:42 +00:00
Tomas Votruba
3982c504e9 Updated Rector to commit f64cb7b3f8467fe5e6509f0651017a6dabc1fd47
f64cb7b3f8 Revert "Pin react/socket to 1.13 (#4855)" (#4856)
2023-08-26 09:10:09 +00:00
Tomas Votruba
0728ba3ce0 Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-26 06:01:40 +00:00
Tomas Votruba
3be5dc788b Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-26 03:10:37 +00:00
Tomas Votruba
5fdba3c8f0 Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-26 02:10:45 +00:00
Tomas Votruba
33326d3cb4 Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-26 01:30:33 +00:00
Tomas Votruba
909b93c7f2 Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-25 17:57:39 +00:00
Tomas Votruba
f5e2367b07 Updated Rector to commit 20133824b6589f2259982d75d052cf7be3be8182
20133824b6 [DX] Remove double call $configuration->getFileExtensions() on FileFactory (#4851)
2023-08-25 16:24:26 +00:00
Tomas Votruba
5b1b83ed61 Updated Rector to commit 685fe90cb8752c2a288ee982d03d15d8df6b59f2
685fe90cb8 Make SimplifyUselessVariableRector run without scope (#4791)
2023-08-14 14:31:01 +00:00
Tomas Votruba
15f46b1693 Updated Rector to commit 9b03d8367cd3c69b36b8b1aedf458b191f46655a
9b03d8367c [TypeDeclaration] Add ReturnUnionTypeRector (#4655)
2023-08-05 11:03:19 +00:00
Tomas Votruba
1814d573d8 Updated Rector to commit e380cf8fdb65fe9929ed047dafdd49fadb00e01c
e380cf8fdb [DX] Make MoneyFormatToNumberFormatRector wrap func call directly to keep simple (#4653)
2023-08-04 17:46:10 +00:00
Tomas Votruba
92b9fdfd95 Updated Rector to commit fbcd7cf7e6c61be3ad014eebe50ff6c83e8a202e
fbcd7cf7e6 Remove resolveFromNodeWithScopeCountAndFallbackName() as unused (#4652)
2023-08-04 17:28:42 +00:00
Tomas Votruba
d79728bb9f Updated Rector to commit 58273de24474dee2a5463949ad127a86526c4e3a
58273de244 [CodingStyle][Php80][Privatization] Handle SeparateMultiUseImportsRector+ClassPropertyAssignToConstructorPromotionRector+FinalizeClassesWithoutChildrenRector cause invalid removal (#4649)
2023-08-04 16:26:53 +00:00
Tomas Votruba
b2fa3fba80 Updated Rector to commit 529defd2de2b8ea122d0d7326ca0b054a22a030d
529defd2de [TypeDeclaration] Using native type scope get on ReturnTypeInferer (#4648)
2023-08-04 14:11:13 +00:00
Tomas Votruba
5ed75de032 Updated Rector to commit ae767eb1fe01f65c9d5a1e5c2a4c067e95b5386e
ae767eb1fe [TypeDeclaration] Set minimum php version for AddReturnTypeDeclarationBasedOnParentClassMethodRector to php 7.0 (#4647)
2023-08-04 13:42:14 +00:00
Tomas Votruba
8e45114f90 Updated Rector to commit 5965ddd37bf4e44553822ae16165c2de4b052f42
5965ddd37b [TypeDeclaration] Add Closure support on ReturnTypeFromStrictParamRector (#4633)
2023-08-03 14:19:00 +00:00
Tomas Votruba
a41439c736 Rector 0.17.8 2023-08-03 13:06:37 +00:00
Tomas Votruba
aae549741f Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
0cb3fd0feb [Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626)
2023-08-01 10:55:14 +00:00