Commit Graph

16508 Commits

Author SHA1 Message Date
Tomas Votruba
0e76101aa3 Rector 0.17.7 2023-07-23 20:44:23 +00:00
Tomas Votruba
94b97948c5 Updated Rector to commit 079cd5116ab16585e9b656ad7cd6eef8417137ef
079cd5116a cs
2023-07-23 16:22:04 +00:00
Tomas Votruba
6ce5f37b28 Updated Rector to commit 2afa47cd68086b61cb2363bcfb5553eb8767b50c
2afa47cd68 [StaticTypeMapper] Remove standalone false handling on StaticTypeMapper (#4582)
2023-07-23 16:14:28 +00:00
Tomas Votruba
f955a2ddf9 Updated Rector to commit 07934c889213adc8a63a4db60b23575440da30c9
07934c8892 [PHPStanStaticTypeMapper] Remove manual type check on PHPStanStaticTypeMapper (#4583)
2023-07-23 16:13:59 +00:00
Tomas Votruba
1191015c78 Updated Rector to commit a8ae2d8c2a92536f95a70dc99eaebb01168c4a6f
a8ae2d8c2a implemented TypedPropertyFromStrictConstructorReadonlyClassRector (#4552)
2023-07-23 16:12:36 +00:00
Tomas Votruba
f8344bbd9a Updated Rector to commit c12703def127562155efcee2c348ca3a4d08c170
c12703def1 Simplify TypedPropertyFromStrictConstructorRector (#4587)
2023-07-23 11:23:26 +00:00
Tomas Votruba
ba5cf50887 Updated Rector to commit 1cae44fcd3cac21d4d8064235d6feebe860be7cd
1cae44fcd3 Fix fixture namespace test for FinalizeClassesWithoutChildrenRector (#4586)
2023-07-23 09:45:45 +00:00
Tomas Votruba
855f7c2503 Updated Rector to commit 50a5bb4057387d3053c5ea1ecf22286ea04dff36
50a5bb4057 [BUGFIX] Ensure proper reprint with attributes for finalized classes (#4585)
2023-07-23 09:42:10 +00:00
Tomas Votruba
9e3dde0cb2 Updated Rector to commit a7cd7eda65894aea11ca012cac8ea4a29fb0a051
a7cd7eda65 [EarlyReturn] Handle multiple statements in else in ChangeIfElseValueAssignToEarlyReturnRector (#4580)
2023-07-22 13:10:50 +00:00
Tomas Votruba
174847774d Updated Rector to commit c94645b3ab7debe9c00531597c1b896080a2cf9d
c94645b3ab [Performance] [PostRector] Reduce repetitive resolve uses statements on NameImportingPostRector (#4579)
2023-07-22 10:56:32 +00:00
Tomas Votruba
a45078fe96 Updated Rector to commit 4882807e5be5c2fc04079d387e49e44c694a6492
4882807e5b [Performance][BetterPhpDocParser] Remove unused ConstExprNode check on ConstExprClassNameDecorator (#4578)
2023-07-22 01:36:39 +00:00
Tomas Votruba
2393cef9e8 Updated Rector to commit b49a243e03f3d89b92c8026548e1533e3017e3aa
b49a243e03 Fix array mapping (#4576)
2023-07-21 21:34:39 +00:00
Tomas Votruba
e785af2045 Updated Rector to commit cf1d254200cd2d456b701e201c625c8245e123d7
cf1d254200 Make use of toPhpDocNode() - take #11 (#4574)
2023-07-21 21:26:11 +00:00
Tomas Votruba
2d8f90877a Updated Rector to commit 4a5616878c580138a26e1eedf63c15fa8e0dcda8
4a5616878c Make ReturnTypeFromStrictNewArrayRector handle only single level arrays (#4575)
2023-07-21 21:08:31 +00:00
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