5438 Commits

Author SHA1 Message Date
Tomas Votruba
a210f202ea Updated Rector to commit 5c30f2491c3fb03ff38fbc524a02b9baa2e3f96c
5c30f2491c [Performance] Reduce double traverse on AddNeverReturnType (#6305)
2024-09-15 01:23:46 +00:00
Tomas Votruba
056f7047c7 Updated Rector to commit 5da2f3302522508e64b7b74e649f06e45f7b70db
5da2f33025 [TypeDeclaration] Clean up never type check on AddNeverReturnType (#6304)
2024-09-15 01:15:15 +00:00
Tomas Votruba
eb623ce3a0 Updated Rector to commit 7f9c6b0f0a2f6093c3da6b7d1326c4add4e7040f
7f9c6b0f0a [TypeDeclaration] Convert inline @var tag to assert() (#6300)
2024-09-13 07:50:10 +00:00
Tomas Votruba
7d52cf2cdd Updated Rector to commit 1ebb7aa29bfff54059d455ee6f908fa47a7416c3
1ebb7aa29b [CodeQuality] Allow transform static to self on final class on ConvertStaticPrivateConstantToSelfRector (#6295)
2024-09-08 10:53:32 +00:00
Tomas Votruba
4cbb79dc5f Updated Rector to commit feaf6eae6b9a765fe229d65a9ba07c5715649dee
feaf6eae6b Update incorrect configuration example (#6294)
2024-09-06 12:11:39 +00:00
Tomas Votruba
1e876747d5 Updated Rector to commit cb96062f3cd5891fd89b419eebdd762061e82f85
cb96062f3c Clean up UseImportsTraverser (#6291)
2024-09-05 22:11:12 +00:00
Tomas Votruba
41a5fd7eb0 Updated Rector to commit e2b96d4f6efda2db3bf6a1074b67fcf2439e848d
e2b96d4f6e Ensure same behaviour as before on UseImportsTraverser (#6290)
2024-09-05 21:45:45 +00:00
Tomas Votruba
93c6ecf140 Updated Rector to commit 246de2dd9f7ce39e4ff94de0d36307e4fc8067b5
246de2dd9f [Performance] Remove unnecessary usage of SimpleCallableNodeTraverser on UseImportsTraverser (#6288)
2024-09-05 21:19:51 +00:00
Tomas Votruba
9fd26b514b Updated Rector to commit 1c20d81c56a0ec9cb7663421add2bd1004278370
1c20d81c56 Bump to PHPStan 1.12.2 and Fix test (#6289)
2024-09-05 21:15:47 +00:00
Tomas Votruba
e7b61135b9 Updated Rector to commit 340e5226000cba351cc282ca572af6f76418e1bd
340e522600 [deprecated] Remove deprecated closure return rules, return type from strict bool/scalar returns (#6287)
2024-09-04 08:17:49 +00:00
Tomas Votruba
f5ea40a973 Updated Rector to commit 97eb222b6b3954419bc6e22d9640859e97934c4d
97eb222b6b [DX] Type of class method/class const cannot be checked, use Class_ instead (#6281)
2024-09-02 11:00:48 +00:00
Tomas Votruba
86066d948c Updated Rector to commit 9da99ea4370a4c11d5df2aa7af7de4cde129c626
9da99ea437 [deprecations] Remove deprecated GetClassToInstanceOfRector, UseIncrementAssignRector, DetectNodeCommand (#6278)
2024-09-02 09:55:41 +00:00
Tomas Votruba
3936c30c7e Updated Rector to commit 3aa886f88d54d440d107577996d65cd968c0c8b0
3aa886f88d [deprecated] Remove deprecated ChangeAndIfToEarlyReturnRector, CallableThisArrayToAnonymousFunctionRector + casting rules (#6276)
2024-09-02 08:07:01 +00:00
Tomas Votruba
ddcb4cdfc9 Updated Rector to commit 96b585bd2640cb09ef79271907f444f3218c42b2
96b585bd26 Adds AddClosureParamTypeFromObjectRector (#6265)
2024-09-01 12:00:53 +00:00
Tomas Votruba
1bad941971 Updated Rector to commit 03ea9b2c4e823b6b9800c2de052193326ebb2027
03ea9b2c4e [ReturnTypeInferer] Drop this/static docblock type check on ReturnTypeInferer (#6270)
2024-09-01 06:42:32 +00:00
Tomas Votruba
17e003bf59 Updated Rector to commit 1eb04d6fae817aa0bd79d8606724d5eddd2f54df
1eb04d6fae [automated] Apply Coding Standard (#6269)
2024-09-01 00:38:01 +00:00
Tomas Votruba
71850def81 Updated Rector to commit 4eacb1ccc94f378eec0f3a08dbd8c90935d8d248
4eacb1ccc9 [automated] Re-Generate preload.php (#6268)
2024-09-01 00:37:22 +00:00
Tomas Votruba
2d115a2c54 Updated Rector to commit b2213fdb4431413ab027e9f83ffb97e0cb8d838f
b2213fdb44 [Refactor] Move bloated logic on NameImportingPostRector into ClassNameImportSkipper and NameImporter (#6267)
2024-08-31 11:36:27 +00:00
Tomas Votruba
f85eb3d810 Updated Rector to commit fd4f6d037b20c9b02fa83c98c4fb1524c7374196
fd4f6d037b [AutoImport] Skip auto import conflict aliased on no namespace (#6266)
2024-08-30 06:37:33 +00:00
Tomas Votruba
6d509ddbaa Updated Rector to commit 8073ee7922196df0941dafa3a90542776d710f5a
8073ee7922 remove arg positoin from AddClosureParamTypeFromArg, to ease configuration (#6260)
2024-08-27 19:33:04 +00:00
Tomas Votruba
c68e300f06 Updated Rector to commit b2b18abd7e5896611ba96130bcc8372d7e91a784
b2b18abd7e Tidy up (#6259)
2024-08-27 11:18:26 +00:00
Tomas Votruba
78795796cc Updated Rector to commit dc3850fead456e00bfe3fcbffb42beee70cc2893
dc3850fead [TypeDeclaration] Adds AddClosureParamTypeFromArgRector (#6258)
2024-08-27 10:29:31 +00:00
Tomas Votruba
39f50ae035 Updated Rector to commit db11aa556ff2cd07f2c63bbbe42441b273f99cda
db11aa556f [Performance] [TypeDeclaration] Reduce double traverse on SilentVoidResolver::hasExclusiveVoid() (#6255)
2024-08-25 12:10:32 +00:00
Tomas Votruba
5ffac169d7 Updated Rector to commit 1884cdd170c8a1f9580dea448fc79ede3e7e9802
1884cdd170 Skip Columns from TypedPropertyFromAssignsRector, as handled better in doctrine rules (#6254)
2024-08-23 08:38:17 +00:00
Tomas Votruba
85974b8979 Updated Rector to commit c9470e4aa3fe841a40b4b92e3c351a84ad9d7dc4
c9470e4aa3 Skip Doctrine collections in TypedPropertyFromAssignsRector (#6253)
2024-08-23 08:00:31 +00:00
Tomas Votruba
e2ba97a9f4 Updated Rector to commit 2891d15d933ec11f741a1c88139165b42987c940
2891d15d93 [Php84] Do not reprint node type on ExplicitNullableParamTypeRector (#6250)
2024-08-22 16:55:11 +00:00
Tomas Votruba
dc2d69aa43 Updated Rector to commit 4f89b7498e7bfb7dccc8872e042fcbc3a687a7f1
4f89b7498e [AttributeKey] Drop virtual_node attribute (#6239)
2024-08-22 08:56:01 +00:00
Tomas Votruba
082c3ba4ca Updated Rector to commit c3f5cbca9f9c79f66f2a35accdd480875e62cf20
c3f5cbca9f [Php70] Fix with \r\n on EregToPregMatchRector (#6246)
2024-08-21 07:42:47 +00:00
Tomas Votruba
ff383da894 Updated Rector to commit fc1e742fa4d9861ccdc5933f3b53613b8223438d
fc1e742fa4 Deprecate PublicConstantVisibilityRector, as adds public blindly everywhere; use scope-based approach instead (#6238)
2024-08-16 23:17:37 +00:00
Tomas Votruba
c5919c93d6 Updated Rector to commit 3ed476b9ab65958d85416e48a810b11dbaf4283a
3ed476b9ab [TypeDeclaration] Add AddReturnArrayDocblockBasedOnArrayMapRector (#6235)
2024-08-14 22:29:38 +00:00
Tomas Votruba
86cae8066f Updated Rector to commit fdd7f638a6e1f4d7ebf244f5827acdb687f14b3c
fdd7f638a6 [TypeDeclaration] Add AddParamArrayDocblockBasedOnCallableNativeFuncCallRector (#6233)
2024-08-14 18:24:06 +00:00
Tomas Votruba
c5e99b8f73 Updated Rector to commit e09d82c508da47d736599a57f3a02cae48979027
e09d82c508 Fix PropertyTypeFromStrictSetterGetterRector for default null (#6231)
2024-08-12 21:40:08 +00:00
Tomas Votruba
67ca1f4e40 Updated Rector to commit e4ceb29d6e8fa02a4519ae35ab38eda2e622f7e1
e4ceb29d6e Adds the ScalarValueToConstFetchRector rule (#6195)
2024-08-12 21:02:44 +00:00
Tomas Votruba
267b6cc081 Updated Rector to commit 24fb5874905da56065ef38d9cfe9bff77cb04cac
24fb587490 [TypeDeclaration] Skip isset and empty with index on param variable on StrictArrayParamDimFetchRector (#6227)
2024-08-12 15:02:53 +00:00
Tomas Votruba
d40c7c4301 Updated Rector to commit e4708c58a4ddb167511d61dff636d9edcdd0e805
e4708c58a4 [CodeQuality] Ensure check native array type on Foreach* rules (#6222)
2024-08-06 14:21:15 +00:00
Tomas Votruba
c050377f96 Updated Rector to commit 69a3e31e443dc9610e675ee2ac380cd8f6581a4c
69a3e31e44  [CodeQuality] Skip Generator on SimplifyForeachToCoalescingRector  (#6221)
2024-08-06 13:55:04 +00:00
Tomas Votruba
9005492a19 Updated Rector to commit 0f09b7a0b9f9f3a445a8c4014c8d951579d1de03
0f09b7a0b9 [Php71] Clean up unnecessary ++$key on MultiExceptionCatchRector (#6219)
2024-08-06 11:31:04 +00:00
Tomas Votruba
133d2994dc Updated Rector to commit 60251725f66909f09ab0e52cf60a3b0f9dcb66e6
60251725f6 [Php71] Allow multiple same catches on MultiExceptionCatchRector (#6218)
2024-08-06 10:49:24 +00:00
Tomas Votruba
befbb6072a Updated Rector to commit 0632b44293d1917d06254b4f606076a443514fb0
0632b44293 Merge only if one item follow next to avoid skipping a type in MultiExceptionCatchRector (#6216)
2024-08-06 09:22:05 +00:00
Tomas Votruba
ea37cb5b5e Updated Rector to commit 7f0688c1e4b5aaa6d75cbc458db35b4b6988f9c0
7f0688c1e4 Add withRealPathReporting() to allow real paths in output formatters (#6187)
2024-08-05 20:48:53 +00:00
Tomas Votruba
4e0154b92e Updated Rector to commit 75ce1aca7497254aca3c9eb1f3d694d260187f2c
75ce1aca74 [automated] Re-Generate Nodes/Rectors Documentation (#6214)
2024-08-04 00:33:23 +00:00
Tomas Votruba
2db99e8534 Updated Rector to commit c62c1dea338589bcc3aa96b50bcabade2d470483
c62c1dea33 [automated] Apply Coding Standard (#6215)
2024-08-04 00:33:20 +00:00
Tomas Votruba
16fc59838c Updated Rector to commit 1331f9792c0b14488fe66ef140145ac331956b6f
1331f9792c [Php54] No need reprint when array is just created on LongArrayToShortArrayRector (#6206)
2024-08-01 08:13:27 +00:00
Tomas Votruba
7aeb17c570 Updated Rector to commit ad36316e98182d42006195f66b2f3942639b97b9
ad36316e98 Rectify and clean up skip config (#6205)
2024-08-01 07:43:24 +00:00
Tomas Votruba
baf6792e1e Updated Rector to commit 71ae13a461e3225c63d095597a4145d8851d555e
71ae13a461 Carbon use parse method (#6183)
2024-07-31 15:16:44 +00:00
Tomas Votruba
5517856324 Updated Rector to commit 97653a96da462aecddd02306557e811ccc38d6cb
97653a96da Skip only response inside controller class (#6204)
2024-07-30 13:32:12 +00:00
Tomas Votruba
ae375d0a10 Updated Rector to commit b0e4e23553ceee726012abc900c532c91e049e3b
b0e4e23553 Skip symfony response in ReturnTypeFromReturnNewRector (#6202)
2024-07-30 12:15:56 +00:00
Tomas Votruba
8c20f42cfe Updated Rector to commit ed6b9124d64a80b10e6e81153353b8e59cd1d8e1
ed6b9124d6 Use instanceof check (#6200)
2024-07-30 10:04:00 +00:00
Tomas Votruba
608879e768 Updated Rector to commit 7d6b6ed95f9c6c4731a0915f9624ec342548de65
7d6b6ed95f [AutoImport] Add new line for add use statement if next first stmt is not Use_ or GroupUse (#6194)
2024-07-27 07:38:48 +00:00
Tomas Votruba
19fc78b91d Updated Rector to commit 1aef75583cc0c1314f151c24fac27e7af69e7d7d
1aef75583c [TypeDeclaration] Clean up get ClassReflection on loop on TypedPropertyFromCreateMockAssignRector (#6181)
2024-07-24 07:51:04 +00:00