Commit Graph

1066 Commits

Author SHA1 Message Date
Tomas Votruba 0a33500839 Updated Rector to commit 651e283c439ef593c6609ccc2623e11142544f4f
651e283c43 The php-parser 5.0 is far away from release, no need to include it for now (#3355)
2023-02-07 17:02:42 +00:00
Tomas Votruba 1f4ea6f9b2 Updated Rector to commit 7f873f0311679c23feacabd3089c8185b9a93c74
7f873f0311 [DX] Add back node helper functions to ease debugging (#3354)
2023-02-07 13:11:11 +00:00
Tomas Votruba 05df336f8e Rector 0.15.13 2023-02-07 01:46:29 +00:00
Tomas Votruba baf4489760 Updated Rector to commit 4ef31e92b88053cf22ca1f379fc92ecc3d45f371
4ef31e92b8 Remove deprecated TemplateResolverInterface, RectorServiceConfigurator (#3351)
2023-02-06 19:28:33 +00:00
Tomas Votruba f923fd0998 Updated Rector to commit 43dd2efc5d663bc16327911fe31c6f6ecf60e753
43dd2efc5d Remove deprecated ReturnTypeDeclarationRector, TypedPropertyRector, ParamTypeDeclarationRector rules (#3350)
2023-02-06 19:23:07 +00:00
Tomas Votruba fc81ed9173 Updated Rector to commit 75d1dca2ef328d91cff2b642e79f1c442696d0a1
75d1dca2ef Don't get type from PropertyFetch for not natively typed properties (#3327)
2023-02-06 18:49:21 +00:00
Tomas Votruba ab40a52407 Updated Rector to commit 75d1dca2ef328d91cff2b642e79f1c442696d0a1
75d1dca2ef Don't get type from PropertyFetch for not natively typed properties (#3327)
2023-02-06 17:12:10 +00:00
Tomas Votruba bf9c351bb7 Updated Rector to commit 9ec3967a5bb51519dec381255b7c6c0659a41d6e
9ec3967a5b Restore paratest (#3335)
2023-02-04 15:09:47 +00:00
Tomas Votruba 5a533a3702 Updated Rector to commit c3ff0fd4328b603df30c7e7bb833cb1e641f410c
c3ff0fd432 Upgrade to PHPUnit 10 🥳️ (#3332)
2023-02-03 17:47:50 +00:00
Tomas Votruba 66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +00:00
Tomas Votruba 67f4bcd4f3 Updated Rector to commit 0b5d2ed239b45cddcf4597eac75e23bad1e90cbf
0b5d2ed239 Make init part of process command to help new users with creating config (#3326)
2023-01-30 15:32:02 +00:00
Tomas Votruba e25df78489 Updated Rector to commit bbc100ce821ca98123ac0996673dbf48fc2b71e8
bbc100ce82 [TypeDeclaration] Add ReturnTypeFromStrictTernaryRector (#3318)
2023-01-29 12:39:10 +00:00
Tomas Votruba 297478ae00 Updated Rector to commit 9e321a11ac21440a33abef87add34945a1490b8f
9e321a11ac [TypeDeclaration] Add PropertyTypeFromStrictSetterGetterRector (#3313)
2023-01-28 16:20:41 +00:00
Tomas Votruba 16e7e0d008 Updated Rector to commit 8ddb48097219683f23faa75e2365c5161cc623a8
8ddb480972 [PHPStanStaticTypeMapper] Handle crash on OversizedArrayType (#3306)
2023-01-26 16:13:48 +00:00
Tomas Votruba d28a86773d Updated Rector to commit 8ddb48097219683f23faa75e2365c5161cc623a8
8ddb480972 [PHPStanStaticTypeMapper] Handle crash on OversizedArrayType (#3306)
2023-01-26 00:51:59 +00:00
Tomas Votruba afc46ddaaf Updated Rector to commit 8ddb48097219683f23faa75e2365c5161cc623a8
8ddb480972 [PHPStanStaticTypeMapper] Handle crash on OversizedArrayType (#3306)
2023-01-26 00:27:06 +00:00
Tomas Votruba be2e22ede3 Updated Rector to commit 2c353227e499072689cbb22d83b3483b3015025f
2c353227e4 [Printer] Handle Add Node after Nop statement inlineHTML (#3303)
2023-01-24 15:30:51 +00:00
Tomas Votruba a0a7aca50e Updated Rector to commit bd68c98f0bc5cb8b41a62dd9e7bd94bf82e731a5
bd68c98f0b Run tests workflow as well on push (#3301)
2023-01-22 23:10:23 +00:00
Tomas Votruba 5d0bd503ff Updated Rector to commit bd68c98f0bc5cb8b41a62dd9e7bd94bf82e731a5
bd68c98f0b Run tests workflow as well on push (#3301)
2023-01-22 18:53:49 +00:00
Tomas Votruba bad766b609 Updated Rector to commit cc8c4d0933a25224d93f1dd206547b96f5918ec5
cc8c4d0933 misc
2023-01-21 21:36:32 +00:00
Tomas Votruba c0543b1366 Updated Rector to commit 6ff46171a59dbfe0eddabf6ffcd8c091fbea8915
6ff46171a5 Show different code on found errors, and on fatal errors (#3297)
2023-01-20 20:25:25 +00:00
Tomas Votruba 3caa257b2c Updated Rector to commit 1ab342a4ee4bf282bb436c636c401d37a9476d23
1ab342a4ee [Core] Use Original node to pull Scope on AbstractScopeAwareRector (#3295)
2023-01-18 12:08:19 +00:00
Tomas Votruba f544364f8d Updated Rector to commit 541bf4529b7d6c078843c1104b530356687b847c
541bf4529b [Php80] Handle crash leaveNode() returned invalid value of type integer on TokenGetAllToObjectRector (#3291)
2023-01-17 01:10:44 +00:00
Tomas Votruba bede86547e Updated Rector to commit 505a2490fab1d61dffe6a9fa0cd95efc35ff9ac0
505a2490fa remove MethodTypeAnalyzer
2023-01-15 01:58:44 +00:00
Tomas Votruba 707c267250 Updated Rector to commit 71aacbee32ca0db0841b233c91663fd1ca0abee1
71aacbee32 remove unused namespace name decorator
2023-01-15 01:18:27 +00:00
Tomas Votruba 838e4d7b3f Updated Rector to commit 3f0dc2aee83ec3249e2aa1fba70dc89bed8a9227
3f0dc2aee8 remove NamedVariableFactory
2023-01-15 01:10:38 +00:00
Tomas Votruba b000cd08e5 Updated Rector to commit f6463a551369f884954c0f7dbc8b423e7d29d8e4
f6463a5513 remove unused ClassFromEnumFactory
2023-01-15 01:08:52 +00:00
Tomas Votruba b57aa6b1c1 Updated Rector to commit 3d7de8a15dfd61b80af51711c28a03ef886267e1
3d7de8a15d remove unused DoctrineAnnotationFactory
2023-01-15 00:59:39 +00:00
Tomas Votruba 01b8c03d60 Updated Rector to commit 8bf0045044d1357c6d10bc61e84fd962f69ccc20
8bf0045044 remove downgrade only method
2023-01-15 00:50:07 +00:00
Tomas Votruba f0db3872cf Updated Rector to commit b91f35ff6e833e2abb6591044309984549f0b539
b91f35ff6e Fix FinalizeClassesWithoutChildrenRector for changed class, use more reliable reflection to detect Doctrine attributes (#3276)
2023-01-13 15:37:04 +00:00
Tomas Votruba b771e1ca1a Updated Rector to commit 58c8f170182d3350e21a3b141bb3971651943e63
58c8f17018 [CodingStyle] Add DataProviderArrayItemsNewlinedRector (#3271)
2023-01-10 11:07:38 +00:00
Tomas Votruba 70d56f8d24 Updated Rector to commit e8dd953f10a7afc3610d5185c6b42216e6d9e050
e8dd953f10 [Php80] Don't add null as default to variadic parameter (#3270)
2023-01-10 10:35:25 +00:00
Tomas Votruba 4734e7527f Updated Rector to commit e8dd953f10a7afc3610d5185c6b42216e6d9e050
e8dd953f10 [Php80] Don't add null as default to variadic parameter (#3270)
2023-01-09 13:34:26 +00:00
Tomas Votruba 11b6f003b8 Updated Rector to commit a94a11a157b69172d32dbdd6de3328d313f9f5ce
a94a11a157 [Utils] Add ArrayChecker util to verify first data found on given array (#3262)
2023-01-02 12:05:00 +00:00
Tomas Votruba 764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba 1ccd0845db Updated Rector to commit eadd54081521c7d426a8d4249157f6239dd2bc8a
eadd540815 [Core] Remove ParentAttributeSourceLocator (#3257)
2022-12-31 10:11:25 +00:00
Tomas Votruba b6297a1113 Updated Rector to commit 384e84a982b8535dc06e49c0ed90b1979029e0e8
384e84a982 refactors Spatie enum method calls to native enums (#3226)
2022-12-28 12:01:35 +00:00
Tomas Votruba 8a89fc1eb2 Updated Rector to commit ac2f8537c1f5b9739baaeeb8228d514b29c6b0b6
ac2f8537c1 [CodeQuality] Handle crash on ReturnTypeFromStrictScalarReturnExprRector on ConditionalTypeForParameter (#3254)
2022-12-25 14:11:20 +00:00
Tomas Votruba 727b9f46f0 Updated Rector to commit bfa1891c50677b01136a9308fd3c3ecc12e267d9
bfa1891c50 [cleanup] Remove 73 unused public methods (#3245)
2022-12-23 17:10:25 +00:00
Tomas Votruba 96d8a22628 Updated Rector to commit 70fea54e77ffd186e41540d2b36c5362b073fbc4
70fea54e77 [DeadCode] Add TargetRemoveClassMethodRector (#3240)
2022-12-22 17:06:53 +00:00
Tomas Votruba e470fd1061 Updated Rector to commit 84faf2905518aad5fb97caf613517f8a50827867
84faf29055 Update generate-changelog command to use objects, add simple filtering (#3232)
2022-12-21 15:18:30 +00:00
Tomas Votruba f4f085ed27 Updated Rector to commit f13207737e25fef30190c1746a314b7e1dec6eb2
f13207737e [CodingStyle] Add NullifyUnionNullableRector (#3231)
2022-12-21 11:07:20 +00:00
Tomas Votruba 6025307990 Updated Rector to commit c80cd6f1f03f6f4e1b1aee6504126699e6a06fe3
c80cd6f1f0 [TypeCoverage] Add EmptyOnNullableObjectToInstanceOfRector (#3230)
2022-12-20 21:37:46 +00:00
Tomas Votruba 13fa9d478f Updated Rector to commit 394fa70c963bb059acd6aae4b998173bdfc6c80c
394fa70c96 [TypeDeclaration] Add FalseReturnClassMethodToNullableRector (#3229)
2022-12-20 20:40:25 +00:00
Tomas Votruba a53b9ef444 Updated Rector to commit dfad0c3a53d7ee62aa0ea6e6feede26ada741c58
dfad0c3a53 RenameClassRector with callback support (#3023)
2022-12-17 14:41:49 +00:00
Tomas Votruba 2b660785e9 Updated Rector to commit 5a4111e518e866379e5cdce1d9b3b282dfccaa3d
5a4111e518 Bump composer dependencies (#3208)
2022-12-16 14:30:13 +00:00
Tomas Votruba b607ae2a53 Updated Rector to commit 0d6234b584f14d25e02c8c97afac7f6374aa306c
0d6234b584 [DeadCode] Skip standalone @return false or true on RemoveUselessReturnTagRector (#3202)
2022-12-15 14:08:31 +00:00
Tomas Votruba 7c46ba037e Updated Rector to commit c21cafaf90cab17ae26900679f70461063ab791e
c21cafaf90 [Php82] Add Utf8DecodeEncodeToMbConvertEncodingRector (#3195)
2022-12-14 10:07:44 +00:00
Tomas Votruba a6cbd606d0 Updated Rector to commit f20fd6e9daf997a2116f34a305d2c9afa72d393a
f20fd6e9da Bump phpdoc-parser to 1.15.0 (#3194)
2022-12-13 15:54:47 +00:00
Tomas Votruba 7924f6944c Updated Rector to commit de008767d91ad6cd5ed77bdc259454665e4bbde9
de008767d9 Replace static with self for private constants (#3178)
2022-12-12 12:29:16 +00:00