4965 Commits

Author SHA1 Message Date
Tomas Votruba
b83524f932 Updated Rector to commit 6a2af1878843ade4b1890f9a1a04f815cc600fa4
6a2af18788 [TypeDeclaration] Skip echo-ed on StrictArrayParamDimFetchRector (#5260)
2023-11-18 13:54:46 +00:00
Tomas Votruba
4cf16f617f Updated Rector to commit 03c7ab7a0f3b7a2ba106bef1ccf508d1b9b63850
03c7ab7a0f [TypeDeclaration] Skip default not array type on StrictArrayParamDimFetchRector (#5259)
2023-11-18 13:41:50 +00:00
Tomas Votruba
912487ba8d Updated Rector to commit 4a3e6982647ce4fdc84b1232557eaeae7e914bde
4a3e698264 [DeadCode] Skip multi no stmts on RemoveDuplicatedCaseInSwitchRector (#5258)
2023-11-18 02:19:29 +00:00
Tomas Votruba
2da177465a Updated Rector to commit 363ae1bd444c365e38aef1cfcd69324b734c3c9c
363ae1bd44 [Performance][PostRector] Only process FullyQualified on import Node name on NameImportingPostRector  (#5255)
2023-11-16 17:36:40 +00:00
Tomas Votruba
1d5d0dd30b Updated Rector to commit 1595e34d12d856eab8e2478de357f0b1dff3556f
1595e34d12 [CodingStyle] Refactor UseImportsAdder to return [FileWithoutNamespace] code on no namespaced code (#5254)
2023-11-16 14:51:30 +00:00
Tomas Votruba
b4cef81b9f Updated Rector to commit 60047ce7785545401ad870d483060ce640fa3369
60047ce778 [Php73] Handle crash on JsonThrowOnErrorRector + SensitiveConstantNameRector (#5253)
2023-11-16 05:36:22 +00:00
Tomas Votruba
4f6134d1be Updated Rector to commit 5647e1b818482552a447d7f79392c7e2f0dce86e
5647e1b818 [Naming] Fix dotted name on generics bug in RenameVariableToMatchMethodCallReturnTypeRector (#5250)
2023-11-15 07:40:24 +00:00
Tomas Votruba
9aef117ab1 Updated Rector to commit 7ec1be6b828042b27e3f40ed41b3285a6fe78502
7ec1be6b82 [DeadCode]: Support functions in RemoveUnusedVariableAssignRector (#5249)
2023-11-14 21:18:19 +00:00
Tomas Votruba
83b81fcc4e Updated Rector to commit 889372f62a584ca43402eced083b99e2ffbe6784
889372f62a [AutoImport][Renaming] Handle same last name no namespace just renamed auto import (#5248)
2023-11-14 11:48:19 +00:00
Tomas Votruba
afe2dc7944 Updated Rector to commit f0b8af88eb08be29b5fbf18f0e26283600c2c7e6
f0b8af88eb [AutoImport] Skip auto import on no namespace used class on auto import enabled (#5247)
2023-11-14 05:17:31 +00:00
Tomas Votruba
55d6c6f50a Updated Rector to commit 61d68c89b434271c793fbbcc8e6252e9f3e0e7eb
61d68c89b4 Rename parameter variable to nextCase on RemoveDuplicatedCaseInSwitchRector (#5244)
2023-11-11 20:55:17 +00:00
Tomas Votruba
39dc6141e7 Updated Rector to commit 42b697f65f0c648cc45abcc5b9e32a16a7967caa
42b697f65f [deprecated] Remove deprecated properties from AbstractRector (#5243)
2023-11-11 17:10:37 +00:00
Tomas Votruba
e26480f1cb Updated Rector to commit 7e7304b93cd03fda558ac8ebfbc682ffa4938fe0
7e7304b93c [AutoImport] Handle DeclareStrictTypesRector on importNames() enabled on no namespace (#5241)
2023-11-10 21:55:35 +00:00
Tomas Votruba
e41e10db62 Updated Rector to commit 2f74b02ef6c754c68abcdd246837583967e24678
2f74b02ef6 [DeadCode] Handle repetitive jump equal case stmts on RemoveDuplicatedCaseInSwitchRector (#5239)
2023-11-10 19:13:04 +00:00
Tomas Votruba
382d51d15f Updated Rector to commit eac58be00246ea8c89548289f2cc742e8b1b6b1a
eac58be002 [DeadCode] Reduce loop on RemoveDuplicatedCaseInSwitchRector (#5238)
2023-11-10 12:36:56 +00:00
Tomas Votruba
17eadc7eb2 Updated Rector to commit b0d4b15c3fd96582c6e3ed4d21cf4d30eb8742ce
b0d4b15c3f [DeadCode] Ensure change hasChanged flag on RemoveDuplicatedCaseInSwitchRector (#5237)
2023-11-10 09:02:20 +00:00
Tomas Votruba
c51a745c50 Updated Rector to commit bee1dae395490dd91a86230e1886b514288dfa62
bee1dae395 [DeadCode] Handle different indirect duplicated on RemoveDuplicatedCaseInSwitchRector (#5236)
2023-11-10 06:59:59 +00:00
Tomas Votruba
373eece1e0 Updated Rector to commit c61d8ea90edb04550b6a43f40bd6c6105a997189
c61d8ea90e [DeadCode] Reduce double loop on RemoveDuplicatedCaseInSwitchRector (#5235)
2023-11-09 22:56:12 +00:00
Tomas Votruba
e51766f9ec Updated Rector to commit 3f2fb29fe87904d779fb2f8d3e59492aaa9249f4
3f2fb29fe8 [DeadCode] Allow indirect duplicated grouping on RemoveDuplicatedCaseInSwitchRector (#5234)
2023-11-09 22:08:11 +00:00
Tomas Votruba
b0251feb16 Updated Rector to commit 437f96a264be9b974d2c5abcc4f5097bfb57b20e
437f96a264 RestoreDefaultNullToNullableTypePropertyRector: skip `@readonly` phpdoc (#5233)
2023-11-08 12:07:04 +00:00
Tomas Votruba
6786dfbdb1 Updated Rector to commit cb1b0c7348d1e80806b2e600823dbfa38b9836c7
cb1b0c7348 [Renaming] Add RenamedNameCollector to ensure remove uses on auto import on ClassRenamingPostRector with verify there is Node name that renamed (#5232)
2023-11-07 21:52:18 +00:00
Tomas Votruba
0cbee62160 Updated Rector to commit 9adc7a04b3a312957bb305edafcd0427fa6bd257
9adc7a04b3 [CodingStyle] Move ArraySpreadInsteadOfArrayMergeRector from php74 to codingstyle sets list (#5230)
2023-11-07 18:56:36 +00:00
Tomas Votruba
c221b7e43d Updated Rector to commit ce62c634015fefa1f91429ecda659fe71371b85a
ce62c63401 Remove rule DataProviderArrayItemsNewlinedRector.php (#5227)
2023-11-07 12:01:11 +00:00
Tomas Votruba
8027a18b9e Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
6d8074534f Rectify (#5226)
2023-11-06 09:18:43 +00:00
Tomas Votruba
95582bf2b1 Updated Rector to commit 7607b334736d241820f9f307423f6050801b46af
7607b33473 NullableCompareToNullRector: Don't trust phpdocs (#5225)
2023-11-06 09:13:25 +00:00
Tomas Votruba
1c5fde5d65 Updated Rector to commit 8615d40f4c8acb58a000f5bc7e0d0a0cfd353b7f
8615d40f4c [NodeTypeResolver] Handle nullable extended class on ->isObjectType() on DowngradeReflectionGetAttributesRector (#5224)
2023-11-05 13:58:20 +00:00
Tomas Votruba
cdc1ef461c Updated Rector to commit 2ad03db37f187d715c3a2f189dc181063126e596
2ad03db37f [Php83] Adds rule for adding Override attribute (#5170)
2023-11-03 12:13:20 +00:00
Tomas Votruba
394c30d8ba Updated Rector to commit 2fac959116e4f50471422e5e5c9eaca3163e6667
2fac959116 [AutoImport] Allow auto import just renamed @var only docblock on RenameClassRector without removeUnusedImports() enabled (#5220)
2023-11-03 08:39:18 +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
5869e2ab60 Updated Rector to commit 97d095f5bd3fe561dafd06f56f898f0aec535ba0
97d095f5bd [TypeDeclaration] Skip default numeric string on param int on ParamTypeByMethodCallTypeRector (#5210)
2023-10-28 16:36:35 +00:00
Tomas Votruba
a3cb68c58c Updated Rector to commit 5f86e6bb082d06c1fc7f3ca53a9e42389319c3eb
5f86e6bb08  [CodeQuality] Add negated support on SingleInArrayToCompareRector  (#5205)
2023-10-28 06:44:30 +00:00
Tomas Votruba
f5adafb1c4 Updated Rector to commit a27370519f4e17bf73f0d548e098de448895401d
a27370519f [CodeQuality] Handle negated isset on IssetOnPropertyObjectToPropertyExistsRector on property not exists (#5206)
2023-10-27 12:14:09 +00:00
Tomas Votruba
068fde1710 Updated Rector to commit 89b3e62f82ad480b57f002096cc16af16d7ac597
89b3e62f82 [TypeDeclaration] Skip union false on NumericReturnTypeFromStrictScalarReturnsRector (#5204)
2023-10-26 18:45:24 +00:00
Tomas Votruba
8d1b2d924e Updated Rector to commit be0cc77862bef98727e1e3881620c5416841801f
be0cc77862 CountArrayToEmptyArrayComparisonRector: don't trust phpdoc (#5203)
2023-10-26 12:26:07 +00:00
Tomas Votruba
ae4c0b72cb Updated Rector to commit 72cdbd0613318b797455deba64ebe6358d58af42
72cdbd0613 [CodeQuality][Php70] Handle LocallyCalledStaticMethodToNonStaticRector + ThisCallOnStaticMethodToStaticCallRector must change both method and caller (#5196)
2023-10-26 07:11:41 +00:00
Tomas Votruba
d628c0dcad Updated Rector to commit 238a9f1800225bd3f350dc25df79ad283d91a25a
238a9f1800 Revert doctrine/inflector removal (#5201)
2023-10-25 15:01:11 +00:00
Tomas Votruba
fe7a135a9e Updated Rector to commit 5d1286061c8bf264c95085edf8b24731cf62c91e
5d1286061c BinaryOpBetweenNumberAndStringRector don't trust phpdoc (#5199)
2023-10-25 13:44:54 +00:00
Tomas Votruba
1b058fde9f Updated Rector to commit 98bb8581e5794641db7e2acf0cefa14f62f5e8a9
98bb8581e5 Fix singular of words ending in "ss" (#5198)
2023-10-25 08:11:08 +00:00
Tomas Votruba
23e5d4df05 Updated Rector to commit 1d3fc91bd5e0154daae34b1efdb64a6f78f47c89
1d3fc91bd5 apply cs
2023-10-24 15:03:15 +00:00
Tomas Votruba
02041b2207 Rector 0.18.6 2023-10-24 15:00:59 +00:00
Tomas Votruba
52923dc606 Updated Rector to commit 1c54292ed68e46f4ddfa2adb21f28130f308b99c
1c54292ed6 Replace doctrine/inflector with simpler mapping function (#5165)
2023-10-24 15:00:55 +00:00
Tomas Votruba
ff69243060 Updated Rector to commit f2c8967abf004558bf92c86840d57eb7f0221f9c
f2c8967abf [DeadCode] Mirror comment on assign method call on RemoveUnusedVariableAssignRector (#5195)
2023-10-24 06:21:04 +00:00
Tomas Votruba
7c5eefbc15 Updated Rector to commit 6d5ffbe7d62fba226b0b49c613092c0741b2ba34
6d5ffbe7d6 [TypeDeclaration] Handle skipped by file path on DeclareStrictTypesRector due to use beforeTraverse() (#5191)
2023-10-23 07:51:12 +00:00
Tomas Votruba
c6f40053b8 Updated Rector to commit a0d324465a4cbccb9236bc69f41069da89d01baf
a0d324465a [Php74][Php81] Allow mixed key on ArraySpreadInsteadOfArrayMergeRector on php 8.1 version feature enabled (#5190)
2023-10-22 10:12:20 +00:00
Tomas Votruba
654c818f4e Updated Rector to commit 5ac3cb377abf968396c23573d8562e6ab6967f2a
5ac3cb377a [Php70] Fix Php4 contructor not replaced with __construct() on php 7.4 environment (#5189)
2023-10-19 13:47:36 +00:00
Tomas Votruba
af933fd21f Updated Rector to commit 4795d003614d98b04c3fce209e855f18ac48ed09
4795d00361 [Renaming] Skip pointless names in RenameForeachValueVariableToMatchMethodCallReturnTypeRector (#5188)
2023-10-18 09:58:42 +00:00
Tomas Votruba
65b387953a Updated Rector to commit 1a98723aebf1bdf9462b785d49f75d914b569779
1a98723aeb [Naming] Skip all kinds of generators (#5187)
2023-10-18 09:38:53 +00:00
Tomas Votruba
d260adfd2b Updated Rector to commit 96fae07575c6c64ac7e2950388cbe07d18cbcfc5
96fae07575 Skip DateTime in ExpectedNameResolver (#5186)
2023-10-18 09:27:27 +00:00
Tomas Votruba
7949049389 Updated Rector to commit c9b0c27fa1df366ccf2213888d4351311bf82966
c9b0c27fa1 Skip new self in RenameVariableToMatchNewTypeRector (#5185)
2023-10-18 08:25:46 +00:00
Tomas Votruba
1e0199beb5 Updated Rector to commit beeba1770967a4f5e59cf21db28a5a1ccae48a2f
beeba17709 [Naming] Skip DateTime from renaming, to keep convention of named dates (#5184)
2023-10-18 08:05:23 +00:00