16466 Commits

Author SHA1 Message Date
Tomas Votruba
2e76492c3b Updated Rector to commit a0af8a1a1133943062fc438d11af7436bd74929d
a0af8a1a11 Improve methods complexity (#4542)
2023-07-19 11:50:09 +00:00
Tomas Votruba
3c068fde65 Updated Rector to commit 38897821c8176689dbe60f649b02669c7ee37253
38897821c8 Add test fixture for OptionalParametersAfterRequiredRector (#4541)
2023-07-19 11:23:09 +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
8d3877fbc0 Updated Rector to commit 6e12886d2444da1471112c2d155fdaaa09ce3d41
6e12886d24 [Scope] Pull Scope from Node instead of origNode on Abstract*Rector take 2 (#4538)
2023-07-19 10:44:22 +00:00
Tomas Votruba
470b97fa36 Updated Rector to commit 8e33c93f61b403f62628e32f566ef4387db05ffc
8e33c93f61 Update class-leak package (#4534)
2023-07-19 10:42:43 +00:00
Tomas Votruba
58d5c38f57 Updated Rector to commit 6451387bb657ce665f47acb4aa1c64be7153677d
6451387bb6 [Performance][TypeDeclaration] Reduce resolve ClassReflection from Property on AllAssignNodePropertyTypeInferer (#4539)
2023-07-19 10:37:33 +00:00
Tomas Votruba
7e9abb6ee1 Updated Rector to commit d0604509d0c3e22a29d1f3f174873e7c7596abb4
d0604509d0 [Performance] [TypeDeclaration] Reduce resolve ClassReflection on each property on TypedPropertyFromStrictConstructorRector (#4536)
2023-07-19 10:37:14 +00:00
Tomas Votruba
0fc823c862 Updated Rector to commit bda645d0ab5e26f21a4c56fbaaffed719ff187d2
bda645d0ab [Strict] Add $hasChanged flag on BooleanInIfConditionRuleFixerRector (#4535)
2023-07-19 10:36:49 +00:00
Tomas Votruba
f7109e0cbd Updated Rector to commit 490bd72c85d61feaf426d51d61bf9d04d40a418e
490bd72c85 [Performance][NodeManipulator] Avoid loop on search first variable named on next sliced next stmts on StmtsManipulator (#4537)
2023-07-19 10:36:07 +00:00
Tomas Votruba
f6c482799f Updated Rector to commit b75b5d396f0d0c04242a1fb7fb44f03376f4d8e7
b75b5d396f ReturnTypeFromStrictTernaryRector: Support complex ternaries (#4515)
2023-07-18 09:23:51 +00:00
Tomas Votruba
8701fc25cc Updated Rector to commit 5a9315aab0e60e7a8086beb1c6891de678b2f003
5a9315aab0 Refactor MyCLabs\Enum\Enum::equals calls to comparisons (#4532)
2023-07-18 07:48:48 +00:00
Tomas Votruba
5aeca28e79 Updated Rector to commit 56068f8571e4b8325617fa72012e58783bd03d46
56068f8571  [EarlyReturn] Skip append variable on PreparedValueToEarlyReturnRector  (#4530)
2023-07-17 04:39:26 +00:00
Tomas Votruba
34b2975e47 Updated Rector to commit cebcea0a9aae472a64f80608d88e79a91797a67d
cebcea0a9a Support class-const-fetch in ReturnTypeFromStrictTypedCallRector (#4520)
2023-07-17 03:49:59 +00:00
Tomas Votruba
21ca2cb895 Updated Rector to commit cebcea0a9aae472a64f80608d88e79a91797a67d
cebcea0a9a Support class-const-fetch in ReturnTypeFromStrictTypedCallRector (#4520)
2023-07-16 20:38:11 +00:00
Tomas Votruba
5cb3704127 Updated Rector to commit 818503e3467c86f5c39ace76a94c199f7d2f6595
818503e346 Fix wrong results in RemoveAlwaysElseRector (#4527)
2023-07-16 06:15:25 +00:00
Tomas Votruba
1ff5e14615 Updated Rector to commit 3b5db0a316f6c56cab67da53c9cf0de669dca652
3b5db0a316 [Php81][Php82][Privatization] Handle extends non-readonly class on ReadOnlyPropertyRector+ReadOnlyClassRector+FinalizeClassesWithoutChildrenRector (#4524)
2023-07-16 05:53:07 +00:00
Tomas Votruba
8525cf1533 Updated Rector to commit 1da1e62cc92be1df0d51f5a69d0d3d865918426d
1da1e62cc9 [automated] Apply Coding Standard (#4526)
2023-07-16 00:38:58 +00:00
Tomas Votruba
adf832499e Updated Rector to commit 654c35f5c4aa9df3fc595dd8adf7738ec4908f37
654c35f5c4 [automated] Re-Generate Nodes/Rectors Documentation (#4525)
2023-07-16 00:38:13 +00:00
Tomas Votruba
22756db413 Updated Rector to commit 5a3a7cd9f396c34105fab96a8b55786514b9e230
5a3a7cd9f3 [Application] Move filter files by config extensions to FileFactory (#4522)
2023-07-15 12:20:24 +00:00
Tomas Votruba
191ead1e48 Updated Rector to commit 45c46ddf40f27d0d2793c6bd99b66c91a8fdf4f8
45c46ddf40 [DX] Fix hang on twice run after all files processed cached (#4521)
2023-07-15 12:11:58 +00:00
Tomas Votruba
9965650f0e Updated Rector to commit e77f6d21a97319f57f11a7e6eae9b583fe425c1e
e77f6d21a9 [ApplicationFileProcessor] Refactor ApplicationFileProcessor to filter file paths early before run both parallel and non-parallel (#4519)
2023-07-15 00:49:23 +00:00
Tomas Votruba
d67f0e438d Updated Rector to commit 9217e0da232258fecb049c6a08d165ebe70aa36b
9217e0da23 [ChangesReporting] Reuse defined errors vairable on ConsoleOutputFormatter (#4517)
2023-07-14 20:08:01 +00:00
Tomas Votruba
3da291ebaf Updated Rector to commit d41685daa403a71dd3cd78fce5205a2a3048cba4
d41685daa4 [DX] Show progress bar 100% on RectorConsoleOutputFormatter::report() (#4516)
2023-07-14 19:51:55 +00:00
Tomas Votruba
64e611b1e2 Updated Rector to commit f056974ae2a1452c7cbf38f7ddcbdd29f8f21b89
f056974ae2 Typo fix (#4514)
2023-07-14 19:09:08 +00:00
Tomas Votruba
51814c6825 Updated Rector to commit f5820a0b5f742d725cd5fde4af48b2538b0e9541
f5820a0b5f [Performance] Use filtered filePaths from ApplicationFileProcessor::configurePHPStanNodeScopeResolver on WorkerRunner::run()  (#4513)
2023-07-14 18:35:37 +00:00
Tomas Votruba
5a2fb08bac Updated Rector to commit d5e448d37dab6eb9352907aaaf82626207181be1
d5e448d37d [TypeDeclaration] Null stmts check early on ReturnTypeFromStrictParamRector (#4512)
2023-07-14 17:47:57 +00:00
Tomas Votruba
70b8468a69 Updated Rector to commit 875b2a319f2d01db4ca0d64a6a15d497117f70c8
875b2a319f Implement ReturnTypeFromStrictParamRector (#4501)
2023-07-14 16:16:08 +00:00
Tomas Votruba
267a05386e Updated Rector to commit b3c4aff2ad46d78c1c03800c7301129601aefc4e
b3c4aff2ad Support literals in ReturnTypeFromStrictTypedCallRector (#4511)
2023-07-14 13:32:55 +00:00
Tomas Votruba
f566e4f4b4 Updated Rector to commit f33da13f566d733549bce0a1173cca8433b7ef05
f33da13f56 Support final methods in ClassMethodReturnTypeOverrideGuard (#4509)
2023-07-14 13:31:54 +00:00
Tomas Votruba
3e8e67ac99 Updated Rector to commit 4e016abd43fa853c69b1454d378a32a1bb0fa0ae
4e016abd43 coding standard
2023-07-14 10:37:52 +00:00
Tomas Votruba
ec40080b9b Rector 0.17.6 0.17.6 2023-07-14 09:54:15 +00:00
Tomas Votruba
b42f14508b Updated Rector to commit baa394358b3dc76f6db5a003b226948ab9b32045
baa394358b Micro optimizations: cheap checks first (#4510)
2023-07-14 09:46:43 +00:00
Tomas Votruba
a09f711e9b Updated Rector to commit a12242df2ad756d59d6f214b3f727dedc0598704
a12242df2a [AstResolver][Performance] Remove unnecessary double File read on AstResolver::parseFileNameToDecoratedNodes() (#4508)
2023-07-13 20:32:24 +00:00
Tomas Votruba
ea78b6c7c5 Updated Rector to commit a12242df2ad756d59d6f214b3f727dedc0598704
a12242df2a [AstResolver][Performance] Remove unnecessary double File read on AstResolver::parseFileNameToDecoratedNodes() (#4508)
2023-07-13 18:08:47 +00:00
Tomas Votruba
1463cdd31a Updated Rector to commit d64a761597a5e2f8b9158c770dcad5de08286f69
d64a761597 [Php70] Remove $scope->isInClass on Php4ConstructorRector (#4507)
2023-07-13 16:34:50 +00:00
Tomas Votruba
6f18436957 Updated Rector to commit 8537bbd52a5b9d8aa619326b750df6dcb1b30f32
8537bbd52a [DeadCode] Skip append += assignment on RemoveUnusedPrivatePropertyRector (#4506)
2023-07-13 16:05:50 +00:00
Tomas Votruba
4da4f21668 Updated Rector to commit 8537bbd52a5b9d8aa619326b750df6dcb1b30f32
8537bbd52a [DeadCode] Skip append += assignment on RemoveUnusedPrivatePropertyRector (#4506)
2023-07-13 15:37:09 +00:00
Tomas Votruba
ef7c42a7c7 Updated Rector to commit 398baa2c6aa2af11d0a391bd0d2a71dfb71eebcf
398baa2c6a [CI] Add doctrine rules in set check (#4505)
2023-07-13 14:15:29 +00:00
Tomas Votruba
0a29dbd455 Updated Rector to commit 398baa2c6aa2af11d0a391bd0d2a71dfb71eebcf
398baa2c6a [CI] Add doctrine rules in set check (#4505)
2023-07-13 13:50:29 +00:00
Tomas Votruba
5cbdbd7d21 Updated Rector to commit 295a01c49f086ab6c442f4287d0dded308cc8a6e
295a01c49f [NodeTypeResolver] Remove nestedChainMethodCallLimit() for deep method call counter check (#4504)
2023-07-13 12:53:07 +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
c91f8a31e9 Updated Rector to commit acfb19cac07b3002b66c47bf145898ed8a4b3ee9
acfb19cac0 [NodeTypeResolver] Remove AttributeKey::IS_ISSET_VAR from ContextNodeVisitor (#4503)
2023-07-13 12:32:48 +00:00
Tomas Votruba
abc02d7405 Updated Rector to commit 898d599f519a0656edad257da6e8008ff1e7260b
898d599f51 [NodeTypeResolver] Remove AttributeKey::IS_RETURN_EXPR from ContextNodeVisitor (#4502)
2023-07-13 12:25:49 +00:00
Tomas Votruba
77dec4163c Updated Rector to commit a10ddea5d14f8fbdf21366dbfd20defef01f64db
a10ddea5d1 let phpunit handle its own empty method rule
2023-07-13 11:09:22 +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
af5d6b0384 Updated Rector to commit 05c9d9a6bcfbf2d28bb301aa8c3f64709a8e2395
05c9d9a6bc [CI] Add PHPUnit 10 to check rules and sets groups (#4500)
2023-07-13 10:28:45 +00:00
Tomas Votruba
1b09b3544d Updated Rector to commit 9312d25e6d1be520d732af43844093d81139a9d5
9312d25e6d Move Rector order test to PHPUnit, as uses its rules (#4499)
2023-07-13 10:24:26 +00:00
Tomas Votruba
ccf7bb9270 Updated Rector to commit 5d942a0f7ee68dee11b4fb6dd72a78f6bbe938a0
5d942a0f7e Add PHPUnit to sets (#4495)
2023-07-13 10:23:36 +00:00
Tomas Votruba
78bf7df696 Updated Rector to commit 54826059d1d559be54053bac1913c8eb6940fdb8
54826059d1 Cleanup RecastingRemovalRector tests (#4498)
2023-07-13 10:16:17 +00:00