Commit Graph

1140 Commits

Author SHA1 Message Date
Tomas Votruba dcdff77130 Updated Rector to commit 8371040f72445fda4e96f29783b5de5351524c8a
8371040f72 [TypeDeclaration] Handle array with index assigned on TypedPropertyFromAssignsRector (#5861)
2024-05-08 13:00:27 +00:00
Tomas Votruba 12c115e6f6 Updated Rector to commit 5193d43b644f9d059d9964ebcc6820181a7bca18
5193d43b64 [NodeTypeResolver] Remove unnecessary loop SourceLocator collection on DynamicSourceLocatorProvider (#5852)
2024-05-02 02:21:56 +00:00
Tomas Votruba 78e3d54584 Updated Rector to commit 57275efac450b9b0466e9dc934d3c07e2e9a1e43
57275efac4 [TypeDeclarations] Add IncreaseDeclareStrictTypesRector to raise level of declare() coverage (#5849)
2024-04-30 13:26:50 +00:00
Tomas Votruba e56fb5adb0 Updated Rector to commit 1bbb3faaed01bd234f8e53564d1686529551e75a
1bbb3faaed [TypeDeclaration] Skip maybe not returned on while on ReturnUnionTypeRector (#5812)
2024-04-08 13:19:12 +00:00
Tomas Votruba 415f0bbf34 Updated Rector to commit 54e2e110d506d6e06e45cb808ce87824306ddd4f
54e2e110d5 [CodeQuality] Skip while(true) always returned on ExplicitReturnNullRector (#5810)
2024-04-08 12:23:14 +00:00
Tomas Votruba 8fba5b95f7 Updated Rector to commit b292010edec6f45b5a48d1f001edce95e05162f3
b292010ede [Performance][TypeDeclaration] Avoid double loop on SilentVoidResolver use NeverFuncCallAnalyzer (#5809)
2024-04-08 09:44:15 +00:00
Tomas Votruba 53fb366ec6 Updated Rector to commit 9939ced45eb3479a1d8b2b9339512398118b92d9
9939ced45e [CodeQuality] Skip never type on default switch on ExplicitReturnNullRector (#5808)
2024-04-08 09:20:15 +00:00
Tomas Votruba 6fb3352189 Updated Rector to commit 690fe892750028e239a01f1b13cd252359994522
690fe89275 [CodeQuality] Skip Always return in try catch with finally on ExplicitReturnNullRector (#5807)
2024-04-07 09:15:50 +00:00
Tomas Votruba f81fa92915 Updated Rector to commit a43f37190db97fb8807cb08f4e7171a338625387
a43f37190d [CodeQuality] Handle Switch maybe return on ExplicitReturnNullRector (#5801)
2024-04-03 15:10:32 +00:00
Tomas Votruba b352c8473a Updated Rector to commit 0348124a5535b99712da4debc136d2e73647b97a
0348124a55 [CodeQuality] Skip Switch_ always returned on ExplicitReturnNullRector (#5800)
2024-04-03 14:17:43 +00:00
Tomas Votruba dc2205094c Updated Rector to commit 724899c28307e4cb1f8a7366ebb76756430da754
724899c283 [TypeDeclaration] Do not use Required::class reference on AutowiredClassMethodOrPropertyAnalyzer (#5788)
2024-04-01 17:58:30 +00:00
Tomas Votruba 664f4e3a6b Updated Rector to commit 0f1987b0faa8dc1c5e086c9b95457d6018b2cd82
0f1987b0fa Adds a link to the PHP Static Analysis Attributes rector rules (#5787)
2024-04-01 16:51:34 +00:00
Tomas Votruba 755e0f4a8c Updated Rector to commit 35c1bf45b0bed6351e0db6e3a44a452f3713b155
35c1bf45b0 [TypeDeclaration] Handle with inner function on AddParamTypeBasedOnPHPUnitDataProviderRector (#5786)
2024-03-31 20:47:44 +00:00
Tomas Votruba 9369a862b6 Updated Rector to commit d86930657fc80c2db725391d1bb8f3ad6a61d96a
d86930657f [TypeDeclaration] Handle in inner function on ReturnTypeFromStrictTernaryRector (#5785)
2024-03-31 19:48:39 +00:00
Tomas Votruba 9b731daab1 Updated Rector to commit 4c40eb60ca984574eea3fa75e8ac59e9c8e07e5e
4c40eb60ca [TypeDeclaration] Handle initialized on getter on ReturnTypeFromStrictTypedPropertyRector (#5784)
2024-03-31 19:07:37 +00:00
Tomas Votruba 4c2b400cdb Updated Rector to commit ff0705b18b7f2e8e7e9062d0d4fd87a4c5c1b20e
ff0705b18b [CodeQuality] Add Goto_ possible return null on SilentVoidResolver under Do_ (#5773)
2024-03-25 15:52:31 +00:00
Tomas Votruba cc37bbf217 Updated Rector to commit 82d71724f2e2fff036a859e3fe2589fa82adb633
82d71724f2 [TypeDeclaration] Ensure always return with Expr on maybe continued in next stmt on SilentVoidResolver (#5771)
2024-03-25 08:45:48 +00:00
Tomas Votruba 52addb1dde Updated Rector to commit 879feb8931f1465fa463d539e9ce99ebfae4e948
879feb8931 [CodeQuality] Handle do { } while maybe returned on ExplicitReturnNullRector (#5766)
2024-03-23 20:33:11 +00:00
Tomas Votruba 74b8ed7cd4 Updated Rector to commit cae06912ed7d7274d900fdc996448f100be2ed34
cae06912ed [CodeQuality] Skip do { } while always returned on ExplicitReturnNullRector (#5760)
2024-03-23 05:12:50 +00:00
Tomas Votruba e6bfc79aa2 Updated Rector to commit 8874f25347004e0c19043e8b97b69470193f0941
8874f25347 [CodeQuality] Move Yield_ and YieldFrom check to SilentVoidResolver (#5759)
2024-03-22 20:34:36 +00:00
Tomas Votruba dd51f7ceed Updated Rector to commit 32bf5c7e7a8da2100f12cbef185c958655d4292d
32bf5c7e7a [CodeQuality] Skip if else return on ExplicitReturnNullRector (#5755)
2024-03-22 16:53:50 +00:00
Tomas Votruba 00697fa4b6 Updated Rector to commit 0c177409ed477e978433597639335fb2a78bc331
0c177409ed Add support for getOneOrNullResult() method in ChildDoctrineRepositoryClassTypeRector (#5747)
2024-03-21 10:03:58 +00:00
Tomas Votruba 817ab2f7cb Updated Rector to commit f4070bb2b2f5c8f7a11063ce35549364c437a9cf
f4070bb2b2 Fix ChildDoctrineRepositoryClassTypeRector for generic type (#5746)
2024-03-21 09:55:11 +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 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 5cc97f5690 Updated Rector to commit 643814dc92ceacb159adbac79c1ab6fb6e5cc2ee
643814dc92 [TypeDeclaration] Add ChildDoctrineRepositoryClassTypeRector (#5695)
2024-03-06 20:37:05 +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 3240f9e962 Updated Rector to commit 58abec4c5663a5d92ac6cd0a2eef6aace80ab408
58abec4c56 [automated] Apply Coding Standard (#5665)
2024-02-25 00:28:21 +00:00
Tomas Votruba 5c2a81061c Updated Rector to commit 18a8aecd13cbe87766c38de95dcba08673493d3a
18a8aecd13 [TypeDeclaration] Adds AddParamTypeForFunctionLikeWithinCallLikeArgDeclarationRector rule (#5547)
2024-02-22 09:09:42 +00:00
Tomas Votruba adbf03fcec Updated Rector to commit f9b3312035a4e5baee7105b19715d057587e1f59
f9b3312035 [TypeDeclaration] Include MockObject&ClassName docblock with IntersectionTypeNode on TypedPropertyFromStrictSetUpRector (#5655)
2024-02-22 08:46:08 +00:00
Tomas Votruba e8568e6d97 Updated Rector to commit 8038ee15844b7753e5698bd42b62669d9ebca12b
8038ee1584 [TypeDeclaration] Skip possible returns false on ReturnTypeFromStrictNewArrayRector (#5654)
2024-02-21 20:27:59 +00:00
Tomas Votruba 9ae89c0674 Updated Rector to commit 6095e3216f057fbf8dded18cf982bfab034f8086
6095e3216f  [TypeDeclaration] Allow abs() to return int when pass int arg on ReturnTypeFromStrictTypedCallRector (#5653)
2024-02-21 19:55:12 +00:00
Tomas Votruba 283153802a Updated Rector to commit 99a79f8df18f4202f7c939b7996b9714abb78fe4
99a79f8df1 [TypeDeclaration] Fix abs() returns on ReturnTypeFromStrictTypedCallRector (#5652)
2024-02-21 16:18:55 +00:00
Tomas Votruba f863e8b003 Updated Rector to commit 7de77e518f7b47b7c7ba0d96152d4acdad958639
7de77e518f [TypeDeclaration] Add AddTestsVoidReturnTypeWhereNoReturnRector (#5611)
2024-02-12 22:55:41 +00:00
Tomas Votruba 428336c22c Updated Rector to commit 09398c3d4f07bb6ad664a55b87cab955278a467e
09398c3d4f Decouple AddFunctionVoidReturnTypeWhereNoReturnRector to allow leveling by simple node first (#5563)
2024-02-05 16:07:43 +00:00
Tomas Votruba d00ebb838c Updated Rector to commit 56c250771518c2aa2e17bc64c9986c2dbe9b6fd8
56c2507715 Decouple AddClosureVoidReturnTypeWhereNoReturnRector to allow leveling by simple node first (#5562)
2024-02-05 15:56:19 +00:00
Tomas Votruba e394be7dd2 Updated Rector to commit 2dd395167cdc146a1b566bae9c5c2f2885e55c16
2dd395167c [TypeDeclaration] Skip assign in construct with method call property same name on RestoreDefaultNullToNullableTypePropertyRector (#5556)
2024-02-04 20:46:49 +00:00
Tomas Votruba 59f9eb1491 Updated Rector to commit 715103cdf1ecad0b4668f3b9e38582b3e5b55fbe
715103cdf1 Add support for YieldFrom into places where Yield_ is checked (#5499)
2024-02-03 22:50:20 +00:00
Tomas Votruba 5c93328f48 Updated Rector to commit cdc57233696fd680c8ebe3040b02c54d1da9c779
cdc5723369 [TypeDeclaration] Change bool to false or true docblock when union has false/true standalone type on ReturnUnionTypeRector (#5543)
2024-02-02 06:45:48 +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 e377d35b97 Updated Rector to commit 2efd564640e94edf09f95f3872adb11e059f5fb8
2efd564640 [stabilize] Deprecate FinalizePublicClassConstantRector as not reliable and causes uncontroller changed (#5534)
2024-01-31 14:27:18 +00:00
Tomas Votruba aace6ea006 Updated Rector to commit 7294e98a19531d580c3ba901c147ea0a52282595
7294e98a19 Fix AddMethodCallBasedStrictParamTypeRector if already has a type (#5530)
2024-01-30 23:57:24 +00:00
Tomas Votruba c36d19ef56 Updated Rector to commit aa66151ff14da601b4b155f4a876ad2a2070259c
aa66151ff1 [Performance] Remove unnecessary FunctionLikeParamPositionNodeVisitor (#5491)
2024-01-22 14:26:31 +00:00
Tomas Votruba 455fba49f9 Updated Rector to commit 9d310ce5daca61f51f35e3c8755a442998f1c536
9d310ce5da Skip null type in ReturnTypeFromStrictScalarReturnExprRector as often not desired (#5462)
2024-01-13 09:43:24 +00:00
Tomas Votruba 29eada363c Updated Rector to commit d3791938add9fe1faddfd404ab76183235c1df2f
d3791938ad [automated] Apply Coding Standard (#5440)
2024-01-07 00:31:04 +00:00
Tomas Votruba 3c0a61462c Updated Rector to commit 9a794f4ac4a100c1bffbf6af5a0c15f9628f3b90
9a794f4ac4 [TypeDeclaration] Handle with default null on ParamTypeByMethodCallTypeRector (#5437)
2024-01-06 06:01:40 +00:00
Tomas Votruba 2b45fbe814 Updated Rector to commit 3d71ae36b00e22fb5430e1812af95182c0e58904
3d71ae36b0 [TypeDeclaration] Skip re-assign with call and use as arg on StrictArrayParamDimFetchRector (#5434)
2024-01-05 13:43:19 +00:00
Tomas Votruba b433dedda4 Updated Rector to commit d4f6b91f922bd52289d923aff07691d07e455cb1
d4f6b91f92 [TypeDeclaration] Allow both integer and string index array on StrictArrayParamDimFetchRector (#5433)
2024-01-05 13:13:40 +00:00
Tomas Votruba feacfd524a Updated Rector to commit 971571be0cbcc21f1d6c7861c17423aef053b499
971571be0c [TypeDeclaration] Skip with empty() check on StrictArrayParamDimFetchRector (#5432)
2024-01-05 12:46:00 +00:00