Tomas Votruba
84ff789c67
Updated Rector to commit 5ee441f4443d574788a34a849b0772d863bc6200
...
5ee441f444
[TypeDeclaration] Remove AddClosureReturnTypeRector (#4637 )
2023-08-03 16:38:29 +00:00
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
5a842dbce3
Updated Rector to commit c1e03db126ca74dc518aa4a0c9a04715e7f1cd44
...
c1e03db126
[cs] Re-run ECS dev version to try out regression (#4595 )
2023-07-25 08:52:39 +00:00
Tomas Votruba
d7e7f1eba1
Updated Rector to commit fcc32e5b0d7bb1314dc09a92fb9eeedc31295c51
...
fcc32e5b0d
Bump to phpdoc-parser 1.23 and fill construct() attributes (#4590 )
2023-07-24 14:31:01 +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
bff94f9200
Updated Rector to commit ceab6d71bb3436c1c613651a12af55954ab3f7bf
...
ceab6d71bb
Add currentStmt property on AbstractRector to allow pull Scope from it on deep Expr (#4437 )
2023-07-19 11:08:33 +00:00
Tomas Votruba
b9ed01d3be
Updated Rector to commit 972d7607f1c4ab8b733b91d7aa5020ce1b143538
...
972d7607f1
[Application] Merge process files on both parallel and non-parallel process (#4523 )
2023-07-19 10:53:43 +00:00
Tomas Votruba
70b8468a69
Updated Rector to commit 875b2a319f2d01db4ca0d64a6a15d497117f70c8
...
875b2a319f
Implement ReturnTypeFromStrictParamRector (#4501 )
2023-07-14 16:16:08 +00:00
Tomas Votruba
10b083fee2
Updated Rector to commit 295a01c49f086ab6c442f4287d0dded308cc8a6e
...
295a01c49f
[NodeTypeResolver] Remove nestedChainMethodCallLimit() for deep method call counter check (#4504 )
2023-07-13 12:47:15 +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
484c94d08a
Updated Rector to commit 868612ae6bac93afe8d9aea8fd7d2fb6c6306991
...
868612ae6b
[DX] Remove parent node from AbstractRector (#4465 )
2023-07-09 18:49:55 +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
abbf3c7b97
Updated Rector to commit fb0ae6dd929596556c2e7454068ecdec5e326378
...
fb0ae6dd92
[Performance] Add $hasUnreachableStatementNode flag on PHPStanNodeScopeResolver to ensure execute UnreachableStatementNodeVisitor only when it has (#4416 )
2023-07-04 13:33:50 +00:00
Tomas Votruba
7251a47b0d
Updated Rector to commit 93a4b2b15eec15c506ae55c25b23a40dd0390cff
...
93a4b2b15e
[NodeTypeResolver] Remove parent attribute on PHPStanNodeScopeResolver for after UnreachableStatementNode detector (#4415 )
2023-07-04 08:36:47 +00:00
Tomas Votruba
63da13d421
Updated Rector to commit 4a0008452981d918b6590b82cf8f2577b3aa8171
...
4a00084529
[automated] Apply Coding Standard (#4402 )
2023-07-02 00:37:53 +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
9718cf02a8
Updated Rector to commit 5a91bde755a1906e932d8346466c98101a31ec02
...
5a91bde755
[DX] Make autowired commands with tags (#4385 )
2023-06-30 16:53:55 +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
ff28aaca4c
Updated Rector to commit 21f8014b30f4a4230f787ca1698a2c53d6d5f18a
...
21f8014b30
[DI] Autowire annotation to attribute mapper via tags (#4190 )
2023-06-12 10:45:32 +00:00
Tomas Votruba
503a6059f8
Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
...
a8922f7431
skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +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
7ceca5a857
Updated Rector to commit bf2fe78378130e72970cd41c8a4cc2f1807ab951
...
bf2fe78378
Various cleanup (#4121 )
2023-06-08 19:43:06 +00:00
Tomas Votruba
2464e91763
Updated Rector to commit 754f2b31495ef47302a5db4783b2bf8b152ef2d0
...
754f2b3149
misc
2023-06-08 19:17:51 +00:00
Tomas Votruba
9b000bfc6d
Updated Rector to commit 827b364d7e72e17b5903c368bc82b8b9cf3faec6
...
827b364d7e
add commands optinally
2023-06-08 19:15:09 +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