4640 Commits

Author SHA1 Message Date
Tomas Votruba
10fc685b85 Updated Rector to commit 25b6142f69577a83fc86fd4a3ddad57af470ba26
25b6142f69 [TypeDeclaration] Do not change different type defualt value on  StrictStringParamConcatRector (#4635)
2023-08-03 14:28:47 +00:00
Tomas Votruba
d25543c727 Updated Rector to commit 90f871403d153509ddef0acffb1726532a44ae62
90f871403d [TypeDeclaration] Add Closure support on StrictStringParamConcatRector (#4634)
2023-08-03 14:19:22 +00:00
Tomas Votruba
8e45114f90 Updated Rector to commit 5965ddd37bf4e44553822ae16165c2de4b052f42
5965ddd37b [TypeDeclaration] Add Closure support on ReturnTypeFromStrictParamRector (#4633)
2023-08-03 14:19:00 +00:00
Tomas Votruba
3619383db1 Updated Rector to commit 79953f61e341fdb7263316b34eeaa2be737d12ef
79953f61e3 [TypeDeclaration] Add Closure support on StrictArrayParamDimFetchRector (#4632)
2023-08-03 14:04:39 +00:00
Tomas Votruba
59b728d5fa Updated Rector to commit 36e88e13e5d41db048494b497d59ae0e96c877f0
36e88e13e5 [TypeDeclaration] Add Closure support on NumericReturnTypeFromStrictScalarReturnsRector (#4631)
2023-08-03 13:56:06 +00:00
Tomas Votruba
c0798d5cca Updated Rector to commit a63ad695ca6b86b460c425a65762778329ca577f
a63ad695ca [TypeDeclaration] Skip has parent class method on AddParamTypeFromPropertyTypeRector (#4627)
2023-08-02 08:12:09 +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
d9fb45c92e Updated Rector to commit e8bba86e071c527045951c0ed5edd852d80776af
e8bba86e07 Fix string type on StrictArrayParamDimFetchRector (#4623)
2023-07-30 17:06:57 +00:00
Tomas Votruba
3598a7608a Updated Rector to commit 8c623868b748427ce186a1b3b892a7bca9860483
8c623868b7 [automated] Apply Coding Standard (#4621)
2023-07-30 00:32:15 +00:00
Tomas Votruba
87451f1fce Updated Rector to commit 784894e8ed4260ae3c8d45a28e007f4b6fe98f4d
784894e8ed [CodingStyle] Handle crash on empty cases on BinarySwitchToIfElseRector (#4618)
2023-07-29 09:44:46 +00:00
Tomas Votruba
1d52a6cf83 Updated Rector to commit 682df75fc015d0f267780ec5363aa74f82dba58b
682df75fc0 [CodingStyle][Namespace_] Support constant imports (#4612)
2023-07-28 13:10:47 +00:00
Tomas Votruba
4082c75546 Updated Rector to commit db03c60a5725e8f82d6b800c4745bc259ee470ac
db03c60a57 [Php81] Fix regression skip call by ref on ReadOnlyPropertyRector on non __construct method (#4614)
2023-07-27 09:43:37 +00:00
Tomas Votruba
8424a957a3 Updated Rector to commit 0b96adb72c8ddded52c34dc0ea8a6d2bb7327511
0b96adb72c AddMethodCallBasedStrictParamTypeRector: Support changing protected methods in final classes (#4611)
2023-07-27 07:54:50 +00:00
Tomas Votruba
07dd65650f Updated Rector to commit 3a95b1436575815cfc442baf137a2a6a24100cdd
3a95b14365 [TypeDeclaration] Add Closure support on BoolReturnTypeFromStrictScalarReturnsRector (#4610)
2023-07-27 04:15:19 +00:00
Tomas Votruba
279fea6a57 Updated Rector to commit b5f973f768f2bb55ca4b224a58a05eb5817b2cae
b5f973f768 [Strict] Skip @return docblock on BooleanInIfConditionRuleFixerRector (#4609)
2023-07-26 15:22:33 +00:00
Tomas Votruba
1df6d4abb3 Updated Rector to commit 65e6caedb37c1d447a4da1992a14b82c5aa41871
65e6caedb3 [Strict] Skip from docblock @return on DisallowedEmptyRuleFixerRector (#4608)
2023-07-26 14:44:50 +00:00
Tomas Votruba
abd2958b1c Updated Rector to commit c01925aad05a9baf0a44701a069a989ca3c0edc8
c01925aad0 Resolve native return-type from native union-type in short ternary (#4606)
2023-07-26 12:30:52 +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
f083e0de01 Updated Rector to commit 031f2de2b8043a972f1a19f07f06ad2fc9793df3
031f2de2b8 [Php81] Fix regression skip call by ref on ReadOnlyPropertyRector (#4593)
2023-07-25 04:02:12 +00:00
Tomas Votruba
b99d5e2373 Updated Rector to commit 6231beb886440a08b381ba85cb834f9ebedec752
6231beb886  [TypeDeclaration] Skip override string on StrictArrayParamDimFetchRector  (#4591)
2023-07-25 01:42:12 +00:00
Tomas Votruba
a89d98c36c Updated Rector to commit 6658a0e3950589eface36a82af5be21bef70bf11
6658a0e395 [TypeDeclaration] Skip coalesce on StrictArrayParamDimFetchRector (#4589)
2023-07-24 12:42:10 +00:00
Tomas Votruba
dd741c0c67 Updated Rector to commit e9e6a42eaea1006ac822ba72902806a7d6f7e508
e9e6a42eae Fixed constant types handling in TypedPropertyFromStrictConstructorRector (#4588)
2023-07-24 08:19:54 +00:00
Tomas Votruba
f2d74dd860 Updated Rector to commit 578d6372a2e2028f52e4635f6e321b690c1e383b
578d6372a2 [PHPStanStaticTypeMapper] FQCN for Closure type mapper  (#4584)
2023-07-23 23:31:30 +00:00
Tomas Votruba
94b97948c5 Updated Rector to commit 079cd5116ab16585e9b656ad7cd6eef8417137ef
079cd5116a cs
2023-07-23 16:22:04 +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
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
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
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
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
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
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
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
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
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
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