Tomas Votruba
73a1ef4a72
Updated Rector to commit d8d31debc51ab5df1d30655846bb0fbd9f76039b
...
d8d31debc5
[Performance] Use more performance spl_object_id() (#4876 )
2023-08-28 17:41:52 +00:00
Tomas Votruba
dd562a4b59
Updated Rector to commit 9e8ed6c33f39aa9d7d859fb39b6f2d0344cdea0d
...
9e8ed6c33f
Remove SwapFuncCallArgumentsRector as keeps swaping to infinity, use custom rule instead (#4874 )
2023-08-28 12:45:54 +00:00
Tomas Votruba
b19f667a5b
Updated Rector to commit 21f33de2b90c0e63d42c3ebebef7cf4415191a21
...
21f33de2b9
Recreate to exact Expr node instead of printing when possible on AddParamBasedOnParentClassMethodRector take 2 (#4842 )
2023-08-24 10:28:16 +00:00
Tomas Votruba
3e344a5749
Updated Rector to commit 5de9824db5006d0e6d9e9e60a2a1c439ff7adb6e
...
5de9824db5
[Performance][Php80] Avoid print on Expr when possible on AddParamBasedOnParentClassMethodRector (#4839 )
2023-08-23 13:42:14 +00:00
Tomas Votruba
20bb3755f5
Updated Rector to commit 15ddec30da5ca9996fa56949e35ec9a190c72bf3
...
15ddec30da
[Php73][Php80] Handle empty long array syntax default value on SensitiveConstantNameRector+AddParamBasedOnParentClassMethodRector (#4837 )
2023-08-23 13:24:46 +00:00
Tomas Votruba
ef0d7bee6c
Updated Rector to commit 4b34887e678f90e4d9a8b4838333091465c28dc7
...
4b34887e67
[Php80] Handle crash parent default empty array/string param on AddParamBasedOnParentClassMethodRector (#4833 )
2023-08-23 11:33:01 +00:00
Tomas Votruba
fbd33e5f98
Updated Rector to commit 45aababfbcf23f7ab3765376d6f04a3aee113e8a
...
45aababfbc
[TypeDeclaration] Add new array replaced with array on ReturnTypeFromStrictNewArrayRector (#4825 )
2023-08-21 09:37:33 +00:00
Tomas Votruba
a3856d782f
Updated Rector to commit 4a869b9b104dc81adef4441025787c0c3411d4d6
...
4a869b9b10
bump PHPUnit printer to optional (#4826 )
2023-08-21 09:28:35 +00:00
Tomas Votruba
def86c6e48
Updated Rector to commit 45aababfbcf23f7ab3765376d6f04a3aee113e8a
...
45aababfbc
[TypeDeclaration] Add new array replaced with array on ReturnTypeFromStrictNewArrayRector (#4825 )
2023-08-21 09:28:31 +00:00
Tomas Votruba
8d42e37dfd
Updated Rector to commit 00f736f054372cca311469fec02b46edd5159b9a
...
00f736f054
Fix RenamePropertyToMatchTypeRector to skip Laravel collections and avoid accident rename (#4811 )
2023-08-18 09:06:56 +00:00
Tomas Votruba
7ad16ccd68
Updated Rector to commit 5363a676265cbe868f4ecc6bde8c6a99b213d028
...
5363a67626
AddReturnTypeDeclarationBasedOnParentClassMethodRector: don't trust phpdoc types (#4810 )
2023-08-17 15:17:47 +00:00
Tomas Votruba
314c192af3
Updated Rector to commit bbd2e81b171f50d05ef73d63518cb1a31fdd7cd5
...
bbd2e81b17
Merge many Skipper tests to one, cleanup phpstan errors (#4806 )
2023-08-17 10:13:30 +00:00
Tomas Votruba
266669789d
Updated Rector to commit a85997a277c3227652eb9b2a6571fd01d183a5a7
...
a85997a277
Faster AddParamBasedOnParentClassMethodRector (#4805 )
2023-08-17 09:06:25 +00:00
Tomas Votruba
7e217a5d21
Updated Rector to commit 2604a47c32dd8606349a1724122977c8b2fa6bf9
...
2604a47c32
Faster AddReturnTypeDeclarationBasedOnParentClassMethodRector (#4804 )
2023-08-17 09:03:10 +00:00
Tomas Votruba
3fc5ae2dea
Updated Rector to commit 04f332aaff53d2cda434b5051373aa0311683747
...
04f332aaff
[TypeDeclaration] Remove USE_PHPDOC constant on AddVoidReturnTypeWhereNoReturnRector since no longer used (#4799 )
2023-08-16 16:42:25 +00:00
Tomas Votruba
1f172665e6
Updated Rector to commit d8d4e8d0b244ba368e3ce8767343c71b108ec93c
...
d8d4e8d0b2
Revert removed ErrorType handling on NullToStrictStringFuncCallArgRector (#4793 )
2023-08-14 20:02:59 +00:00
Tomas Votruba
426abe14c5
Updated Rector to commit 514df0a319b75f86b9b381ee0db7f95aadca32fb
...
514df0a319
Make NullToStrictStringFuncCallArgRector run without scope (#4792 )
2023-08-14 14:35:49 +00:00
Tomas Votruba
5b1b83ed61
Updated Rector to commit 685fe90cb8752c2a288ee982d03d15d8df6b59f2
...
685fe90cb8
Make SimplifyUselessVariableRector run without scope (#4791 )
2023-08-14 14:31:01 +00:00
Tomas Votruba
951076fc19
Updated Rector to commit 90b832dc4f10d04b32f2c0cbc473082f6ccd11fb
...
90b832dc4f
cleanup (#4787 )
2023-08-14 09:58:25 +00:00
Tomas Votruba
34e7d4f989
Updated Rector to commit 29d9b7619d0d8bd68a62cc5ab3fcba5699a50558
...
29d9b7619d
[PHPStanStaticTypeMapper] Remove TypeKind::ANY (#4786 )
2023-08-14 09:24:11 +00:00
Tomas Votruba
867dc4426c
Updated Rector to commit 6b7aac835934de48c034aa8b2bad886616566e06
...
6b7aac8359
[Php81] Remove IntersectionTypesRector as rely on docblock (#4784 )
2023-08-14 06:41:08 +00:00
Tomas Votruba
81362af021
Updated Rector to commit 72815588219a43f3881295c77bd5c97239e4721a
...
7281558821
[TypeDeclaration] Skip @param int on StrictStringParamConcatRector (#4780 )
2023-08-13 16:51:50 +00:00
Tomas Votruba
5034b0a7f0
Updated Rector to commit 2970fa114ef632768f4704c8eefd2f5d0310703c
...
2970fa114e
[TypeDeclaration] Skip in conditional on AddParamTypeFromPropertyTypeRector (#4779 )
2023-08-13 07:18:25 +00:00
Tomas Votruba
435adccb1e
Updated Rector to commit d02cfa14472309287e8ab741197440718a243fbd
...
d02cfa1447
[TypeDeclaration] Skip param re-assign on Strict Param rules (#4775 )
2023-08-12 05:16:06 +00:00
Tomas Votruba
997543819d
Updated Rector to commit 3f863a78c33218b94632431cc16ef5024d835f3e
...
3f863a78c3
[TypeDeclaration] Handle crash on concat param append returned used on Arg on StrictStringParamConcatRector (#4774 )
2023-08-11 17:54:04 +00:00
Tomas Votruba
66f7957611
Updated Rector to commit 130f07b3da5cd6024b1e03265f75e70666a95473
...
130f07b3da
[DeadCode] Skip used by trait inside Closure on RemoveUnusedPrivateMethodRector (#4773 )
2023-08-11 17:24:11 +00:00
Tomas Votruba
e36ad5d27c
Updated Rector to commit 6923113ff2994cfb0c76298c7dc7d038655fbc95
...
6923113ff2
[DeadCode] Skip used by trait on RemoveUnusedPrivateMethodRector (#4770 )
2023-08-11 13:30:03 +00:00
Tomas Votruba
7abf8380e8
Updated Rector to commit cf1d5b0a492598b893c3fe0ac1ec1d2fcd5018c6
...
cf1d5b0a49
Remove SwapMethodCallArgumentsRector as could lead to infinite swapping, use custom rule with type/value check instead (#4766 )
2023-08-11 10:13:56 +00:00
Tomas Votruba
fb1f63e38b
Updated Rector to commit 0bdace5619d44c2ab3b30254f3ef06fe5e90e6fa
...
0bdace5619
[Php80] Handle crash Property ReflectionEnum::$betterReflectionClass does not exist on AddParamBasedOnParentClassMethodRector on Enum usage (#4758 )
2023-08-10 14:35:27 +00:00
Tomas Votruba
fd27dcf231
Updated Rector to commit a4bc873216f6d468524f95ca2746224c48311c2e
...
a4bc873216
cs
2023-08-10 12:16:13 +00:00
Tomas Votruba
852f522cbd
Updated Rector to commit f4b71a5406b7a79e7fa09659c6a1ca0014a558e1
...
f4b71a5406
[TypeDeclaration] Use native type detection instead of docblock on AssignToPropertyTypeInferer for TypedPropertyFromAssignsRector (#4754 )
2023-08-10 12:12:18 +00:00
Tomas Votruba
50e22e8613
Updated Rector to commit bcb51e81bc9cbc667017eea9240d7f8564848768
...
bcb51e81bc
[Renaming] Deprecate PseudoNamespaceToNamespaceRector as too dynamic and unreliable, use the RenameClassRector instead (#4755 )
2023-08-10 11:47:33 +00:00
Tomas Votruba
2802271875
Updated Rector to commit 9fcc5ba0771cfe693845f5a4ab2755d28c70d461
...
9fcc5ba077
Use direct VoidType definition on Return_ expr is null on ReturnedNodesReturnTypeInfererTypeInferer (#4752 )
2023-08-10 07:14:40 +00:00
Tomas Votruba
c050eb8443
Updated Rector to commit d32040ff25de17c3a84a8fb1e556501bf8a939a7
...
d32040ff25
[TypeDeclaration] Skip void type on caller on ReturnTypeFromStrictTypedCallRector (#4751 )
2023-08-10 04:48:30 +00:00
Tomas Votruba
0034aa1ce6
Updated Rector to commit db0388feecd977d5bb8cda662b9aee14a53ecfc6
...
db0388feec
misc (#4748 )
2023-08-09 19:20:00 +00:00
Tomas Votruba
d23a5ea440
Updated Rector to commit b23294698f066a48e35be76ba0f25616f48f375e
...
b23294698f
[Renaming] Remove callables from class renames to avoid missed rename bugs, better handle with PHSPtan and custom rule (#4745 )
2023-08-09 16:15:16 +00:00
Tomas Votruba
80654c23af
Updated Rector to commit 8ae33c5f7ce2f1b27dd0a3100f8e9bdbb18a5361
...
8ae33c5f7c
[Php70] Remove appendArgs() usage on CallUserMethodRector (#4731 )
2023-08-09 12:42:27 +00:00
Tomas Votruba
e7097335cd
Updated Rector to commit b93e285a4a72ef12d4892852118d5ab7b1b48bdd
...
b93e285a4a
[DX] Remove AddDefaultValueForUndefinedVariableRector as can generate broken code and depends on context (#4729 )
2023-08-09 10:56:45 +00:00
Tomas Votruba
e0af8c24c9
Updated Rector to commit b98df68ebb65cc05b7faba113e8e81a56d501c08
...
b98df68ebb
[TypeDeclaration] Allow change multiple methods on AddParamTypeDeclarationRector (#4727 )
2023-08-09 06:40:30 +00:00
Tomas Votruba
6703dc85ab
Updated Rector to commit ea91c99695a8a8108bad4428c7febcf4222a363d
...
ea91c99695
Reduce private accessor usage on get parent class name not autoload (#4726 )
2023-08-09 02:16:25 +00:00
Tomas Votruba
135fa91a30
Updated Rector to commit 88112d208bafbe266d5b0e5ec7fcb84058280ce2
...
88112d208b
[TypeDeclaration] Skip non void or never already return typed on ReturnNeverTypeRector (#4723 )
2023-08-08 15:44:06 +00:00
Tomas Votruba
ee45a5a26e
Updated Rector to commit 17fe187769dba735386f3afbad705e27de46b887
...
17fe187769
[TypeDeclaration] Skip param setter method intersection docblock not autoload on ReturnNeverTypeRector (#4721 )
2023-08-08 15:26:09 +00:00
Tomas Votruba
dc504e2a35
Updated Rector to commit 0a8ffe3ac8f42a93fb2853cc7ee93a1acced8a89
...
0a8ffe3ac8
[Types] Make AddVoidReturnTypeWhereNoReturnRector work only with type-declaration, as reliable (#4720 )
2023-08-08 14:29:00 +00:00
Tomas Votruba
5602ee85cd
Updated Rector to commit 3de7c697f5adc910481ff5873674284b2836dc50
...
3de7c697f5
[DX] Remove *AnnotationIncorrectNullableRector rules as works with unreliable docblocks and can have 2 solutions (#4719 )
2023-08-08 13:25:26 +00:00
Tomas Votruba
f4aa905f07
Updated Rector to commit 92b6e3a6d1e9a4289b5347e52f1cf379a68d74b4
...
92b6e3a6d1
[TypeDeclaration] Use return bool for ParentClassMethodTypeOverrideGuard::hasParentClassMethod(), return ?MethodReflection for ParentClassMethodTypeOverrideGuard::getParentClassMethod() (#4703 )
2023-08-07 13:20:45 +00:00
Tomas Votruba
ad2ad2a097
Updated Rector to commit 77258018af10a7c23477831e0eab49dd7c0b2bfe
...
77258018af
Trigger Rectify (#4701 )
2023-08-07 11:02:42 +00:00
Tomas Votruba
4cf14d6438
Updated Rector to commit 493e4f89c9f9a033668301cd4eee4df7e77df0cb
...
493e4f89c9
Skip code changes on unresolvable/unknown classes (#4619 )
2023-08-07 10:55:35 +00:00
Tomas Votruba
ec1aef0b55
Updated Rector to commit bb2e1e5fc0d15c83cd9df52d7fe6da22c1bb169d
...
bb2e1e5fc0
[NodeAnalyzer] Pass ReflectionProvider to __construct() on CallAnalyzer (#4699 )
2023-08-07 09:47:53 +00:00
Tomas Votruba
197a05c117
Updated Rector to commit 97214e0856d96bdc8e4536746fcaca0b5bc27be1
...
97214e0856
[NodeAnalyzer] Remove #[Required] on CallAnalyzer (#4697 )
2023-08-07 05:31:14 +00:00
Tomas Votruba
08df49faa5
Updated Rector to commit 033289a3b207c6a1cd9cba0cd027a16c45356aa8
...
033289a3b2
[CodingStyle] Remove #[Required] on ShortNameResolver (#4691 )
2023-08-07 04:08:22 +00:00