Commit Graph

5289 Commits

Author SHA1 Message Date
Tomas Votruba 51090bc214 Updated Rector to commit ac2bd3f825b11233c07235a195f442be4113d99c
ac2bd3f825 [Php81] Skip $this::class on trait on NullToStrictStringFuncCallArgRector (#5732)
2024-03-17 07:10:56 +00:00
Tomas Votruba b50605a40a Updated Rector to commit 1764c19455ce55ee49ec1d678d422c788e7c4fff
1764c19455 [Configuration] Do not sets, skip, rules on empty array on RectorConfigBuilder (#5731)
2024-03-17 01:39:59 +00:00
Tomas Votruba 2bf9bab235 Updated Rector to commit a94605a3c00447f1f3348b66d0719652cb2aa8ce
a94605a3c0 [automated] Apply Coding Standard (#5730)
2024-03-17 00:29:09 +00:00
Tomas Votruba 29535d04eb Updated Rector to commit 0a07bf39b8c3852a0bd289280ee6e60080561447
0a07bf39b8 [automated] Re-Generate Nodes/Rectors Documentation (#5729)
2024-03-17 00:28:32 +00:00
Tomas Votruba dd371cdca2 Updated Rector to commit 6477094d5af502e65c75c30af7ce59ef3b8cc2d7
6477094d5a Update ArrayDimFetchToMethodCall to use ObjectType (#5728)
2024-03-16 10:32:26 +00:00
Tomas Votruba d5d197b9bf Updated Rector to commit d9b64c78e33ef461605ac08578c8159b01839c98
d9b64c78e3 Fixes for ArrayDimFetchToMethodCallRector (#5727)
2024-03-16 09:11:08 +00:00
Tomas Votruba 9ab2b8bc07 Updated Rector to commit d1ed5f03202cb9325f861ac7b8c1976173b45826
d1ed5f0320 [php84] Clean up contains null check type on ExplicitNullableParamTypeRector (#5726)
2024-03-16 08:29:12 +00:00
Tomas Votruba ae50c0e5a3 Updated Rector to commit cdde425c2224a1357d70d6784936fe47fe3ffee0
cdde425c22 [Transform] Adds ArrayDimFetchToMethodCallRector rule (#5723)
2024-03-15 19:25:11 +00:00
Tomas Votruba d3357ab3eb Updated Rector to commit a844e40a3f84f120866198401f9b3640575f7c06
a844e40a3f [Composer] Fix double / on illuminate-container-container-php.patch url on extra:patches config (#5725)
2024-03-15 14:15:54 +00:00
Tomas Votruba c0820093ad Updated Rector to commit ff32c0c08a89f27ea34187d00cf707734a7e39c8
ff32c0c08a [Php84] Add ExplicitNullableParamTypeRector (#5724)
2024-03-15 10:45:55 +00:00
Tomas Votruba edd8901ea0 Updated Rector to commit 23e3da2d6eee90e4f2a31c31062aabaeba77ba69
23e3da2d6e [CodeQuality] Remove BoolvalToTypeCastRector and FloatvalToTypeCastRector as well from code-quality set (#5722)
2024-03-14 20:16:36 +00:00
Tomas Votruba d7faacd4a0 Updated Rector to commit ea0f1c1351b68e3a0863d8460e2abea06099df87
ea0f1c1351 [code-quality] Remove intval/strval from sets, as no clear difference and personal preference (#5721)
2024-03-14 15:05:15 +00:00
Tomas Votruba c59507a909 Rector 1.0.3 2024-03-14 15:04:18 +00:00
Tomas Votruba e293557ea0 Updated Rector to commit b870d8f434c4ff0718c970620285dbb7088c5d86
b870d8f434 Remove --skip-type Rector\Core\Rector\AbstractCollectorRector on composer docs command as no longer exists (#5720)
2024-03-14 08:53:16 +00:00
Tomas Votruba ea97f93f74 Updated Rector to commit fbba8606a56e0643a7b3d1ae9af5fded082eea06
fbba8606a5  [Php80] Skip ObjectType on ChangeSwitchToMatchRector  (#5719)
2024-03-14 08:27:29 +00:00
Tomas Votruba d9fea10f3e Updated Rector to commit d01d16e9d8c7225e5a45cb2534b1b338f93e5740
d01d16e9d8 [CodeQuality] Skip compare string with stringable object on UseIdenticalOverEqualWithSameTypeRector (#5718)
2024-03-14 03:13:41 +00:00
Tomas Votruba 03f122a600 Updated Rector to commit c390eabeb2b2f77f755bfadc1d51b000da0d5ade
c390eabeb2 Skip mixed in ParamTypeByMethodCallTypeRector as not specific (#5715)
2024-03-12 16:22:51 +00:00
Tomas Votruba 4be56b3640 Updated Rector to commit a775c65eeccc0c6ed106adbe836ab114f37c5da4
a775c65eec [CodeQuality] Skip throw after foreach with return in loop on SimplifyForeachToCoalescingRector (#5714)
2024-03-11 11:19:03 +00:00
Tomas Votruba 3e8c19254e Updated Rector to commit 01c460ee526f057b6a4d48835ac19536a857c347
01c460ee52 Clean up skip config on rector.php (#5713)
2024-03-11 05:30:34 +00:00
Tomas Votruba ecd615137e Updated Rector to commit 861a8808e7516c74b7e41a884076eac35f60a14f
861a8808e7 [Php82] Skip usage of already RecursiveDirectoryIterator::SKIP_DOTS on FilesystemIteratorSkipDotsRector (#5712)
2024-03-11 03:08:10 +00:00
Tomas Votruba 7660d5730f Updated Rector to commit 8ade0b9e46aff3e6f755a9561579cdc0c9eb9b0e
8ade0b9e46 [EarlyReturn] Clena up equal node check on IfAndAnalyzer::isIfStmtExprUsedInNextReturn() (#5710)
2024-03-11 02:23:45 +00:00
Tomas Votruba 4026ff15b0 Updated Rector to commit 2adeacc410de9304137574d2e80cf97c9f67dfa5
2adeacc410 [Performance]EarlyReturn] Reduce repetitive findFirst() on IfAndAnalyzer::isIfStmtExprUsedInNextReturn() (#5709)
2024-03-11 02:12:38 +00:00
Tomas Votruba 8201d0fc9b Updated Rector to commit 57894303baab2e24a24387b48c5e94963e78ad26
57894303ba [Performance][CodingStyle] Check public method only for verify override interface (#5708)
2024-03-11 00:12:12 +00:00
Tomas Votruba d8f1371a76 Updated Rector to commit c0be2b455e4c83c3da737969f40f57dc6a7e6320
c0be2b455e [CodingStyle] Skip implements interface on MakeInheritedMethodVisibilitySameAsParentRector (#5707)
2024-03-10 23:50:43 +00:00
Tomas Votruba 0b4029ea85 Updated Rector to commit bdc09071abc58550a41fdd8a4af515206e022f4c
bdc09071ab fix: Strip left spaces from opening tags when comparing output for changes (#5701)
2024-03-10 09:23:51 +00:00
Tomas Votruba 2ede0d9e01 Updated Rector to commit e4b6ee63140c90c18f1fa51156ccffa569f1062c
e4b6ee6314 [automated] Apply Coding Standard (#5706)
2024-03-10 00:29:37 +00:00
Tomas Votruba d018e755ec Updated Rector to commit 569b9199017e5e09715acf406df15dc6175d9cc1
569b919901 [automated] Re-Generate Nodes/Rectors Documentation (#5705)
2024-03-10 00:28:56 +00:00
Tomas Votruba 309ceb4ee6 Updated Rector to commit 3d02e3ec8f3a7d03adc3f23c315e57850dc8379a
3d02e3ec8f  [CodeQuality] Skip sort/ksort on TernaryFalseExpressionToIfRector  (#5703)
2024-03-09 13:24:41 +00:00
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 2e30301381 Updated Rector to commit 13bafcba1524782c349fe6523ce9c18d0f765452
13bafcba15 [Php72][TypeDeclaration] Fix infinite loop on ParseStrWithResultArgumentRector+DeclareStrictTypesRector (#5699)
2024-03-07 21:09:46 +00:00
Tomas Votruba a9ac2b236c Updated Rector to commit 62254600d1d3f036ae3e9c502613c4ac96a8b71b
62254600d1 [CodeQuality] Add support for compare $this::class compare with string on UseIdenticalOverEqualWithSameTypeRector (#5698)
2024-03-07 16:34:25 +00:00
Tomas Votruba a49cabd869 Updated Rector to commit 4a1880bd2976e3cda6db8b1ca27c44c2c933b9e4
4a1880bd29 [CodeQuality] Add Equal and NotEqual support on SimplifyIfReturnBoolRector (#5697)
2024-03-07 13:46:36 +00:00
Tomas Votruba 7da00fc128 Updated Rector to commit 750713625e27e07175e4c7144802fb623422c036
750713625e Add dump_node() helper function (#5696)
2024-03-06 20:55:59 +00:00
Tomas Votruba 5cc97f5690 Updated Rector to commit 643814dc92ceacb159adbac79c1ab6fb6e5cc2ee
643814dc92 [TypeDeclaration] Add ChildDoctrineRepositoryClassTypeRector (#5695)
2024-03-06 20:37:05 +00:00
Tomas Votruba bd3297e237 Updated Rector to commit 84639e6aa9c5daa4958121e9aa19e36b5b6bb9b6
84639e6aa9 [Php83] Add support +/- value on constant on AddTypeToConstRector (#5694)
2024-03-05 22:49:19 +00:00
Tomas Votruba daa84a6ddf Updated Rector to commit 10c7bc6a4114dddde311e49efcd9c441ea92babc
10c7bc6a41 [Performance][Php81] Ensure check readonly on param only on __construct() method (#5693)
2024-03-05 11:36:28 +00:00
Tomas Votruba ae1f64a7a0 Updated Rector to commit e29b97e4b5d6dd5a0c5ee442067cb52f7dbb7f25
e29b97e4b5  [Php81] Handle with attribute on ReadOnlyPropertyRector on property promotion (#5692)
2024-03-05 11:28:48 +00:00
Tomas Votruba b05ad66b87 Updated Rector to commit 104f656edd312203d24db4cbe60bd54b78c421f8
104f656edd [Performance] [TypeDeclaration] No need check parent method when method is private on AddVoidReturnTypeWhereNoReturnRector (#5690)
2024-03-05 01:17:56 +00:00
Tomas Votruba de9745c9cb Updated Rector to commit 7f9113531a256794a5e598663644897ba108d9a2
7f9113531a [Php80] Fix typo class name: DoctrineCoverterterAttributeDecorator -> DoctrineConverterAttributeDecorator (#5689)
2024-03-04 22:12:31 +00:00
Tomas Votruba bd2820567f Updated Rector to commit 8c52d614891043c1310fb120e0871b4183a33a53
8c52d61489 [CodingStyle] Skip anonymous class on MakeInheritedMethodVisibilitySameAsParentRector (#5688)
2024-03-04 21:33:44 +00:00
Tomas Votruba 9c449858d7 Updated Rector to commit 7df4894bc7bd1bec704f8e428efb768d101e8984
7df4894bc7 [Performance][DeadCode] Early check has private methods before find() on dynamic call checks on RemoveUnusedPrivateMethodRector (#5687)
2024-03-04 17:14:34 +00:00
Tomas Votruba 6fc08102f7 Updated Rector to commit b4212ed99d3aadc3ce6371c984b644b54252752e
b4212ed99d [Performance] Combine repetitive find() usage on RemoveUnusedVariableAssignRector (#5686)
2024-03-04 14:03:11 +00:00
Tomas Votruba 4fdf5d4ab4 Updated Rector to commit b523b734e052b47d756330e7deeaa68372fbd494
b523b734e0 [Configuration] Fix parallel config always replaced by next config per-default true (#5683)
2024-03-03 20:46:43 +00:00
Tomas Votruba 7596fa6da0 Rector 1.0.2 2024-03-03 12:32:31 +00:00
Tomas Votruba 3a69e0ff7b Updated Rector to commit 1ae68446ee021d88238f915bc06201559a0ec82d
1ae68446ee Update README to use the new config syntax (#5674)
2024-03-03 02:43:03 +00:00
Tomas Votruba 769ac36c32 Updated Rector to commit 1cd83bef6196e8b8913d2252a6c8a826bafcf62a
1cd83bef61 [CodeQuality] Handle array destructuring of unpack on ArrayMergeOfNonArraysToSimpleArrayRector (#5682)
2024-03-03 02:33:19 +00:00
Tomas Votruba c34bb45766 Updated Rector to commit 2846b015388fb1eb6d65941481fe9340908c1f79
2846b01538 [CodeQuality] Skip combine var with property fetch on InlineArrayReturnAssignRector (#5681)
2024-03-03 02:19:56 +00:00
Tomas Votruba 659d1a42fb Updated Rector to commit c591bd291650ab22554ffd819e76d01a1a405719
c591bd2916  [CodeQuality] Skip nested array on InlineArrayReturnAssignRector  (#5680)
2024-03-03 02:09:46 +00:00
Tomas Votruba 1dbac6e2a3 Updated Rector to commit ce70534b3c8406164f630acbe6c7a1b18623d757
ce70534b3c Fix duplicated fixture class name on StaticToSelfStaticMethodCallOnFinalClassRector test (#5679)
2024-03-03 01:08:26 +00:00
Tomas Votruba 6986e1fbdb Updated Rector to commit c9fe3caacced982e1c21d7203e9ea0f1bb2092c8
c9fe3caacc [Transform] Allow transform phpVersion() to withPhpVersion() on RectorConfigBuilderRector (#5678)
2024-03-03 01:03:16 +00:00