Tomas Votruba
aae549741f
Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
...
0cb3fd0feb
[Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626 )
2023-08-01 10:55:14 +00:00
Tomas Votruba
64fc640e30
Updated Rector to commit 00edfa77a0dcfabb55daca82e7e0b51063ad68e6
...
00edfa77a0
[TypeDeclaration] Add StrictStringParamConcatRector (#4624 )
2023-07-31 11:10:36 +00:00
Tomas Votruba
1191015c78
Updated Rector to commit a8ae2d8c2a92536f95a70dc99eaebb01168c4a6f
...
a8ae2d8c2a
implemented TypedPropertyFromStrictConstructorReadonlyClassRector (#4552 )
2023-07-23 16:12:36 +00:00
Tomas Votruba
773600ee65
Updated Rector to commit 09fe7f5c1ebe6b6eacddc9765284dce921bd9191
...
09fe7f5c1e
[TypeDeclaration] Deprecate ArrayShapeFromConstantArrayReturnRector as uses docblocks that we move away from since 0.15 (#4571 )
2023-07-21 14:06:17 +00:00
Tomas Votruba
70b8468a69
Updated Rector to commit 875b2a319f2d01db4ca0d64a6a15d497117f70c8
...
875b2a319f
Implement ReturnTypeFromStrictParamRector (#4501 )
2023-07-14 16:16:08 +00:00
Tomas Votruba
98ae4430e1
Updated Rector to commit a10ddea5d14f8fbdf21366dbfd20defef01f64db
...
a10ddea5d1
let phpunit handle its own empty method rule
2023-07-13 10:52:04 +00:00
Tomas Votruba
fb5e28c38b
Updated Rector to commit db16e33a9a72d6c75600187d9f7851060d9a88fe
...
db16e33a9a
[EarlyReturn] Remove ReturnBinaryAndToEarlyReturnRector as creates code hard to read and flips condition (#4478 )
2023-07-11 15:52:31 +00:00
Tomas Votruba
6f70a13e76
Updated Rector to commit aac0f2a90922bcfe90a1918448dc6e80172beb62
...
aac0f2a909
Remove duplicated version_compare ReplaceFuncCallArgumentDefaultValue rule (#4473 )
2023-07-10 23:19:20 +00:00
Tomas Votruba
2d4dfa7604
Updated Rector to commit ce03029084e1d8c860de15ee6fcfef8f6f35dbdb
...
ce03029084
[DeadCode] Remove RemoveJustVariableAssignRector as often done on purpose or with side effect (#4450 )
2023-07-09 10:36:52 +00:00
Tomas Votruba
0c4f4be946
Updated Rector to commit 33019ba2ff8abfa658b998db5a7ca88f2fa87da3
...
33019ba2ff
[MysqlToMysqli] Deprecate set, as dangerous to use, better handle manually (#4448 )
2023-07-09 09:46:05 +00:00
Tomas Votruba
c86937fb6b
Updated Rector to commit b9ace5f53f1640ab947922957e8179b2b50ff2cd
...
b9ace5f53f
[PHP 8] Resources object upgrade - remove 2 rules as the upgrade require wholesome manual work (#4442 )
2023-07-08 22:49:07 +00:00
Tomas Votruba
4ded5a660a
Updated Rector to commit 9df1445de8c8cb5eed5a85446628226f9b03ed76
...
9df1445de8
[DX] Remove SimplifyForeachToArrayFilterRector as it turns typed functions to string and make code worse (#4424 )
2023-07-05 15:32:48 +00:00
Tomas Votruba
6981c70c9a
Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
...
9ed8c21b12
[DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388 )
2023-07-01 09:41:56 +00:00
Tomas Votruba
687d1218b1
Updated Rector to commit 8324cf427656e1d81f8c0e782885ca65bf592481
...
8324cf4276
[TypeDeclaration] Add StrictArrayParamDimFetchRector (#4384 )
2023-06-30 16:33:30 +00:00
Tomas Votruba
48f3d4f73c
Updated Rector to commit 3c823c71fe33485a439af676f6ea3ed100b06faa
...
3c823c71fe
Remove duplicate ReturnNeverTypeRector rule (#4381 )
2023-06-30 10:36:30 +00:00
Tomas Votruba
f41e5dc13b
Updated Rector to commit df459e711ae5bd8f359df40fbef863cc386bf107
...
df459e711a
Handle AlwaysRememberedExpr in deep Expr (#4310 )
2023-06-21 09:44:12 +00:00
Tomas Votruba
a32e799655
Updated Rector to commit eaf68d45ead20912a9658dc5006f463e1063334a
...
eaf68d45ea
[TypeDeclaration] Add NumericReturnTypeFromStrictScalarReturnsRector (#4296 )
2023-06-19 21:00:27 +00:00
Tomas Votruba
5a6b4888cf
Updated Rector to commit e87ee7e0b358fcbdb752bac8ec8b870dde54a7d3
...
e87ee7e0b3
Move LocallyCalledStaticMethodToNonStaticRector to CodeQuality namespace, to avoid dumping removed static set (#4242 )
2023-06-16 14:09:13 +00:00
Tomas Votruba
99469d703d
Updated Rector to commit a394e5ea44ef09812ec1224aa0f402a483400d73
...
a394e5ea44
Split instance of check to 2 rules (#4165 )
2023-06-10 18:53:37 +00:00
Tomas Votruba
53778ac6ff
Updated Rector to commit 77aeaa4dcc2fc99070999af7a28d17c4d078a4b5
...
77aeaa4dcc
Remove RemoveEmptyMethodCallRector as better handled by PHPStan (#4161 )
2023-06-10 13:02:37 +00:00
Tomas Votruba
b0e2693e28
Updated Rector to commit 8fe22e43b593963c405fac48c5d093e1575afd49
...
8fe22e43b5
Remove RemoveDelegatingParentCallRector as overly complex and usually on purpose (#4136 )
2023-06-09 15:42:29 +00:00
Tomas Votruba
48bf71f740
Updated Rector to commit 8db9a6ff83fe5407e967000b2dfec772285de87a
...
8db9a6ff83
[DX] Autowire commands explicitly (#4118 )
2023-06-08 18:28:01 +00:00
Tomas Votruba
f6e608f751
Updated Rector to commit 6c3eb864d7a543b9e6f0379959bb98de489ab853
...
6c3eb864d7
Remove MultipleClassFileToPsr4ClassesRector as only PSR4 rule, bit risky and better handled with PHPStan + remove adding/removing files logic, use printer instead (#4117 )
2023-06-08 17:22:43 +00:00
Tomas Votruba
7f654942fd
Updated Rector to commit 18a2a0f37852ed6f5fb52c07e2c1137cf556f5b4
...
18a2a0f378
Add STRICT_BOOLEANS set (#4116 )
2023-06-08 16:22:20 +00:00
Tomas Votruba
f486676c12
Updated Rector to commit 16b60d0f84d824f2eaafadd52650bd4ea84798e5
...
16b60d0f84
Make ConvertStaticPrivateConstantToSelfRector work for non-final classes, make part of code-quality set (#4114 )
2023-06-08 14:55:39 +00:00
Tomas Votruba
1a06fc6c7b
Updated Rector to commit b0873f7667fe9e5c2b178ce7bc8ce8007c105168
...
b0873f7667
Remove ActionInjectionToConstructorInjectionRector as rather for demo purposes, not practical (#4113 )
2023-06-08 14:20:09 +00:00
Tomas Votruba
368e973125
Updated Rector to commit be31c8faec553f9247f3c0d810648ec22b91b827
...
be31c8faec
Remove ChangeGlobalVariablesToPropertiesRector as the scope might change after the variable is defined, better handle with PHPStan (#4086 )
2023-06-05 14:37:00 +00:00
Tomas Votruba
54b25e4291
Updated Rector to commit 2dccbb6b176a836e174babbaf6611a0d4730c55c
...
2dccbb6b17
Remove removeNode() from RemoveDeadReturnRector, merge RemoveLastReturnRector to RemoveDeadReturnRector (#4085 )
2023-06-05 14:01:36 +00:00
Tomas Votruba
fc28a000c6
Updated Rector to commit cdc9e6b6d8ce2446e8860016997ad37e8d3b7d44
...
cdc9e6b6d8
Remove ArrayKeysAndInArrayToArrayKeyExistsRector as narrow, does not check variable usage and might be on purpose (#4084 )
2023-06-05 13:46:42 +00:00
Tomas Votruba
18f8207b59
Updated Rector to commit 861022a70bd9f9c8b91f20c7dfacb0d297d33e9a
...
861022a70b
Remove RemoveAlwaysTrueConditionSetInConstructor, as overly specific and not practical; better handle with PHPStan (#4065 )
2023-06-04 17:57:18 +00:00
Tomas Votruba
936365906d
Updated Rector to commit 1d8b12dc022dc4ff9c9c26a2fc1ea409027d271b
...
1d8b12dc02
Remove NormalizeNamespaceByPSR4ComposerAutoloadRector as only moves files to namespaces, does not update any class referenes; better use IDE here (#4057 )
2023-06-03 16:37:32 +00:00
Tomas Votruba
9a2931cbe4
Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
...
bdc2fc9963
[NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037 )
2023-06-01 08:56:46 +00:00
Tomas Votruba
df2ad70dd3
Updated Rector to commit 4c782243fdb6b03474faa0076800048cb3ef0de9
...
4c782243fd
Remove ChangeReadOnlyPropertyWithDefaultValueToConstantRector as overly detailed checks, better use PHPStan and refactor individually (#4028 )
2023-05-30 13:09:27 +00:00
Tomas Votruba
99ac9186fd
Updated Rector to commit 25ae1d85be40243e03c950de3ac15af7b5b5d3b2
...
25ae1d85be
Remove TokenGetAllToObjectRector, as rare to use and leaky to handle, better handle in controller manual way (#4001 )
2023-05-28 16:12:02 +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
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
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
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
62ef1326dc
Updated Rector to commit 8a74ea74d5501f5f850632c834878468eaa39b8e
...
8a74ea74d5
[DeadCode] Remove RemoveDuplicatedInstanceOfRector as hardly practical (#3936 )
2023-05-23 13:59:54 +00:00
Tomas Votruba
96fc00fd8e
Updated Rector to commit 3c69a0f9d7b075cef7e0e382eee94234f3629efa
...
3c69a0f9d7
Remove AddPregQuoteDelimiterRector as very narrow area and has not context awareness, better handle manually (#3927 )
2023-05-22 13:43:31 +00:00
Tomas Votruba
8724ff4d63
Updated Rector to commit 392d81f7b01253711f7aa48344673b5f01b1c325
...
392d81f7b0
[DeadCode] Remove RemoveDuplicatedIfReturnRector as can lead to unexpeced consequences, better use static analysis and contextual handling (#3926 )
2023-05-22 13:11:03 +00:00
Tomas Votruba
e59b9e0910
Updated Rector to commit a813b1747dc78a40a22c993b1d8ebbc47e261298
...
a813b1747d
Remove ChangeOrIfReturnToEarlyReturnRector as makes code harder to read by duplication, rather use PHSPtan and extract method (#3916 )
2023-05-22 07:55:47 +00:00
Tomas Votruba
c6385617d2
Updated Rector to commit a4d6d414fb2f6ce98c792178895ab01664fab358
...
a4d6d414fb
[TypeDeclaration] Add BoolReturnTypeFromStrictScalarReturnsRector (#3898 )
2023-05-19 15:03:57 +00:00
Tomas Votruba
5a424135e9
Updated Rector to commit a8fdf00925e9b46f3372da01d90d52780d1e802a
...
a8fdf00925
[PHP 7.0] Add IfIssetToCoalescingRector (#3878 )
2023-05-17 09:47:50 +00:00
Tomas Votruba
1b8d2812ef
Updated Rector to commit c8f697b16d888505c2bfbbcaba1665402091159b
...
c8f697b16d
Remove ToStringToMethodCallRector as not practical and only for demo, FalseReturnClassMethodToNullableRector, as requires detailed custom refactoring (#3854 )
2023-05-15 13:05:02 +00:00
Tomas Votruba
dca2603280
Updated Rector to commit f5d809ca431215d512bb0ba3894bab4543afb396
...
f5d809ca43
[CodingStyle] Remove AddFalseDefaultToBoolPropertyRector, as works with unrelaible docblocks (#3856 )
2023-05-15 12:19:44 +00:00
Tomas Votruba
281f59d306
Updated Rector to commit 7f49261e293df93ac9a81dd49e59ad4abed9ed41
...
7f49261e29
Make ReturnNeverTypeRector work with type declaration, add it to PHP 8.1 set (#3852 )
2023-05-14 22:40:25 +00:00
Tomas Votruba
270692ae54
Updated Rector to commit 0a7be603fcc467ac3956081bf83db9c0d5350eee
...
0a7be603fc
Remove MakeTypedPropertyNullableIfCheckedRector as old fix of TypedPropertyRector rule, removed months ago (#3851 )
2023-05-14 16:14:48 +00:00
Tomas Votruba
18b46b9b72
Updated Rector to commit 656836093ea0abd96860af062fdf6f67afe1f504
...
656836093e
[CodeQuality] Deprecate NarrowUnionTypeDocRector as focused on docblocks, and moving to type declarations (#3848 )
2023-05-14 15:57:29 +00:00