Commit Graph

16041 Commits

Author SHA1 Message Date
Tomas Votruba 1ba4e98604 Updated Rector to commit a73aa4e226b74463ba3025dfe3e8bf11bb07a953
a73aa4e226 [Performance] Reduce resolveClassReflection() on PrivatizeFinalClassPropertyRector (#3994)
2023-05-27 15:56:25 +00:00
Tomas Votruba ea8041895c Updated Rector to commit ebe2a37fe2c0c387e655259548ab7a6f76b3f298
ebe2a37fe2 [Php74][Privatization] Refactor ParentPropertyLookupGuard to use ClassReflection to reduce IO (#3993)
2023-05-27 15:46:25 +00:00
Tomas Votruba 88a00032b7 Updated Rector to commit 754fca568f1d19b792bd5ccd476d10c675ba77f3
754fca568f [Php74] Remove parent attribute on PropertyTypeChangeGuard (#3992)
2023-05-27 12:07:30 +00:00
Tomas Votruba 3ab41786d6 Updated Rector to commit f9f1c269c7cfb02b3a78efca476cb2f189fbb33c
f9f1c269c7 [Php81] Add  flag to only return node on changed params on NewInInitializerRector (#3991)
2023-05-27 11:23:52 +00:00
Tomas Votruba ffca1acc2d Updated Rector to commit e8151293d5a25a776c73dd73eeed461c26dc7e6b
e8151293d5 Remove PARENT_NODE from CatchExceptionNameMatchingTypeRector (#3990)
2023-05-27 10:47:14 +00:00
Tomas Votruba 0256872962 Updated Rector to commit fdf11bab10f9e7e1d63b4e0dba1325b947391e5d
fdf11bab10 Refactor PARENT_NODE from StringClassNameToClassConstantRector (#3989)
2023-05-27 10:40:14 +00:00
Tomas Votruba d48ca72a44 Updated Rector to commit d9908088500d235348a84de13f96823bc03b4706
d990808850 Remove PARENT_NODE from PseudoNamespaceToNamespaceRector (#3988)
2023-05-27 10:31:41 +00:00
Tomas Votruba 3305b77873 Updated Rector to commit 61d780b7491001fa13597795320c9e92f893c50d
61d780b749 add symfony contracts for trigger_deprecation function (#3987)
2023-05-27 10:19:41 +00:00
Tomas Votruba c613309b06 Updated Rector to commit 1e0a1ceb897de085e3b8a68fbf88b4028d2064b0
1e0a1ceb89 Return nodes directly in MoneyFormatToNumberFormatRector (#3986)
2023-05-27 10:18:32 +00:00
Tomas Votruba 466c54de06 Updated Rector to commit 582af523662c9aac2603a1535d58fc932ab1c330
582af52366 Refactor PARENT_NODE from ChangeAndIfToEarlyReturnRector (#3985)
2023-05-27 09:52:50 +00:00
Tomas Votruba 4af8e96d37 Updated Rector to commit 330e1c5845ca7a569840384fa6eb3e730e13df71
330e1c5845 Update dependencies (#3984)
2023-05-27 09:31:07 +00:00
Tomas Votruba eb19a0084e Updated Rector to commit 18d8df639c4376c2784a585eb5deafeda971597e
18d8df639c Refactor away PARENT_NODE from AssignArrayToStringRector (#3983)
2023-05-27 09:26:50 +00:00
Tomas Votruba 2774b5f9dd Updated Rector to commit c70a5b8fdbbb3306603c67a972265872eaa3da2b
c70a5b8fdb Refactor away from PARENT_NODE in ListToArrayDestructRector (#3982)
2023-05-27 08:27:32 +00:00
Tomas Votruba f8cd68d049 Updated Rector to commit 0f412e7961d9c00f47185bd8ed235db950f2d3eb
0f412e7961 handle nested ternary have last and start with () (#3981)
2023-05-27 03:12:54 +00:00
Tomas Votruba d9bf6b5c97 Updated Rector to commit 0f412e7961d9c00f47185bd8ed235db950f2d3eb
0f412e7961 handle nested ternary have last and start with () (#3981)
2023-05-27 03:07:15 +00:00
Tomas Votruba c9d2c84bc5 Updated Rector to commit 385a9cb5f1235808c7226c2efccdc10fc6de6542
385a9cb5f1 [Php74] Skip parenthesize ternary if on ParenthesizeNestedTernaryRector (#3980)
2023-05-27 00:03:37 +00:00
Tomas Votruba 3267b9499d Updated Rector to commit 385a9cb5f1235808c7226c2efccdc10fc6de6542
385a9cb5f1 [Php74] Skip parenthesize ternary if on ParenthesizeNestedTernaryRector (#3980)
2023-05-26 23:56:10 +00:00
Tomas Votruba d3dfbb4638 Updated Rector to commit 2f84187dc1d6db09788adf8346339d6854902db5
2f84187dc1 Remove RenameNamespaceRector, better handle by IDE or explicit RenameClassRector (#3979)
2023-05-26 21:28:23 +00:00
Tomas Votruba 0d04da1bab Updated Rector to commit 33d05d3b9ee7838d254edf58dbd05a355891b48b
33d05d3b9e Refactor RenameVariableToMatchMethodCallReturnTypeRector to StmtsAwareInterface (#3977)
2023-05-26 16:04:15 +00:00
Tomas Votruba d8c877db45 Updated Rector to commit 33d05d3b9ee7838d254edf58dbd05a355891b48b
33d05d3b9e Refactor RenameVariableToMatchMethodCallReturnTypeRector to StmtsAwareInterface (#3977)
2023-05-26 14:00:49 +00:00
Tomas Votruba ce521dbd34 Updated Rector to commit bb3d37ab214177a4e2877a5e0b383d055c62b6ad
bb3d37ab21 Remove ChangeReflectionTypeToStringToGetNameRector as niche and overly detailed, better refactor reflectio na as a whole (#3976)
2023-05-26 13:24:53 +00:00
Tomas Votruba 1539fc211a Updated Rector to commit c1cb710c872d25f5daa3fd085fc24640716a80f4
c1cb710c87 Remove ReservedObjectRector as requires explicit configuration and is handled by RenameClassRector already (#3975)
2023-05-26 13:14:15 +00:00
Tomas Votruba 11b175ef12 Updated Rector to commit 6d4a73ed6e31a7fb64b547edad2270391ef03ca2
6d4a73ed6e Remove PARENT_NODE from ParenthesizeNestedTernaryRector (#3974)
2023-05-26 13:12:31 +00:00
Tomas Votruba 7587e17e7b Updated Rector to commit d8e8a34a606b1e0b0a1a674a4e008822bbedf624
d8e8a34a60 Refactor PARENT_NODE away from EregToPregMatchRector (#3973)
2023-05-26 13:00:21 +00:00
Tomas Votruba af4dc685fb Updated Rector to commit 14fc01359ed4b27798ac64532cb128ab0ad2f32e
14fc01359e Make MysqlAssignToMysqliRector return new stmts directly (#3972)
2023-05-26 12:44:21 +00:00
Tomas Votruba f3a4204585 Updated Rector to commit 6c78d67c41b6445159db4d1c0841d1690d4ac2fe
6c78d67c41 Revert [NodeTypeResolver] Remove parent attribute usage on PHPStanNodeScopeResolver for next UnreachableStatementNode detection (#3970) (#3971)
2023-05-26 10:03:50 +00:00
Tomas Votruba eae5c53485 Updated Rector to commit 265d627ddf7663fe65bfda2aa4cf32fc4a3ba95d
265d627ddf Remove IsObjectOnIncompleteClassRector as blindly turns all incomplete checks to negated, better examine manually (#3969)
2023-05-25 16:35:30 +00:00
Tomas Votruba 2a68777a50 Updated Rector to commit d99713c7d55f25612440948b8a85b5b99e0b0e11
d99713c7d5 [CodingStyle] Remove parent attribute on NewlineAfterStatementRector (#3967)
2023-05-25 15:39:32 +00:00
Tomas Votruba c3d9ce9a50 Updated Rector to commit d279f71da7380aa7a55356c81f798aa56c7644f3
d279f71da7 [CodingStyle] Remove Else as next stmt on NewlineAfterStatementRector (#3966)
2023-05-25 15:31:05 +00:00
Tomas Votruba 48f64cd534 Updated Rector to commit eb463524bc550781d37cb170c416329bfe727992
eb463524bc Remove PARENT_NODE from CountArrayToEmptyArrayComparisonRector (#3965)
2023-05-25 15:20:14 +00:00
Tomas Votruba 3a65d40447 Updated Rector to commit a244917a428baa6fa06fabaa4e0be15fd3154e50
a244917a42 Remove PARENT_NODE from AddReturnTypeDeclarationBasedOnParentClassMethodRector (#3964)
2023-05-25 14:52:36 +00:00
Tomas Votruba 28adaf00cf Updated Rector to commit 041fa832d50b0548594e5f8aa53036b394016c27
041fa832d5 Refactor from PARENT_NODE in RemoveParentCallWithoutParentRector (#3963)
2023-05-25 14:40:36 +00:00
Tomas Votruba 92a1548c49 Updated Rector to commit 8e3620b0fb37f25a4966d9c07b0a55c02814f89c
8e3620b0fb Refactor from PARENT_NODE in PostIncDecToPreIncDecRector (#3962)
2023-05-25 14:00:24 +00:00
Tomas Votruba 0efdb38927 Updated Rector to commit 31712a1a466b4f2f2f83986aa6710405a00b446e
31712a1a46 Refactor from PARENT_NODE in TokenGetAllToObjectRector (#3961)
2023-05-25 13:52:45 +00:00
Tomas Votruba 94c1b64b7e Updated Rector to commit 18ac565714b7b66506a901ed4787d1ffbdd0af2d
18ac565714 Refactor from PARENT_NODE in EncapsedStringsToSprintfRector (#3960)
2023-05-25 13:47:07 +00:00
Tomas Votruba 511b8597e6 Updated Rector to commit fc1fabe1a396339cbf1d9d0346f3f35bc75a33c3
fc1fabe1a3 [PostRector] Remove parent lookup on ClassRenamingPostRector (#3959)
2023-05-25 12:11:39 +00:00
Tomas Votruba f7d28cee5d Updated Rector to commit 794bc8b5484e3eafcc91f85d443f665565c4ad44
794bc8b548 Remove PARENT_NODE from ForeachItemsAssignToEmptyArrayToAssignRector (#3958)
2023-05-25 09:21:23 +00:00
Tomas Votruba 2a39baa0c1 Updated Rector to commit 179b5cba82257fd1d310301679a1913db458809e
179b5cba82 Make ChangeGlobalVariablesToPropertiesRector add properties directly, remove Nette inject methods (#3957)
2023-05-24 18:48:59 +00:00
Tomas Votruba e74948ca4a Updated Rector to commit 69220a7b2d424babad1a6560dc546295d4e9ebe5
69220a7b2d [Traverser] Remove beforeTraverse() in StmtKeyNodeVisitor (#3955)
2023-05-24 15:18:00 +00:00
Tomas Votruba eb3e6c221d Updated Rector to commit ce12406878b202f9ceb1506a546e732ab1ca2716
ce12406878 Remove ChangeReadOnlyVariableWithDefaultValueToConstantRector overly complex and risky, better job for PHPStan (#3954)
2023-05-24 15:09:06 +00:00
Tomas Votruba 7117aa039a Updated Rector to commit c4b524e77a5eccd387d1ebe5b01ab3ae680049a3
c4b524e77a Remove GetAndSetToMethodCallRector, as not practical and used for single legacy job (#3953)
2023-05-24 13:47:55 +00:00
Tomas Votruba 7dcc1f5c95 Updated Rector to commit 7e9ee7afbf04ede850da1639b1b234e4e86730fb
7e9ee7afbf Refactor from PARENT_NODE in AddReturnTypeDeclarationRector (#3952)
2023-05-24 13:42:05 +00:00
Tomas Votruba a1e2ba76d0 Updated Rector to commit 2e80e00913eacfcfded3af426cc7691a58d7f886
2e80e00913 Refactor from PARENT_NODE in AddArrayDefaultToArrayPropertyRector (#3951)
2023-05-24 13:20:51 +00:00
Tomas Votruba 06e1c20df4 Updated Rector to commit 49561b6c81580ca995de4a8a00184f6935bec7db
49561b6c81 Refactor PARENT_NODE away from ParamTypeFromStrictTypedPropertyRector (#3950)
2023-05-24 13:12:14 +00:00
Tomas Votruba bddc5333e6 Updated Rector to commit 11e6796c0044a9217aed0c725e4b0f7c5767cb22
11e6796c00 Remove PARENT_NODE from FuncGetArgsToVariadicParamRector (#3949)
2023-05-24 13:08:24 +00:00
Tomas Votruba 26ac08e306 Updated Rector to commit fa6f1f67578dbe765fc13abaa294e0f62e66d4a8
fa6f1f6757 [CodeQuality] Remove ExplicitMethodCallOverMagicGetSetRector designed for nette smart object migration only, not useful for general projects (#3948)
2023-05-24 12:27:19 +00:00
Tomas Votruba 50ec3d44e9 Updated Rector to commit eef0e5d1f47500c9f56c5ccaa16523b11b47c8a7
eef0e5d1f4 Refactor PARENT_NODE away from JoinStringConcatRector (#3947)
2023-05-24 12:18:40 +00:00
Tomas Votruba 1f89bb9561 Updated Rector to commit c050b66f9b9812f8f7735673e651deaccded0071
c050b66f9b Refactor PARENT_NODE away from ListEachRector (#3946)
2023-05-24 10:04:51 +00:00
Tomas Votruba 13cb0fa921 Updated Rector to commit 279126145e995c4d0b39a60bd6fc5fff5799199e
279126145e Refactor PARENT_NODE away from UnsetCastRector (#3945)
2023-05-24 09:42:43 +00:00
Tomas Votruba d7eced92e2 Updated Rector to commit c504b2f11f2b732a744ad804b3a4b5afc30e2841
c504b2f11f Refactor PARENT_NODE away from GetClassOnNullRector (#3944)
2023-05-24 09:36:58 +00:00