Commit Graph

4053 Commits

Author SHA1 Message Date
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
Tomas Votruba
7e939b3a17 Updated Rector to commit 91ddd680c78eacc11006126398d64c4b97d38694
91ddd680c7 [TypeDeclaration] Remove unused intersection docblock on nullable intersection on TypedPropertyFromAssignsRector (#3373)
2023-02-12 18:36:15 +00:00
Tomas Votruba
1044a9f5fe Updated Rector to commit db4ec0218f0ad9670790d5725c98bbb34120a97e
db4ec0218f [TypeDeclaration] Handle nullable intersection on TypedPropertyFromAssignsRector (#3372)
2023-02-12 17:34:35 +00:00
Tomas Votruba
90d627a739 Updated Rector to commit 75149b2fdba0ce29e899e6610db8a703f3d30090
75149b2fdb [Renaming] Skip rename as Namespace_ name on RenameClassRector (#3371)
2023-02-11 17:56:10 +00:00
Tomas Votruba
baa729956a Updated Rector to commit 2acb78be7361011f47c301344d8bb8ef4aa0e33d
2acb78be73 [Php55] Handle crash on direct $ without double quote backreference on PregReplaceEModifierRector (#3369)
2023-02-11 12:25:19 +00:00
Tomas Votruba
3483839cce Updated Rector to commit 2acb78be7361011f47c301344d8bb8ef4aa0e33d
2acb78be73 [Php55] Handle crash on direct $ without double quote backreference on PregReplaceEModifierRector (#3369)
2023-02-11 11:34:35 +00:00
Tomas Votruba
13aa217ffa Updated Rector to commit 208d52e2a160e8563ef94e2afc53239f8ecf55cf
208d52e2a1 [CodeQuality] Remove DoWhileBreakFalseToIfElseRector, rather manual static spot and refactoring (#3367)
2023-02-08 17:44:29 +00:00
Tomas Votruba
6481c8dccc Updated Rector to commit 5f4edd9230355cadc311ba8e8954fb9ae5bdc849
5f4edd9230 Remove NonVariableToVariableOnFunctionCallRector, should be handled manually as might need attention (#3357)
2023-02-07 22:56:24 +00:00
Tomas Votruba
1e09b81ddb Updated Rector to commit e68c8d23cbbdb9dbfef66133af6bb4f1857015ad
e68c8d23cb Fix CallableTypeParameterNode and IdentifierTypeParameterNode crash (#3353)
2023-02-07 12:26:09 +00:00
Tomas Votruba
5cc4e62142 Updated Rector to commit 74bb7a0a7153e3b4423dd816da23c5de55875fc2
74bb7a0a71 Remove deprecated TYPE_DECLARATION_SET (#3352)
2023-02-07 00:42:51 +00:00
Tomas Votruba
f923fd0998 Updated Rector to commit 43dd2efc5d663bc16327911fe31c6f6ecf60e753
43dd2efc5d Remove deprecated ReturnTypeDeclarationRector, TypedPropertyRector, ParamTypeDeclarationRector rules (#3350)
2023-02-06 19:23:07 +00:00
Tomas Votruba
ab40a52407 Updated Rector to commit 75d1dca2ef328d91cff2b642e79f1c442696d0a1
75d1dca2ef Don't get type from PropertyFetch for not natively typed properties (#3327)
2023-02-06 17:12:10 +00:00
Tomas Votruba
f624d966b2 Updated Rector to commit 5c4a1212932dea9ca226abc55d480dbae2051562
5c4a121293 [CodeQuality] Skip has AllowDynamicProperties attribute on CompleteDynamicPropertiesRector (#3346)
2023-02-06 15:51:07 +00:00
Tomas Votruba
8c3f7d543f Updated Rector to commit b17d4a39222960783a78207f24d404d8dbc97eab
b17d4a3922 [Testing] Make temp fixture file names exposed next to the fixture file, to make easier fixes and path resolvements (#3338)
2023-02-06 14:23:37 +00:00
Tomas Votruba
6f9bc2e5e6 Updated Rector to commit bac8c0691d7eee55e38924b49d7fac64f61456d8
bac8c0691d [CodeQuality] Mirror comment on ShortenElseIfRector (#3334)
2023-02-04 14:18:19 +00:00
Tomas Votruba
5a533a3702 Updated Rector to commit c3ff0fd4328b603df30c7e7bb833cb1e641f410c
c3ff0fd432 Upgrade to PHPUnit 10 🥳️ (#3332)
2023-02-03 17:47:50 +00:00
Tomas Votruba
66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +00:00
Tomas Votruba
b6935368be Updated Rector to commit 88a1434ef75fa9fb83524e3db1824cd8e961bc85
88a1434ef7 Use rector/phpstan-rules:^0.6.5 (#3328)
2023-01-31 10:09:37 +00:00
Tomas Votruba
ab985638db Updated Rector to commit 033b0c2bf86dc2f7cd3c6d6183ddc5ad1a3ab390
033b0c2bf8 Fix nested extends pattern in AddReturnTypeDeclarationBasedOnParentClassMethodRector (#3325)
2023-01-31 00:52:02 +00:00
Tomas Votruba
ad67b2505d Updated Rector to commit 2ddd44b249f552c8a4bd573763965de31417aaa3
2ddd44b249 [TypeDeclaration] Replace ParentClassMethodTypeOverrideGuard::isReturnTypeChangeAllowed() with ClassMethodReturnTypeOverrideGuard::shouldSkipClassMethod()  in ReturnNeverTypeRector (#3321)
2023-01-29 13:52:29 +00:00
Tomas Votruba
820bd2010e Updated Rector to commit 8714537bfb668d453cb56d3e1f303371c3987597
8714537bfb [TypeDeclaration] Consume ParentClassMethodTypeOverrideGuard from ClassMethodReturnTypeOverrideGuard::shouldSkipClassMethod() (#3320)
2023-01-29 13:29:20 +00:00
Tomas Votruba
e25df78489 Updated Rector to commit bbc100ce821ca98123ac0996673dbf48fc2b71e8
bbc100ce82 [TypeDeclaration] Add ReturnTypeFromStrictTernaryRector (#3318)
2023-01-29 12:39:10 +00:00
Tomas Votruba
9dda9c3cc2 Updated Rector to commit 3450bed50204db27ca622d2056a82580a59914fb
3450bed502 [TypeDeclaration] Skip used by trait on PropertyTypeFromStrictSetterGetterRector (#3319)
2023-01-29 12:28:42 +00:00
Tomas Votruba
6d10127c95 Updated Rector to commit b98de3edc21312c2e5483b6a120ccb04642f5346
b98de3edc2 [Php70] Handle crash on IfToSpaceshipRector with enum case (#3317)
2023-01-29 09:53:53 +00:00
Tomas Votruba
0e1b533718 Updated Rector to commit d2080c2267a7bfa4b132fa3f728fd509fb3a39e3
d2080c2267 [Php82] Move consume trait property skip check to ReadOnlyClassRector (#3316)
2023-01-29 06:15:33 +00:00
Tomas Votruba
8d6b5e9645 Updated Rector to commit 76a6df8f8ddc9f1aab255783498f28714b36140e
76a6df8f8d [Php81] Skip ReadonlyProperty for class that consume Trait with Property (#3314)
2023-01-29 03:47:42 +00:00
Tomas Votruba
f35a09015b Updated Rector to commit e2f73fa67a2a8f1ee48e14a140359c3470d4d1a3
e2f73fa67a [CodeQuality] Skip reassign key on SimplifyForeachToCoalescingRector (#3315)
2023-01-29 02:03:17 +00:00
Tomas Votruba
64a999931a Updated Rector to commit 76a6df8f8ddc9f1aab255783498f28714b36140e
76a6df8f8d [Php81] Skip ReadonlyProperty for class that consume Trait with Property (#3314)
2023-01-29 02:02:55 +00:00