Tomas Votruba
caba0e294a
Rector 0.18.7
2023-11-13 10:11:05 +00:00
Tomas Votruba
88ba2c5647
Updated Rector to commit caba1a00f6c66fe383ed38624087f6dd527808c6
...
caba1a00f6
Completely remove __get() method on AbstractRector (#5245 )
2023-11-12 11:46:07 +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
753e83fb31
Updated Rector to commit 4ed71bc537b3b3bb80245efb7661941119ab077d
...
4ed71bc537
[Utils] Cleap up MissingInSetCommand skipped rules constant (#5242 )
2023-11-11 09:57:02 +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
2adc308c58
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-08 03:06:40 +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
9e54649587
Updated Rector to commit 290f2a03d53d0b8da35beb973d724f95a77983cb
...
290f2a03d5
[PostRector] Ensure old classes in use statements cleaned up after rename attribuet on ClassRenamingPostRector (#5231 )
2023-11-07 19:13:05 +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
73986cddda
Updated Rector to commit bd191f05ad1e632df5b656c1da0fb56a426f5a0a
...
bd191f05ad
Rectify (#5229 )
2023-11-07 15:42:24 +00:00
Tomas Votruba
38b4fc4969
Updated Rector to commit 0a2594d5569028d436e08738fe10d4edb16d61a7
...
0a2594d556
Remove `ArraySpreadInsteadOfArrayMergeRector` from `LevelSetList::UP_TO_PHP_74` (#5228 )
2023-11-07 12:47:57 +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
c221b7e43d
Updated Rector to commit ce62c634015fefa1f91429ecda659fe71371b85a
...
ce62c63401
Remove rule DataProviderArrayItemsNewlinedRector.php (#5227 )
2023-11-07 12:01:11 +00:00
Tomas Votruba
8e33333b8d
Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
...
6d8074534f
Rectify (#5226 )
2023-11-07 11:07:32 +00:00
Tomas Votruba
2cdabcba36
Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
...
6d8074534f
Rectify (#5226 )
2023-11-06 15:46:58 +00:00
Tomas Votruba
1a3632d316
Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
...
6d8074534f
Rectify (#5226 )
2023-11-06 10:19:06 +00:00
Tomas Votruba
4fde7813cb
Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
...
6d8074534f
Rectify (#5226 )
2023-11-06 10:07:45 +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
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
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
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
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
23db14797e
Updated Rector to commit cc97becc06dcf1b69c5de01aebf09b498c0d9006
...
cc97becc06
[Testing] In case of failed test using multiple rules, show applied Rector rules to make easy to find them (#5222 )
2023-11-03 12:03:05 +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
6999c349a8
Updated Rector to commit f9de5d311e7e69d1ad2cb5f3087970d8b9335920
...
f9de5d311e
[Php80] Handle RenameClassRector+AnnotationToAttributeRector with auto import and existing attribute defined (#5219 )
2023-11-03 06:37:02 +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
9f6334bf4b
Updated Rector to commit aa6d2c3c6c63593bbf39f3451b4314e37e57224e
...
aa6d2c3c6c
cs
2023-10-31 21:08:55 +00:00
Tomas Votruba
44964c7886
Updated Rector to commit 0d55d15b79dbe81e07776c72a5b99f08efa64bd5
...
0d55d15b79
[Php52][Php70] Handle ContinueToBreakInSwitchRector + BreakNotInLoopOrSwitchToReturnRector (#5217 )
2023-10-31 12:51:27 +00:00
Tomas Votruba
714e8b8d05
Updated Rector to commit 95d03317bcd3bdd74f5dd1dba9a84bdc5a60625b
...
95d03317bc
[AutoImport] Ensure change to FullyQualified for Attribute on just changed from annotation (#5216 )
2023-10-31 08:18:42 +00:00
Tomas Votruba
1f1e7b8359
Updated Rector to commit 06f806c0fd0c150b8d5449a53f45098431e7503a
...
06f806c0fd
[Php80] Keep single quoted key: 'value' on AnnotationToAttributeRector (#5215 )
2023-10-29 18:25:53 +00:00
Tomas Votruba
fcf4282d86
Updated Rector to commit 486986e43330988fb76758b141727586048b01a4
...
486986e433
[Php80] Keep single quoted Argument Attribute on AnnotationToAttributeRector (#5214 )
2023-10-29 13:37:56 +00:00
Tomas Votruba
685f0bab53
Updated Rector to commit 3c526c91f05faf276fb08bedb31bc1dc19cfb678
...
3c526c91f0
[AutoImport] Handle AnnotationToAttributeRector + RenameClassRector then enable auto import (#5213 )
2023-10-29 11:11:38 +00:00
Tomas Votruba
20e5da8be0
Updated Rector to commit c1657f00d185b8a300909affbb30081aa7a407fc
...
c1657f00d1
[automated] Apply Coding Standard (#5212 )
2023-10-29 00:29:51 +00:00
Tomas Votruba
d253e2025f
Updated Rector to commit 0ff9a66d0a8d1734e050ab30141f887aeeb40f32
...
0ff9a66d0a
[PHPStan] Clean up PHPStan ignore errors (#5211 )
2023-10-28 17:55:00 +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
b60b85beb4
Updated Rector to commit 6f330105bef70bec222f1cc6f86c09b137dff44f
...
6f330105be
[PHPStanStaticTypeMapper] Clean up tweak false and bool check on UnionTypeMapper (#5209 )
2023-10-28 12:43:37 +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
59b8839a32
Updated Rector to commit 662f53cbf88a58ccb31bbf119118df6afc32afdc
...
662f53cbf8
[NodeTypeResolver] Clean up TryCatch_ Scope filling (#5208 )
2023-10-27 17:46:00 +00:00
Tomas Votruba
79bd59b362
Updated Rector to commit 59bfa4da42fd30bace742b7916508062b8642aab
...
59bfa4da42
[CodeQuality] Handle crash no scope on ThrowWithPreviousExceptionRector+OptionalParametersAfterRequiredRector (#5207 )
2023-10-27 13:02:33 +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
102128ffca
Updated Rector to commit 89b3e62f82ad480b57f002096cc16af16d7ac597
...
89b3e62f82
[TypeDeclaration] Skip union false on NumericReturnTypeFromStrictScalarReturnsRector (#5204 )
2023-10-27 08:11:40 +00:00