Commit Graph

32 Commits

Author SHA1 Message Date
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
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
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
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
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
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
d5b6ae034e Updated Rector to commit 5b17710c25
5b17710c25 [EarlyReturn] Returns array of If_ on ChangeOrIfReturnToEarlyReturnRector (#853)
2021-09-08 17:20:44 +00:00
Tomas Votruba
ec2e07443a Updated Rector to commit 49033cecc9
49033cecc9 [PostRector] Using NodesToAddCollector in Rector rules (#812)
2021-09-02 06:46:57 +00:00
Tomas Votruba
81454a9154 Updated Rector to commit 93f0232d7f
93f0232d7f Bump deps (#804)
2021-08-31 19:26:04 +00:00
Tomas Votruba
9c8dad9aed Updated Rector to commit 25d3555abd
25d3555abd [EarlyReturn] Clean up ChangeOrIfReturnToEarlyReturnRector skip check (#800)
2021-08-31 15:21:01 +00:00
Tomas Votruba
52dd92cc24 Updated Rector to commit 2e18cab758
2e18cab758 [EarlyReturn] Skip left or right is BooleanAnd on ChangeOrIfReturnToEarlyReturnRector (#799)
2021-08-31 15:10:56 +00:00
Tomas Votruba
d807beef93 Updated Rector to commit c42b1969ce
c42b1969ce [EarlyReturn] Handle Next Node is null on ChangeOrIfReturnToEarlyReturnRector (#798)
2021-08-31 13:22:32 +00:00
Tomas Votruba
d5b84771d3 Updated Rector to commit 4d60c23f7c
4d60c23f7c [EarlyReturn] Skip same return expr on ChangeOrIfReturnToEarlyReturnRector (#797)
2021-08-31 13:04:35 +00:00
Tomas Votruba
13cd556d23 Updated Rector to commit 654d4a2a2b
654d4a2a2b [EarlyReturn] Skip ChangeOrIfReturnToEarlyReturnRector on next node is null or return void (#796)
2021-08-31 12:32:29 +00:00
Tomas Votruba
96112cb1f0 Updated Rector to commit 2da49992cc
2da49992cc [Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
2021-07-05 22:50:18 +00:00
Tomas Votruba
121ea7f23d Updated Rector to commit 48784457eb
48784457eb Fix doctrine inflector bug downgrade (#388)
2021-07-05 15:06:41 +00:00
Tomas Votruba
a79e6f56df Updated Rector to commit ff1ad31d6a
ff1ad31d6a [PHP 7.2] Refactor DowngradeParameterTypeWideningRector to class method (#380)
2021-07-05 07:47:59 +00:00
Tomas Votruba
cdc3b7adef Updated Rector to commit f451b0b8e1
f451b0b8e1 [PHP 8.0] Bump to promoted properties (#4)
2021-05-10 23:39:21 +00:00
Tomas Votruba
7d36c3b0b9 Updated Rector to commit a80cf5292d
a80cf5292d revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7 Updated Rector to commit a7db1ad94d
a7db1ad94d use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
d56e7982d0 Updated Rector to commit dedd4b55fe
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
Tomas Votruba
31566dc869
Traverse phpdoc with use of PhpDocNodeVisitor (#6045)
* make use of new simple-php-doc-parser

* add ParamPhpDocNodeVisitor

* remove uneeded contracts

* skip bool instanceof

* [ci-review] Rector Rectify

* [ci-review] Rector Rectify

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-06 19:33:09 +02:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure (#5826) 2021-03-12 23:20:25 +01:00