1
0
mirror of https://github.com/rectorphp/rector.git synced 2025-03-28 03:02:39 +01:00

1960 Commits

Author SHA1 Message Date
Tomas Votruba
cd0b3a7cca Updated Rector to commit 6e9378e3bf2a4ae78fb53d93e193be473ffcb5d4
6e9378e3bf [DX] Merge RectorOutputStyle, OutputStyleInterface to RectorStyle ()
2023-08-07 21:49:15 +00:00
Tomas Votruba
a68d89f0cc Updated Rector to commit 6f1f2676d45d2c514d567bdb52cfbb06c8b3db53
6f1f2676d4 [DX] Various injection and tests details improvement ()
2023-08-07 12:16:32 +00:00
Tomas Votruba
e3116ffed3 Updated Rector to commit 097785424d7239bf0166d1fddb3e2079ce4787c8
097785424d [TypeDeclaration] Allow __invoke() method for return type changed on ClassMethodReturnTypeOverrideGuard ()
2023-08-06 09:54:45 +00:00
Tomas Votruba
2a286e21bd Updated Rector to commit 6110a50ed0aaa58281e3b9de0a195f18bb782ba4
6110a50ed0 [TypeDeclaration] Skip anonymous class and other object on ReturnUnionTypeRector ()
2023-08-06 09:54:38 +00:00
Tomas Votruba
b390109355 Updated Rector to commit 4e3be87945bf57a1f4c7aaf51696c55ae7617054
4e3be87945 [TypeDeclaration][CodeQuality] Move ReturnTypeFromStrictScalarReturnExprRector from CodeQuality to TypeDeclaration set ()
2023-08-06 09:54:10 +00:00
Tomas Votruba
9ee8cf74ba Updated Rector to commit f10821b43226affce9e7f3b0085b231ff39940f1
f10821b432 [DX] Remove deprecated RectorConfigProvider, use SimpleParameterProvider instead ()
2023-08-06 00:09:08 +00:00
Tomas Votruba
35a2f175ea Updated Rector to commit 7a486532b23a9fd39d74ac16f45c27849d91870b
7a486532b2 [DX] Move FlipNegatedTernaryInstanceofRector to instanceof rules category ()
2023-08-05 23:50:25 +00:00
Tomas Votruba
9ccb6367c0 Updated Rector to commit 9b03d8367cd3c69b36b8b1aedf458b191f46655a
9b03d8367c [TypeDeclaration] Add ReturnUnionTypeRector ()
2023-08-05 10:29:33 +00:00
Tomas Votruba
84ff789c67 Updated Rector to commit 5ee441f4443d574788a34a849b0772d863bc6200
5ee441f444 [TypeDeclaration] Remove AddClosureReturnTypeRector ()
2023-08-03 16:38:29 +00:00
Tomas Votruba
aae549741f Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
0cb3fd0feb [Php73] Handle crash Type Error on JsonThrowOnErrorRector ()
2023-08-01 10:55:14 +00:00
Tomas Votruba
64fc640e30 Updated Rector to commit 00edfa77a0dcfabb55daca82e7e0b51063ad68e6
00edfa77a0 [TypeDeclaration] Add StrictStringParamConcatRector ()
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 ()
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 ()
2023-07-24 14:31:01 +00:00
Tomas Votruba
1191015c78 Updated Rector to commit a8ae2d8c2a92536f95a70dc99eaebb01168c4a6f
a8ae2d8c2a implemented TypedPropertyFromStrictConstructorReadonlyClassRector ()
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 ()
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 ()
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 ()
2023-07-19 10:53:43 +00:00
Tomas Votruba
70b8468a69 Updated Rector to commit 875b2a319f2d01db4ca0d64a6a15d497117f70c8
875b2a319f Implement ReturnTypeFromStrictParamRector ()
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 ()
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 ()
2023-07-11 15:52:31 +00:00
Tomas Votruba
6f70a13e76 Updated Rector to commit aac0f2a90922bcfe90a1918448dc6e80172beb62
aac0f2a909 Remove duplicated version_compare ReplaceFuncCallArgumentDefaultValue rule ()
2023-07-10 23:19:20 +00:00
Tomas Votruba
484c94d08a Updated Rector to commit 868612ae6bac93afe8d9aea8fd7d2fb6c6306991
868612ae6b [DX] Remove parent node from AbstractRector ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
2023-07-04 08:36:47 +00:00
Tomas Votruba
63da13d421 Updated Rector to commit 4a0008452981d918b6590b82cf8f2577b3aa8171
4a00084529 [automated] Apply Coding Standard ()
2023-07-02 00:37:53 +00:00
Tomas Votruba
6981c70c9a Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
9ed8c21b12 [DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector ()
2023-07-01 09:41:56 +00:00
Tomas Votruba
9718cf02a8 Updated Rector to commit 5a91bde755a1906e932d8346466c98101a31ec02
5a91bde755 [DX] Make autowired commands with tags ()
2023-06-30 16:53:55 +00:00
Tomas Votruba
687d1218b1 Updated Rector to commit 8324cf427656e1d81f8c0e782885ca65bf592481
8324cf4276 [TypeDeclaration] Add StrictArrayParamDimFetchRector ()
2023-06-30 16:33:30 +00:00
Tomas Votruba
48f3d4f73c Updated Rector to commit 3c823c71fe33485a439af676f6ea3ed100b06faa
3c823c71fe Remove duplicate ReturnNeverTypeRector rule ()
2023-06-30 10:36:30 +00:00
Tomas Votruba
f41e5dc13b Updated Rector to commit df459e711ae5bd8f359df40fbef863cc386bf107
df459e711a Handle AlwaysRememberedExpr in deep Expr ()
2023-06-21 09:44:12 +00:00
Tomas Votruba
a32e799655 Updated Rector to commit eaf68d45ead20912a9658dc5006f463e1063334a
eaf68d45ea [TypeDeclaration] Add NumericReturnTypeFromStrictScalarReturnsRector ()
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 ()
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 ()
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 ()
2023-06-10 18:53:37 +00:00
Tomas Votruba
53778ac6ff Updated Rector to commit 77aeaa4dcc2fc99070999af7a28d17c4d078a4b5
77aeaa4dcc Remove RemoveEmptyMethodCallRector as better handled by PHPStan ()
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 ()
2023-06-09 15:42:29 +00:00
Tomas Votruba
7ceca5a857 Updated Rector to commit bf2fe78378130e72970cd41c8a4cc2f1807ab951
bf2fe78378 Various cleanup ()
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 ()
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 ()
2023-06-08 17:22:43 +00:00
Tomas Votruba
7f654942fd Updated Rector to commit 18a2a0f37852ed6f5fb52c07e2c1137cf556f5b4
18a2a0f378 Add STRICT_BOOLEANS set ()
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 ()
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 ()
2023-06-08 14:20:09 +00:00