Tomas Votruba
752381df77
Updated Rector to commit c4ea636dcfb0a87f7fa7a7214e80ed98dac2444d
...
c4ea636dcf
[TypeDeclaration] Add return empty string defined support on ReturnTypeFromStrictScalarReturnExprRector (#4919 )
2023-09-06 11:35:48 +00:00
Tomas Votruba
2bbdfcfe3b
Updated Rector to commit a21a3f17578cb8e13505ffe0e797ecfd12e86c4f
...
a21a3f1757
[Cleanup] Remove TypeToCallReflectionResolver as not needed anymore (#4917 )
2023-09-05 19:57:28 +00:00
Tomas Votruba
4c7551da27
Updated Rector to commit aa7282195caab5889ee067ca3fb5eda62f26ed1b
...
aa7282195c
[TypeDeclaration] Add return static object support on ReturnTypeFromStrictFluentReturnRector (#4916 )
2023-09-05 17:03:27 +00:00
Tomas Votruba
dbdeb211ce
Updated Rector to commit 6d009ccad0aacd102fdacba00eb59b32a1104582
...
6d009ccad0
[TypeDeclaration] Add return self object support on ReturnTypeFromStrictFluentReturnRector (#4915 )
2023-09-05 15:48:41 +00:00
Tomas Votruba
2ae279bf07
Updated Rector to commit 093bcb63a19db3fcdab8264897c584212d755463
...
093bcb63a1
[CodeQuality] Add NumberCompareToMaxFuncCallRector (#4914 )
2023-09-05 13:21:31 +00:00
Tomas Votruba
491915e31b
Updated Rector to commit 5595f80ed176f93485f50ff6dabad79cedbb72dc
...
5595f80ed1
Update github actions/checkout from v3 to v4 (#4909 )
2023-09-04 14:00:44 +00:00
Tomas Votruba
c5dca33b93
Updated Rector to commit 5919201e137b5ed041eebdf891ff2bada22fddb1
...
5919201e13
StrictArrayParamDimFetchRector: Skip objects (#4907 )
2023-09-04 10:32:52 +00:00
Tomas Votruba
bbc92f1719
Updated Rector to commit 824bb97770867b1584fa7c2398d0d59b7cd4f36e
...
824bb97770
[TypeDeclaration] Skip mixing native + docblock union assign on TypedPropertyFromAssignsRector (#4905 )
2023-09-04 07:41:42 +00:00
Tomas Votruba
454b838af8
Updated Rector to commit 75717921e8661b5fc6f0ebbffe2e35bd86146202
...
75717921e8
MyCLabs enum equals + keeping methods (#4645 )
2023-09-04 07:26:59 +00:00
Tomas Votruba
d72f4cf839
Updated Rector to commit 04c528e639778905387757ca3f7db6a3e48ac92f
...
04c528e639
Skip identical to false in SimplifyBoolIdenticalTrueRector, as exact comparison is stronger than negated expression (#4901 )
2023-09-03 16:38:10 +00:00
Tomas Votruba
28c16a1c00
Updated Rector to commit d5f399eee5709932b579d41e3799c3097bbc101f
...
d5f399eee5
[DeadCode] Remove @return void on return self on RemoveUselessReturnTagRector (#4894 )
2023-09-02 15:59:59 +00:00
Tomas Votruba
fc46b4d878
Updated Rector to commit 3243e0efc1b7cab4f4c3f08cb73f16750018bad4
...
3243e0efc1
Add number support to concat EncapsedStringsToSprintfRector (#4898 )
2023-09-02 15:54:43 +00:00
Tomas Votruba
ed2db39d3d
Updated Rector to commit 412d0bd50130f82d8f5388060301a7e1debf50ad
...
412d0bd501
Add single value concat support to EncapsedStringsToSprintfRector (#4897 )
2023-09-02 15:36:16 +00:00
Tomas Votruba
326e84f967
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-09-01 11:10:35 +00:00
Tomas Votruba
3d97937140
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-08-31 16:33:28 +00:00
Tomas Votruba
62fe44207e
Updated Rector to commit 56c84ba714b135a36e7e95fdf53f406b1411461e
...
56c84ba714
[TypeDeclaration] Do not add default value when assigned in __construct() on TypedPropertyFromStrictGetterMethodReturnTypeRector (#4886 )
2023-08-31 11:38:41 +00:00
Tomas Votruba
a3ea8375c9
Updated Rector to commit 4b0a688b8117689c243adc1c8dd18e9512673428
...
4b0a688b81
[TypeDeclaration] skip variadic constructor param of mixed type on AddParamTypeFromPropertyTypeRector (#4887 )
2023-08-31 10:36:02 +00:00
Tomas Votruba
25e5fba435
Updated Rector to commit cf69407e2ff3402abb8a939d79f326f59121b2b4
...
cf69407e2f
Fix missing default string in TypedPropertyFromStrictGetterMethodReturnTypeRector (#4885 )
2023-08-31 08:41:20 +00:00
Tomas Votruba
97f92edab1
Updated Rector to commit 6424bae725296eb72307e5f4902715ea41dad3ba
...
6424bae725
[TypeDeclaration] Using ClassMethodReturnTypeOverrideGuard on ReturnTypeFromStrictParamRector (#4878 )
2023-08-29 16:52:48 +00:00
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