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
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
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
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
b42f14508b
Updated Rector to commit baa394358b3dc76f6db5a003b226948ab9b32045
...
baa394358b
Micro optimizations: cheap checks first (#4510 )
2023-07-14 09:46:43 +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
5df86ccec2
Updated Rector to commit 77167c7a1047f430b68f7b1063b5f2cb8dfa9830
...
77167c7a10
[Php52] Use instanceof check instead of compare object $newStmt === $caseStmt on ContinueToBreakInSwitchRector (#4494 )
2023-07-12 15:15:50 +00:00
Tomas Votruba
fe7bab8799
Updated Rector to commit c0983f1000c1ca67b23d6da0c7f43eede90d14db
...
c0983f1000
Skip coalsce assign in RemoveUnusedPrivatePropertyRector (#4491 )
2023-07-12 09:53:27 +00:00
Tomas Votruba
03be03391c
Updated Rector to commit d514a5ad79c530cf236308d4f7ab9254e2340996
...
d514a5ad79
Fix StrictArrayParamDimFetchRector on same named property (#4488 )
2023-07-12 08:37:36 +00:00
Tomas Votruba
7312a4cf9b
Updated Rector to commit d4be167d7e1bc3940db01d3a2096df7aa9cebe1c
...
d4be167d7e
Fix trait rename in Php4ConsturctorRector (#4487 )
2023-07-12 08:11:47 +00:00
Tomas Votruba
100d1e2fc8
Updated Rector to commit d4a432e7e490695a11daa32bce6bf20ab0d075f6
...
d4a432e7e4
Fix StrictArrayParamDimFetchRector on `is_*` calls (#4486 )
2023-07-12 08:02:53 +00:00
Tomas Votruba
db04f76104
Updated Rector to commit d78bfb44bebd32bd212a1f1ca43d2da51b22286d
...
d78bfb44be
[Strict] Fix DisallowedEmptyRuleFixerRector on empty string isset (#4485 )
2023-07-12 07:23:56 +00:00
Tomas Votruba
ae068885cc
Updated Rector to commit 3648297e5b2bc393b41fa85eba1028d3735dbaa6
...
3648297e5b
[CodeQuality][Php80] Handle infite loop swap params on RemoveUnusedVariableInCatchRector + OptionalParametersAfterRequiredRector (#4484 )
2023-07-11 23:50:02 +00:00