Commit Graph

87 Commits

Author SHA1 Message Date
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
9b3b24049e Updated Rector to commit 83eef32f504c089d81d801d26a0355632bdc46b5
83eef32f50 [EarlyReturn] Reduce next attribute usage on ChangeAndIfToEarlyReturnRector (#3597)
2023-04-09 03:06: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
d17680f2a5 Updated Rector to commit d8aa22b6713269ddafa80679777b3de9a4f456dd
d8aa22b671 [Printer][EarlyReturn] Enable InlineHTML on RemoveAlwaysElseRector (#3387)
2023-02-16 20:39:52 +00:00
Tomas Votruba
c6aab80b28 Updated Rector to commit 3addb8f8783cb5efbbbc80ef2a7c143487d19398
3addb8f878 [EarlyReturn] Skip else has inline html on RemoveAlwaysElseRector (#2870)
2022-08-31 10:15:08 +00:00
Tomas Votruba
97851f1829 Updated Rector to commit c8e66ae94919163b425add82179c735dea44cd8f
c8e66ae949 [EarlyReturn] Skip indirect return with define variable after parent else on ChangeAndIfToEarlyReturnRector (#2836)
2022-08-24 12:02:12 +00:00
Tomas Votruba
1db8339e7c Updated Rector to commit 6306f9e8ecd8e367e7220b02a6613461a34dcc8a
6306f9e8ec [EarlyReturn] Skip ChangeAndIfToEarlyReturnRector in case of simple scalar return (#2826)
2022-08-24 08:11:57 +00:00
Tomas Votruba
6c1c0cfa19 Updated Rector to commit 54feb0dcfaeaafe177d1268ca2117a7fb1a7da1a
54feb0dcfa [EarlyReturn] Handle crash on assign in if else before on RemoveAlwaysElseRector (#2822)
2022-08-23 20:55:52 +00:00
Tomas Votruba
cc69a886a3 Updated Rector to commit 837c2262f13e5b8faffdb02c5d9fb701d581fa61
837c2262f1 [EarlyReturn] Do not remove previous If_ stmts on ChangeNestedIfsToEarlyReturnRector (#2820)
2022-08-23 16:18:17 +00:00
Tomas Votruba
8885e287b6 Updated Rector to commit b9cc90c058942d82f84a68f3d1971b2db6b1601d
b9cc90c058 Make use of new types by fixed rector/phpstan-rules extensions (#2748)
2022-08-09 19:37:14 +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
4f969ebd66 Updated Rector to commit c474c67319c9072b81dd9bcb1f4d6f201e1a1e4e
c474c67319 misc (#2678)
2022-07-19 18:25:44 +00:00
Tomas Votruba
c855f5df1c Updated Rector to commit 6d7404c65000caede512a5bc5a993f472e11cd0d
6d7404c650 Home cleaning with Exacat 😎 (#2676)
2022-07-18 15:25:27 +00:00
Tomas Votruba
fbcfb0e30f Updated Rector to commit b45066c505a7bd3569819cee71706ebf0f763b6e
b45066c505 [dx] remove direct assigns (#2617)
2022-07-03 12:14:45 +00:00
Tomas Votruba
bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +00:00
Tomas Votruba
bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba
aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba
a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba
7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba
beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba
060b1642ed Updated Rector to commit 55be345ca9
55be345ca9 Various improvements (#2291)
2022-05-11 17:53:44 +00:00
Tomas Votruba
aa0465d388 Updated Rector to commit 975fdf113f
975fdf113f [DX] Add StmtsAwareInterface to catch node by type (#2269)
2022-05-08 20:57:50 +00:00
Tomas Votruba
992aade98a Updated Rector to commit d89c23267c
d89c23267c [automated] Re-Generate Nodes/Rectors Documentation (#2262)
2022-05-08 00:33:36 +00:00
Tomas Votruba
f63eef01d0 Updated Rector to commit 2dd8c6b814
2dd8c6b814 [CodeQuality][DeadCode] Add For_, Closure, and Finally_, Case_, Catch_ to NodeTypeGroup::STMTS_AWARE (#2258)
2022-05-07 18:33:57 +00:00
Tomas Votruba
2786be52f6 Updated Rector to commit c2ade0583c
c2ade0583c [DX] Refactor ChangeNestedIfsToEarlyReturnRector to direct return (#2250)
2022-05-07 09:28:12 +00:00
Tomas Votruba
6a2c9a5de2 Updated Rector to commit 176d6d7e2a
176d6d7e2a Refactor ChangeAndIfToEarlyReturnRector to work with stmts (#2244)
2022-05-06 22:31:31 +00:00
Tomas Votruba
7a30fbb500 Updated Rector to commit c8b47df3e4
c8b47df3e4 [Core] Remove loop on FilesFinder::findInDirectoriesAndFiles() (#2201)
2022-04-30 06:41:39 +00:00
Tomas Votruba
5147929731 Updated Rector to commit 43aa4d91f7
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba
5c6eec2156 Updated Rector to commit 3596755157
3596755157 [EarlyReturn][Php80] Fix used along tweak between Php8ResourceReturnToObjectRector+ChangeOrIfReturnToEarlyReturnRector (#1984)
2022-04-01 05:37:14 +00:00
Tomas Votruba
7ede09fb94 Updated Rector to commit a375ee2641
a375ee2641 [Core][EarlyReturn][Php73] Fix used along tweak between JsonThrowOnErrorRector + ChangeAndIfToEarlyReturnRector (#1979)
2022-03-30 06:32:05 +00:00
Tomas Votruba
c91768f1b2 Updated Rector to commit 9660188944
9660188944 [phpstan] Add known array keys types (#1909)
2022-03-07 11:51:39 +00:00
Tomas Votruba
4b2d0513ec Updated Rector to commit 33158773d1
33158773d1 [EarlyReturn] Clean up unnecessary tweak on ChangeOrIfReturnToEarlyReturnRector (#1843)
2022-02-20 14:15:59 +00:00
Tomas Votruba
4fecedf316 Updated Rector to commit 5fa9dd95a1
5fa9dd95a1 [EarlyReturn] Refactor RemoveAlwaysElseRector to return array of Nodes to avoid node in else marked as removed (#1840)
2022-02-20 10:50:37 +00:00
Tomas Votruba
fd3e7425db Updated Rector to commit 4399f28ee1
4399f28ee1 [Core] Apply CREATED_BY_RULE attribute as array collection of applied Rector rule (#1600)
2021-12-31 10:33:05 +00:00
Tomas Votruba
143f4b8549 Updated Rector to commit b7da222d01
b7da222d01 [Php74] Skip protected property on final class with parent not loaded on TypedPropertyRector (#1560)
2021-12-24 20:47:54 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35b
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
058d52567d Updated Rector to commit c621d7650d
c621d7650d [TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector (#1447)
2021-12-10 09:57:54 +00:00
Tomas Votruba
c726969380 Updated Rector to commit fc10fce13d
fc10fce13d [Rectify] [Php81] Enable Rectify on Readonly Property only (#1384)
2021-12-04 12:47:17 +00:00
Tomas Votruba
eedc2efbf7 Updated Rector to commit cfae725119
cfae725119 Remove mixing workaround, not needed anymore (#1300)
2021-11-24 20:49:18 +00:00
Tomas Votruba
2d7c98b0a1 Updated Rector to commit bc5462b8ae
bc5462b8ae [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector + RemoveAlwaysElseRector (#1277)
2021-11-20 13:38:45 +00:00
Tomas Votruba
7e333cd42a Updated Rector to commit 7143376acb
7143376acb [EarlyReturn][Php73] Handle JsonThrowOnErrorRector + ChangeAndIfToEarlyReturnRector (#1272)
2021-11-19 09:08:20 +00:00
Tomas Votruba
ee85d297c4 Updated Rector to commit 8e6701c3c9
8e6701c3c9 Merge ParentFinder to BetterNodeFinder (#1168)
2021-11-06 14:57:23 +00:00
Tomas Votruba
a94a50e863 Updated Rector to commit e525dad6ab
e525dad6ab [PHPStan 1.0] Use Nette filesystem over phpstan filewriter (#1115)
2021-10-30 14:18:31 +00:00
Tomas Votruba
0334d1bfd6 Updated Rector to commit 6bcdc92198
6bcdc92198 [Php80] Add Php8ResourceReturnToObjectRector (#1068)
2021-10-27 14:59:18 +00:00
Tomas Votruba
070eedc010 Updated Rector to commit fd5edffa38
fd5edffa38 [TypeDeclaration] Add TypedPropertyFromStrictGetterMethodReturnTypeRector (#1048)
2021-10-23 21:09:26 +00:00
Tomas Votruba
e37558a911 Updated Rector to commit 600a3e9be1
600a3e9be1 [Core] Refactor AbstractRector (#959)
2021-10-18 19:19:09 +00:00
Tomas Votruba
93ca3f3280 Updated Rector to commit 0552b3a885
0552b3a885 [EarlyReturn] Handle continue/break in foreach with next return on ChangeAndIfToEarlyReturnRector (#946)
2021-10-01 18:08:07 +00:00
Tomas Votruba
e6b6f5b661 Updated Rector to commit a2a378e016
a2a378e016 [EarlyReturn] Refactor ChangeAndIfToEarlyReturnRector: return array of Nodes (#885)
2021-09-15 12:50:35 +00:00
Tomas Votruba
cdd58e83f2 Updated Rector to commit 6f0288df97
6f0288df97 [EarlyReturn] Refactor ChangeAndIfToEarlyReturnRector (#878)
2021-09-14 05:51:11 +00:00
Tomas Votruba
ca094bb20d Updated Rector to commit fa63510c6f
fa63510c6f [PHPStan] PHPStan fixes after update symplify (#876)
2021-09-13 15:56:50 +00:00