Tomas Votruba
4e35c1eafd
Updated Rector to commit 2d174631c410c5ec1767a28905206e2e678b546b
...
2d174631c4
[CodeQuality] Handle return new object and no return on ConsecutiveNullCompareReturnsToNullCoalesceQueueRector (#4112 )
2023-06-08 10:08:29 +00:00
Tomas Votruba
87fdd5999d
Updated Rector to commit 63816c03ac4b36a7fdaa28b5944a8fca9f9ed6b8
...
63816c03ac
[CodeQuality] Handle throw after if on ConsecutiveNullCompareReturnsToNullCoalesceQueueRector (#4107 )
2023-06-07 14:47:58 +00:00
Tomas Votruba
1f621e91a4
Updated Rector to commit 88eed987cc361166359c158ffd22d264d165aa8b
...
88eed987cc
Ensure check isFirstClassCallable() before node->getArgs() on CallLike (#4049 )
2023-06-02 12:32:12 +00:00
Tomas Votruba
9a2931cbe4
Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
...
bdc2fc9963
[NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037 )
2023-06-01 08:56:46 +00:00
Tomas Votruba
d3dfbb4638
Updated Rector to commit 2f84187dc1d6db09788adf8346339d6854902db5
...
2f84187dc1
Remove RenameNamespaceRector, better handle by IDE or explicit RenameClassRector (#3979 )
2023-05-26 21:28:23 +00:00
Tomas Votruba
d8c877db45
Updated Rector to commit 33d05d3b9ee7838d254edf58dbd05a355891b48b
...
33d05d3b9e
Refactor RenameVariableToMatchMethodCallReturnTypeRector to StmtsAwareInterface (#3977 )
2023-05-26 14:00:49 +00:00
Tomas Votruba
ab18d95c87
Updated Rector to commit e1f19806fb24f507172f8e8b17ebd51c159b3fe6
...
e1f19806fb
Remove NEXT_NODE from SimplifyIfReturnBoolRector (#3915 )
2023-05-21 15:34:58 +00:00
Tomas Votruba
0b0fda9095
Updated Rector to commit 99bdd27c00f0a27620f75eeeedc36bb3d505456b
...
99bdd27c00
[CodeQuality] Remove next attribute usage on SimplifyIfNullableReturnRector (#3866 )
2023-05-16 05:46:08 +00:00
Tomas Votruba
8dce3beed1
Updated Rector to commit c4bab4a7778e11715d720391c5daaa7a89e975ce
...
c4bab4a777
Remove next from ExplicitBoolCompareRector (#3857 )
2023-05-15 12:33:28 +00:00
Tomas Votruba
26bbf728d6
Updated Rector to commit d8da061308902cf4ef7a30963d5c9f32b6b9ec02
...
d8da061308
Make SimplifyIfNullableReturnRector + ChangeNestedIfsToEarlyReturnRector work without next/prev (#3794 )
2023-05-11 11:52:57 +00:00
Tomas Votruba
2cad3fa15d
Updated Rector to commit 76da9489fe16c5854d5fed29b81197940025e975
...
76da9489fe
Make ConsecutiveNullCompareReturnsToNullCoalesceQueueRector use of StmtsAwareInterface (#3783 )
2023-05-10 06:07:59 +00:00
Tomas Votruba
8af1a1213f
Updated Rector to commit 1e052f588331717f87a8d610db6eb7f89f8690d3
...
1e052f5883
[cleanup] Make use of getArgs(), remove ignored from phpstan (#3771 )
2023-05-08 12:54:32 +00:00
Tomas Votruba
af500df8f4
Updated Rector to commit f6c4edcd0c3feaad4abc075bae39474ac34bb82d
...
f6c4edcd0c
[CodeQuality] Add CleanupUnneededNullsafeOperatorRector (#3767 )
2023-05-08 10:34:10 +00:00
Tomas Votruba
39697489d4
Updated Rector to commit 5a32ed95b75b179e77c14a83a65f2eff1f1474b8
...
5a32ed95b7
[cleanup] Make use of getArgs(), remove ignores from phpstan.neon (#3770 )
2023-05-08 10:34:06 +00:00
Tomas Votruba
4bf474e653
Updated Rector to commit be53013ca3dff5b3eca8cdb3e688d744585e2557
...
be53013ca3
[CodeQuality] Remove SimplifyIfExactValueReturnValueRector, as overly defensive + InlineSimplePropertyAnnotationRector as purely coding standard area (#3764 )
2023-05-07 19:35:01 +00:00
Tomas Votruba
940a47a580
Updated Rector to commit 1e085a0c5a47243c624c46ff7397a80bf983f776
...
1e085a0c5a
[CodeQuality] Improve SimplifyIfElseToTernaryRector performance (#3721 )
2023-05-01 13:51:24 +00:00
Tomas Votruba
65abab80de
Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
...
5c1be93b80
PHP 8.2 is supported (#3717 )
2023-05-01 01:36:32 +00:00
Tomas Votruba
3f1c0e6187
Updated Rector to commit 9629890a306844ba49ea6689d58fbecb67a7980e
...
9629890a30
Use isInteger() (#3593 )
2023-04-09 00:51:38 +00:00
Tomas Votruba
2300088c0b
Updated Rector to commit 08660ad7077c86c3c86e7d1cbd14d9d7d71cb450
...
08660ad707
Use isFloat() (#3594 )
2023-04-09 00:39:59 +00:00
Tomas Votruba
a03a19aeca
Updated Rector to commit 273e4b43f1dbe84d426f4db5ab7ea9b0b1fea190
...
273e4b43f1
Use isBoolean() (#3591 )
2023-04-08 16:37:58 +00:00
Tomas Votruba
3da290e4ab
Updated Rector to commit dbb0e196a43d8c14a9de6abeef8fe081e95c51c2
...
dbb0e196a4
Revert all is* changes (#3584 )
2023-04-08 13:25:07 +00:00
Tomas Votruba
9d60770133
Updated Rector to commit e66317aeb276bb0b544e7b4b55057c9dab5fbb73
...
e66317aeb2
fix cs (#3579 )
2023-04-08 11:32:12 +00:00
Tomas Votruba
aaddfe2522
Updated Rector to commit 59cdfc8d814b094bffd814f4679c828cd45c7ec9
...
59cdfc8d81
Use isInteger() (#3571 )
2023-04-08 01:19:54 +00:00
Tomas Votruba
e7c7a40197
Updated Rector to commit 437cc5aa660262603343cdbb193e0a54abf9037e
...
437cc5aa66
Use isBoolean() (#3570 )
2023-04-08 01:12:35 +00:00
Tomas Votruba
be3c7cb235
Updated Rector to commit 46301c10a803d2b6727270a738e8c9c297b0b10c
...
46301c10a8
Use isFloat() (#3572 )
2023-04-08 00:59:02 +00:00
Tomas Votruba
9038a0d99c
Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
...
1a91d04c52
[CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544 )
2023-04-01 10:14:17 +00:00
Tomas Votruba
e96ee0ceef
Updated Rector to commit 48f84c3acc91d32e4b0fb9bcb4785acd0e1bcad2
...
48f84c3acc
[CodeQuality] Handle multiple ifs on SimplifyIfExactValueReturnValueRector (#3527 )
2023-03-27 20:20:32 +00:00
Tomas Votruba
4e1a8b2170
Updated Rector to commit d2459d13d512d780cc22f7822bf630717d888969
...
d2459d13d5
[CodeQuality] Remove next node attribute usage on SimplifyIfNotNullReturnRector (#3517 )
2023-03-25 05:15:57 +00:00
Tomas Votruba
0b3c5d9bcc
Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
...
f22ddc8f18
Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513 )
2023-03-23 23:21:34 +00:00
Tomas Votruba
d8c7bccf74
Updated Rector to commit 5d95d496e4a7583f355a228cca599cab60b09b41
...
5d95d496e4
[CodeQuality] Remove next node attribute usage on SimplifyIfExactValueReturnValueRector (#3511 )
2023-03-23 19:16:38 +00:00
Tomas Votruba
7d0f151a40
Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
...
a2cd7283fb
Typo fix comment php 7.3 compat on rector workflow (#3432 )
2023-03-01 13:00:30 +00:00
Tomas Votruba
f44d4bbee3
Updated Rector to commit b7b3a1dc2ea5c141aa1c48e626af10a31f832b77
...
b7b3a1dc2e
[CodeQuality] Handle deep comments merged on ShortenElseIfRector (#3419 )
2023-02-26 19:44:22 +00:00
Tomas Votruba
6f9bc2e5e6
Updated Rector to commit bac8c0691d7eee55e38924b49d7fac64f61456d8
...
bac8c0691d
[CodeQuality] Mirror comment on ShortenElseIfRector (#3334 )
2023-02-04 14:18:19 +00:00
Tomas Votruba
66cc09e8b6
Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
...
d118ae38e2
Use phpstan-deprecation-rules (#3330 )
2023-02-02 09:24:12 +00:00
Tomas Votruba
764b0a2692
Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
...
cb5b01223d
[automated] Re-Generate Nodes/Rectors Documentation (#3259 )
2023-01-01 00:36:31 +00:00
Tomas Votruba
6025307990
Updated Rector to commit c80cd6f1f03f6f4e1b1aee6504126699e6a06fe3
...
c80cd6f1f0
[TypeCoverage] Add EmptyOnNullableObjectToInstanceOfRector (#3230 )
2022-12-20 21:37:46 +00:00
Tomas Votruba
ff75474d25
Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
...
39f43c01cb
Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134 )
2022-12-01 14:10:32 +00:00
Tomas Votruba
18b5311e05
Updated Rector to commit fa9a953fc8df6d31c24b0415b177580f7edd4100
...
fa9a953fc8
[Php80] Skip possible numeric string switch cond with all integer case cond on ChangeSwitchToMatchRector (#3067 )
2022-11-15 20:31:43 +00:00
Tomas Votruba
b0ce719527
Updated Rector to commit 04257d3c76ee23722447433f07c8e5678ac9a07b
...
04257d3c76
Utilize Type->isArray() (#3065 )
2022-11-15 15:22:43 +00:00
Tomas Votruba
e05478f2e2
Updated Rector to commit e78e4727d513475187dae0300f78ef70043379f9
...
e78e4727d5
Utilize Type->isString() in rules/ (#3064 )
2022-11-15 00:01:27 +00:00
Tomas Votruba
ddc864eff4
Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
...
7b7d5a4b8b
Revert string specific identifier values on Type Mappers (#3024 )
2022-11-01 14:15:38 +00:00
Tomas Votruba
0f38f3753c
Updated Rector to commit af4cf28751f652d2ee1a8319d6cb39bf8614a1c1
...
af4cf28751
[DX] Use directly instanceof (#3021 )
2022-10-28 10:16:48 +00:00
Tomas Votruba
e87c848801
Updated Rector to commit ff4d797c73a51a3fb12cb644c6911ecd7313ec1b
...
ff4d797c73
[DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964 )
2022-10-02 20:24:31 +00:00
Tomas Votruba
62e856362b
Updated Rector to commit a39844ee53169fb0b6d1184672eeb1869a541dd2
...
a39844ee53
[misc] Add Expr type to value resolver, remove RemoveFuncCallRector as niche feature, cleanup ClassManipulator from unused methods (#2900 )
2022-09-03 08:03:15 +00:00
Tomas Votruba
6c20d257e3
Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
...
d3d18d442c
keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba
ac412ec638
Updated Rector to commit 9018492c75866aacc5a71329f921312d31772987
...
9018492c75
[CodeQuality] Remove SimplifyIfIssetToNullCoalescingRector, as overly complex and should be handled by manual context (#2828 )
2022-08-24 08:28:31 +00:00
Tomas Votruba
26bacab80c
Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
...
c0070b1d30
[CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752 )
2022-08-11 14:46:08 +00:00
Tomas Votruba
967bbc6b59
Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
...
c0070b1d30
[CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752 )
2022-08-11 14:29:35 +00:00
Tomas Votruba
f7bb838601
Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
...
f0425bc3cb
Improve scope, PHPStan extension types (#2747 )
2022-08-09 13:39:17 +00:00
Tomas Votruba
1d28ca109c
Updated Rector to commit 5ec4cff203f68d9578719b54ce3a145efb32bc79
...
5ec4cff203
[Php56] Handle jump not Expression stmt next initialized on AddDefaultValueForUndefinedVariableRector (#2725 )
2022-08-02 06:46:18 +00:00