16494 Commits

Author SHA1 Message Date
Tomas Votruba
ddde48c977 Updated Rector to commit 3ff83e52db13fd98dcde85b1d2d53f7db80b875b
3ff83e52db Make use of toPhpDocNode() - take #9 (#4572)
2023-07-21 14:25:32 +00:00
Tomas Votruba
06ce8e9fc4 Updated Rector to commit 6cd3eecc07d3321f76235c7a07a765e510157af6
6cd3eecc07 Make use of toPhpDocNode() - take #8 (#4570)
2023-07-21 14:16:11 +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
1721b7d304 Updated Rector to commit bff797fe086caa492f421e74370add4ca78fd191
bff797fe08 Make use of toPhpDocNode() - take #6 (#4568)
2023-07-21 11:23:59 +00:00
Tomas Votruba
62fb16f0e0 Updated Rector to commit 2e0ce286cb84cc202d17b293de3d59f89b9c4112
2e0ce286cb Make use of toPhpDocNode() - take #5 (#4567)
2023-07-21 11:06:18 +00:00
Tomas Votruba
2225eba547 Updated Rector to commit efce1c7da2937d77c41a842c64beea88c5336bbe
efce1c7da2 StaticMapper: added fast path for IdentifierTypeNode (#4565)
2023-07-21 10:14:48 +00:00
Tomas Votruba
9126553304 Updated Rector to commit 8a000b797953910b2312c1ebacaf42db024bc1ef
8a000b7979 [Performance][Renaming] No need PhpDocInfo refactor on Name node on ClassRenamer (#4566)
2023-07-21 10:01:43 +00:00
Tomas Votruba
781ecd4a06 Updated Rector to commit 2faa19f25fc05b98515b280d38241d688909511b
2faa19f25f [Performance][PostRector] Remove alias exists check on NameImporter called from NameImportingPostRector (#4564)
2023-07-21 08:39:06 +00:00
Tomas Votruba
4077cf0585 Updated Rector to commit d17ef04059a72836772e44bd9664ee64fbc1f3c0
d17ef04059 NameImportingPhpDocNodeVisitor: Cheap checks first (#4563)
2023-07-21 08:12:46 +00:00
Tomas Votruba
7f18bf8c29 Updated Rector to commit ff74e1000b87a53131af5957b69a635f6040ccc1
ff74e1000b Prevent unnecessary scope creation (#4562)
2023-07-21 07:30:10 +00:00
Tomas Votruba
ad6f93a19d Updated Rector to commit 1411c048b31beeb040986e1c553d3508b17b4a31
1411c048b3 [CodeQuality] Skip pull property from inner class on CompleteDynamicPropertiesRector (#4561)
2023-07-20 23:57:52 +00:00
Tomas Votruba
03ebf9676c Updated Rector to commit ef6aa9efa5392f2b799d0c5cb38205ee9c119a75
ef6aa9efa5 Make use of toPhpDocNode() - take #4 (#4559)
2023-07-20 22:19:40 +00:00
Tomas Votruba
b74932fd33 Updated Rector to commit 1ed4cf9c87b9898148161af76fec9274083d9a27
1ed4cf9c87 Make use of toPhpDocNode() - take #3 (#4557)
2023-07-20 21:57:01 +00:00
Tomas Votruba
a40539cb31 Updated Rector to commit f403ca026144fc810918f6eb6178ea88f16c0641
f403ca0261 [Performance] [PostRector] Only check phpdocinfo on Stmt and Param on NameImportingPostRector (#4558)
2023-07-20 21:10:17 +00:00
Tomas Votruba
26ecf7bcdf Updated Rector to commit e90812c07277304a4b57b62058f6d61ce9a11833
e90812c072 Make use of toPhpDocNode() - take #2 (#4555)
2023-07-20 20:15:24 +00:00
Tomas Votruba
45ea7eeb2a Updated Rector to commit 7b2f2e8f866a4f7f32e37e37180d401a4b2cc199
7b2f2e8f86 Skip traits in CountOnNullRector (#4556)
2023-07-20 19:10:29 +00:00
Tomas Votruba
b1bb02fc44 Updated Rector to commit ebe8c2ef975c2173e21f027486d00f6ec121c264
ebe8c2ef97 Add constuctor support to ReplaceArgumentDefaultValueRector (#4554)
2023-07-20 15:30:52 +00:00
Tomas Votruba
2b435e3666 Updated Rector to commit bbe6ed0e1471c4f5394f524c477dfa2ada52d7e5
bbe6ed0e14 Fix space in paths (#4553)
2023-07-20 15:05:47 +00:00
Tomas Votruba
37853424d5 Updated Rector to commit 715a047989a3b2def0f9e62879c906da61e39cc6
715a047989 Skip description on same line, remove on next line as based on phpdoc-parser in RemoveUselessParamTagRector (#4551)
2023-07-20 12:07:25 +00:00
Tomas Votruba
5a211089b1 Updated Rector to commit 8c5507f3e83e70657f95ae9ccb6488732b0359f5
8c5507f3e8 [Strict] Skip empty() from param doc on DisallowedEmptyRuleFixerRector (#4550)
2023-07-20 11:36:45 +00:00
Tomas Votruba
51b2bd7a2e Updated Rector to commit 8c5507f3e83e70657f95ae9ccb6488732b0359f5
8c5507f3e8 [Strict] Skip empty() from param doc on DisallowedEmptyRuleFixerRector (#4550)
2023-07-20 11:22:15 +00:00
Tomas Votruba
20d3da40c6 Updated Rector to commit e2ec807d3c4b2529533bfac5eb2a2b6717fd58c2
e2ec807d3c [CodingStyle] Skip filled by construct on AddArrayDefaultToArrayPropertyRector (#4549)
2023-07-20 10:44:30 +00:00
Tomas Votruba
78d51cc3eb Updated Rector to commit 0ff50c06d0c90ed0a678fd56261ab40b25f8b29f
0ff50c06d0 [Reflection] Reduce Scope pulling on ReflectionResolver (#4548)
2023-07-20 07:43:17 +00:00
Tomas Votruba
2056f7b2b8 Updated Rector to commit f77e355f95de5ca8ac256bc975418ba498e72a57
f77e355f95 Use instanceof check on ClassReflection resolve (#4547)
2023-07-20 07:29:04 +00:00
Tomas Votruba
2a46c820ee Updated Rector to commit 141a94aa49a3f64e78e3dd2f2a4b1d91de425b8b
141a94aa49 [Performance] [Php74] Reduce ClassReflection lookup from property on PropertyTypeChangeGuard (#4545)
2023-07-20 07:24:15 +00:00
Tomas Votruba
12f401a463 Updated Rector to commit a2c12ab0db6bb7d6207ea5a5c63ef5e6426cf0f0
a2c12ab0db Bump to PHPStan 1.10.26 (#4546)
2023-07-20 05:58:46 +00:00
Tomas Votruba
14039a45c6 Updated Rector to commit 3b6671cb18097b9d2a2c3859ca6e59a75f641292
3b6671cb18 [PHPStan] Merge assert phpstan errors to one (#4544)
2023-07-19 12:07:20 +00:00
Tomas Votruba
20ccbb9b14 Updated Rector to commit 8cd004440909a267f4530e2a1c8d0a6228a6b3d9
8cd0044409 Tiny static fixes (#4543)
2023-07-19 12:01:40 +00:00
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