Commit Graph

4080 Commits

Author SHA1 Message Date
Tomas Votruba
4e1a8b2170 Updated Rector to commit d2459d13d512d780cc22f7822bf630717d888969
d2459d13d5 [CodeQuality] Remove next node attribute usage on SimplifyIfNotNullReturnRector (#3517)
2023-03-25 05:15:57 +00:00
Tomas Votruba
4218f60ee4 Updated Rector to commit da3eb400a7a88c180869590fc6cbbcf0ba30ce11
da3eb400a7 [CodingStyle] Make EncapsedStringsToSprintfRector work with two string concat (#3515)
2023-03-24 08:09:24 +00:00
Tomas Votruba
0b3c5d9bcc Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
f22ddc8f18 Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513)
2023-03-23 23:21:34 +00:00
Tomas Votruba
2ba3739f7b Updated Rector to commit 6cec8c5e70017c9374ca0135092bd4cb6934ce3d
6cec8c5e70 [CodingStyle] Remove previous node attribute on WrapEncapsedVariableInCurlyBracesRector (#3512)
2023-03-23 19:21:21 +00:00
Tomas Votruba
d8c7bccf74 Updated Rector to commit 5d95d496e4a7583f355a228cca599cab60b09b41
5d95d496e4 [CodeQuality] Remove next node attribute usage on SimplifyIfExactValueReturnValueRector (#3511)
2023-03-23 19:16:38 +00:00
Tomas Votruba
b5afb126a3 Updated Rector to commit 5e29a35bb60f92bece6fede8080645e7ba7fc421
5e29a35bb6 Performance: Reduce isObjectType calls (#3502)
2023-03-22 14:20:22 +00:00
Tomas Votruba
fd25bb9710 Updated Rector to commit 28e9cdb10785dc382ba2c9251cf1dde9024affa2
28e9cdb107 [CodeQuality] Skip with ascii on JoinStringConcatRector (#3497)
2023-03-21 02:20:08 +00:00
Tomas Votruba
cefea0d869 Updated Rector to commit 4225ebf21b1feebdf8e09b1234ceb67e3ce82cd5
4225ebf21b [TypeDeclaration] Handle infinite loop on type recursive itself on ReturnTypeFromStrictTypedCallRector (#3487)
2023-03-18 03:52:50 +00:00
Tomas Votruba
6ac3776e07 Updated Rector to commit 107914ea0b9152a1651f25478a0785db4e96f5f5
107914ea0b [CodingStyle] Skip var ArrayDimFetch on SplitDoubleAssignRector (#3481)
2023-03-16 10:27:27 +00:00
Tomas Votruba
7ff93790bb Updated Rector to commit 113810116956135df1b1862c9b87ea1bd211c94f
1138101169 [CodeQuality] Add indirect return scalar on ReturnTypeFromStrictScalarReturnExprRector (#3478)
2023-03-13 14:54:55 +00:00
Tomas Votruba
65a343d35a Updated Rector to commit 6cc0a40d5d64b45408f830563aa22c73a41a6e9e
6cc0a40d5d  [Renaming] Remove FileWithoutNamespace from getNodeTypes() on RenameNamespaceRector (#3475)
2023-03-12 01:48:24 +00:00
Tomas Votruba
045769c9ec Updated Rector to commit c077c9dda470028f1128a45403fe955caa632133
c077c9dda4 [automated] Apply Coding Standard (#3474)
2023-03-12 00:37:04 +00:00
Tomas Votruba
4ae0d7c74c Updated Rector to commit 874f5e14cbdde6c8094cedcd483eba8764ff1883
874f5e14cb [TypeDeclaration] Skip on ArrayDimFetch on EmptyOnNullableObjectToInstanceOfRector (#3473)
2023-03-11 11:49:02 +00:00
Tomas Votruba
019f8252db Updated Rector to commit a0a6b55350c8199858d63a7302653c8ff87d40ee
a0a6b55350 [Renaming] Remove FileWithoutNamespace from getNodeTypes() on RenameClassRector (#3470)
2023-03-10 15:23:02 +00:00
Tomas Votruba
b4b2b8f25e Updated Rector to commit dc52f2b5bfc3b31c474555ba0155b50ea6211d18
dc52f2b5bf [TypeDeclaration] Handle return from array_map() on ReturnTypeFromStrictTypedCallRector (#3471)
2023-03-10 15:21:11 +00:00
Tomas Votruba
e27f3e5b0b Updated Rector to commit f87827ca264302c24015bc9d2a27a4a288a05682
f87827ca26 Implement  (#3430)
2023-03-09 22:50:19 +00:00
Tomas Votruba
bd50266270 Updated Rector to commit 9d33ac92be2ac793d06d2da7f13a2008544d8d30
9d33ac92be Fix downgrade vendor/tracy .phtml file (#3469)
2023-03-09 14:26:00 +00:00
Tomas Votruba
5e6f195e17 Updated Rector to commit 291aab4a2afd397cff1a37078b0c5b559f5299de
291aab4a2a [AutoImport] Add mirror comment support on first Use_ on no namespace code (#3465)
2023-03-08 15:24:58 +00:00
Tomas Votruba
84c00e601b Updated Rector to commit ed5caee5b1cdecf12b77b1f2944dde539a3b004f
ed5caee5b1 [Renaming] Remove Use_ from getNodeTypes() on RenameClassRector (#3464)
2023-03-08 14:09:44 +00:00
Tomas Votruba
e6981ca53c Updated Rector to commit 4d9b7e841f026d0566ba7afa356503e7d4466e15
4d9b7e841f [Renaming] Remove RenameClassRector::processCleanUpUse() as already covered on ClassRenamingPostRector (#3463)
2023-03-08 07:33:37 +00:00
Tomas Votruba
c086693921 Updated Rector to commit 1142c99af7380356e2d1c8e572fb6d19830db51f
1142c99af7 [PostRector][AutoImport] Move check duplicate use of rename class from UseAddingPostRector to ClassRenamingPostRector (#3462)
2023-03-07 13:36:57 +00:00
Tomas Votruba
b146658bb5 Updated Rector to commit f9900dd236001d117a7b3fdb9fcc2d0d5ec569bc
f9900dd236 [AutoImport][PostRector] Handle duplicated import on namespaced class on UseAddingPostRector (#3461)
2023-03-07 00:55:13 +00:00
Tomas Votruba
5059435ef4 Updated Rector to commit b3da981d01f2caa1534033e208a6131c9e61b9c3
b3da981d01 [Renaming] Keep unused import unless configured ->removeUnusedImports() on RenameClassRector on no namespace (#3460)
2023-03-06 12:01:42 +00:00
Tomas Votruba
2f750e7ff5 Updated Rector to commit bf6fdc70b4b903a27367926d189400d279dcb411
bf6fdc70b4 [CodingStyle] Use ExprAnalyzer::isDynamicExpr() to detect dynamic value case cond on BinarySwitchToIfElseRector (#3456)
2023-03-04 10:17:04 +00:00
Tomas Votruba
4077ceef46 Updated Rector to commit 64a96e39ebbb3b3c00cb2c1f23addc4017388845
64a96e39eb [CodingStyle] Skip case not constant value on BinarySwitchToIfElseRector (#3452)
2023-03-04 08:53:24 +00:00
Tomas Votruba
bc4d62886b Updated Rector to commit b2e90e8df6609979f068858c5912aba7e2d1ede3
b2e90e8df6 [DeadCode] Skip assign inside if cond on RemoveAlwaysTrueIfConditionRector (#3447)
2023-03-04 08:51:42 +00:00
Tomas Votruba
f2707dea96 Updated Rector to commit c9a621de856eac0be037169c3c07c1b279b3cc9f
c9a621de85 [Privatization] Remove ReplaceStringWithClassConstantRector as rather dynamic and can lead to unexpected results (#3443)
2023-03-03 03:15:36 +00:00
Tomas Votruba
0e8b799327 Updated Rector to commit a7d45e469a134f8671749aaf4a9a5ea797394e3a
a7d45e469a [Php80] Skip array append different keys in cases on ChangeSwitchToMatchRector (#3437)
2023-03-02 12:25:38 +00:00
Tomas Votruba
5104869465 Updated Rector to commit 4e625d0b8e545bf8fc143f5c9a18e6295ecc3989
4e625d0b8e [CodeQuality] Add concat support on ReturnTypeFromStrictScalarReturnExprRector to be string (#3435)
2023-03-02 12:17:17 +00:00
Tomas Votruba
9d8b966f01 Updated Rector to commit 1c231db5520a71dbaec34574fdafe69bcb002ff3
1c231db552 [CodingStyle] Fix infinite loop on NewlineAfterStatementRector when parent attribute is different (#3434)
2023-03-02 00:22:02 +00:00
Tomas Votruba
7d0f151a40 Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
a2cd7283fb Typo fix comment php 7.3 compat on rector workflow (#3432)
2023-03-01 13:00:30 +00:00
Tomas Votruba
7a073d6432 Updated Rector to commit 5e78981c52c275786a67ca64a7b7104ef0d8775a
5e78981c52 [Php71] Set public constant on final constant on PublicConstantVisibilityRector (#3431)
2023-02-28 20:41:27 +00:00
Tomas Votruba
cf1958e570 Updated Rector to commit 2eac878f538ddd1e20346c14d402f7e93ee6033b
2eac878f53 [TypeDeclaration] Only apply false type on php 8.2+ configured on TypedPropertyFromAssignsRector (#3422)
2023-02-28 18:23:25 +00:00
Tomas Votruba
88cbdce92d Updated Rector to commit fe3c6ff324a814101fdc2f489980ceb9fa219322
fe3c6ff324 [Privatization] Fix crash on assign inside Arg on ChangeReadOnlyVariableWithDefaultValueToConstantRector (#3423)
2023-02-28 15:26:15 +00:00
Tomas Votruba
bc68a7b39c Updated Rector to commit 3c34abb42a46a7e1f49dbef49e72dc49850a5dd2
3c34abb42a Skip not natively typed property in AddParamTypeFromPropertyTypeRector (#3421)
2023-02-27 09:36:44 +00:00
Tomas Votruba
d72ba9e07b Updated Rector to commit 9cf87f6ac68f0386a27e2892d832ee113ffcc642
9cf87f6ac6 Skip nullable DateTimeInterface in RenamePropertyToMatchTypeRector (#3420)
2023-02-27 00:09:29 +00:00
Tomas Votruba
f44d4bbee3 Updated Rector to commit b7b3a1dc2ea5c141aa1c48e626af10a31f832b77
b7b3a1dc2e [CodeQuality] Handle deep comments merged on ShortenElseIfRector (#3419)
2023-02-26 19:44:22 +00:00
Tomas Votruba
949980905b Updated Rector to commit 2cca234e54b88d14b9017ec343b3a9804d90a348
2cca234e54 Remove PropertyFetchTypeAnalyzer and it's usages (#3410)
2023-02-24 15:35:18 +00:00
Tomas Votruba
baee5d9d4a Updated Rector to commit 48e97cb0e710d6b7d704d31a6e3c4320486e1ed4
48e97cb0e7 [Core][e2e] Do not reprint from PhpParser when no RectorWithLineChange or empty diff (#3403)
2023-02-23 10:31:39 +00:00
Tomas Votruba
3689432167 Updated Rector to commit b1b48bceab3cf56858ebe565a22bba74458a497f
b1b48bceab [DeadCode] Skip if cond use variable from @param doc on RemoveAlwaysTrueIfConditionRector (#3402)
2023-02-22 18:49:35 +00:00
Tomas Votruba
5d735c2311 Updated Rector to commit b2d6fa6ee64096cb358f8e29c490386989b4cfb0
b2d6fa6ee6 Revert recursive check on always array param on phpstan 1.10 on AddMethodCallBasedStrictParamTypeRector (#3399)
2023-02-22 01:54:59 +00:00
Tomas Votruba
908a3c39d3 Updated Rector to commit 648a2f5ca994605a85e8f10279936a864eefc09c
648a2f5ca9 Fix BleedingEdgeIncludePurifier to use random value on temporary file to avoid crash (#3396)
2023-02-21 17:09:39 +00:00
Tomas Votruba
88aaa17af1 Updated Rector to commit 38372f25c3171a2d12c1bc1d8194610bc5d88327
38372f25c3 [Php56][Php70] Handle infinite loop on AddDefaultValueForUndefinedVariableRector+IfToSpaceshipRector (#3394)
2023-02-20 16:55:22 +00:00
Tomas Votruba
44595ed746 Updated Rector to commit 937bf3e28b7868d79c4679d8e1e03cfb2e366a42
937bf3e28b [Transform] Add MethodCallToFuncCallRector (#3391)
2023-02-19 13:39:22 +00:00
Tomas Votruba
2a475d5b03 Updated Rector to commit 9c6f41e6c0b943912ca1fd2b6a289106b556efbe
9c6f41e6c0 Fix external packages bleeding edge includes (#3389)
2023-02-17 19:53:09 +00:00
Tomas Votruba
d17680f2a5 Updated Rector to commit d8aa22b6713269ddafa80679777b3de9a4f456dd
d8aa22b671 [Printer][EarlyReturn] Enable InlineHTML on RemoveAlwaysElseRector (#3387)
2023-02-16 20:39:52 +00:00
Tomas Votruba
9db8a3ec2f Updated Rector to commit 5db390cb7b67d3537acc34d3eabb04de1ef4b35a
5db390cb7b [Php81] Handle null defined in variable first on NullToStrictStringFuncCallArgRector (#3385)
2023-02-15 15:21:14 +00:00
Tomas Votruba
ebd356eff2 Updated Rector to commit dffddb244ffe016e94446f00a1ac61daac900ca6
dffddb244f Fix grammar in user-facing exception (#3379)
2023-02-14 13:44:15 +00:00
Tomas Votruba
90ca96064c Updated Rector to commit 56e1633c826c009e643873ca8461ea45d0fff217
56e1633c82 [TypeMapper] Use Identifier instead of Name on ObjectWithoutClassType (#3377)
2023-02-14 11:52:01 +00:00
Tomas Votruba
e946e57476 Updated Rector to commit dbaf0da38ac23091d39d4df71749da474e8df8ac
dbaf0da38a [TypeMapper] Use Identifier instead of Name on non-object types (#3375)
2023-02-13 14:43:04 +00:00