2271 Commits

Author SHA1 Message Date
Tomas Votruba
10b65060a2 Updated Rector to commit cefe13feab65ddabdce51fc21d7d1effd5896287
cefe13feab fix rector rules overview dump location (#49)
2021-05-16 08:19:51 +00:00
Tomas Votruba
e368151c55 Updated Rector to commit 1baf2588ca556955b5e4d2e0bd47fb04e714b293
1baf2588ca Remove forgotten dump function
2021-05-15 13:30:44 +00:00
Tomas Votruba
80c6cbecea Updated Rector to commit fa8e59708b7c6c2916f5afeefef80ba90346152f
fa8e59708b Use local version resolver (#36)
2021-05-15 01:39:19 +00:00
Tomas Votruba
146dc7d680 Updated Rector to commit f2c0023dad9a6a955c0af1553148adedc7bdb011
f2c0023dad [PHP 8.1] Add MyClabs enum to native ENUM (#30)
2021-05-14 09:53:43 +00:00
Tomas Votruba
026b387779 Updated Rector to commit d01cbc1d5cfe0b779c18ccabc045a5d45ff94e13
d01cbc1d5c fixes
2021-05-13 09:56:07 +00:00
Tomas Votruba
1738c325d3 Updated Rector to commit b9e96e7f46963971ef846347122cf9ece797f64c
b9e96e7f46 [TASK] Add RenamePackageComposerRector (#27)
2021-05-13 00:28:53 +00:00
Tomas Votruba
693ce44ea9 Updated Rector to commit 9305fdf4f4708e2687a55d44d3aa663a1fd8cb5c
9305fdf4f4 typo
2021-05-13 00:24:58 +00:00
Tomas Votruba
fc2c30938a Updated Rector to commit c2c1890362fb2a20823cdad3a794f0b656cfcd80
c2c1890362 [scoped] unprefix ComposerJson in ComposerRector contract
2021-05-12 23:28:58 +00:00
Tomas Votruba
758a350d87 Updated Rector to commit 6af13d7b76234edf43dbb0b4c533912cec19f971 2021-05-12 13:15:45 +00:00
Tomas Votruba
7b29fb0f22 Updated Rector to commit f8b0ac301fe9a2c8db3aa5718770ce228550dd2a
f8b0ac301f update to new phpstan rules, add static fixes (#18)
2021-05-11 15:54:06 +00:00
Tomas Votruba
436fcb7505 Updated Rector to commit 0684911cdf88b424d6e2a9ba0689f0e35e94ebd6
0684911cdf [PHP 8.0] Promoted property fixes (#8)
2021-05-11 10:40:34 +00:00
Tomas Votruba
cdc3b7adef Updated Rector to commit f451b0b8e1e6761ec7f50809745d44d01caba66d
f451b0b8e1 [PHP 8.0] Bump to promoted properties (#4)
2021-05-10 23:39:21 +00:00
Tomas Votruba
7d36c3b0b9 Updated Rector to commit a80cf5292d6df5e83b7d17c78630506e361bede9
a80cf5292d revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7 Updated Rector to commit a7db1ad94df4879885b9106773d2f8335cb40e49
a7db1ad94d use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
345a89a7e2 Updated Rector to commit a657258f317da1f6fd42069bf3b09198d3cfd635
a657258f31 cleanup CHANGELOG, is part of GitHub releases now (#2)
2021-05-10 00:23:30 +00:00
Tomas Votruba
d56e7982d0 Updated Rector to commit dedd4b55fe3e03cae9bd5ac822cfdccd8deb3fb6
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
TomasVotruba
0481b2c9b9 add changelog link 2021-05-08 23:36:55 +02:00
TomasVotruba
d7ae4721a2 add constant visiblity 2021-05-08 23:32:17 +02:00
TomasVotruba
5fa7ec524a naming 2021-05-08 21:52:37 +02:00
TomasVotruba
270016ce23 skip type without PHP declaration 2021-05-08 21:20:03 +02:00
TomasVotruba
05f53cefda fix path to vendor 2021-05-08 20:06:00 +02:00
Tomas Votruba
9efcda0536
[Downgrade Php 7.0] Add other scalar type recast (#6393) 2021-05-08 19:41:03 +02:00
TomasVotruba
e7ea2f625d fix way too early return 2021-05-08 15:59:17 +02:00
Tomas Votruba
5784f734f8
[DowngradePhp70] Add DowngradeGeneratedScalarTypesRector (#6392) 2021-05-08 15:14:35 +02:00
Tomas Votruba
d7a5324e6b
skip empty methods, e.g. interface or abstract method (#6391) 2021-05-08 11:40:51 +00:00
Tomas Votruba
7a33e856fd
[Downgrade PHP 7.0] Add string retype on object (#6390) 2021-05-08 10:55:30 +00:00
Tomas Votruba
dc0bcdbcd8
downgrade types opt-in (#6388) 2021-05-08 02:07:18 +02:00
TomasVotruba
af559edbe9 add changelog link 2021-05-08 01:36:24 +02:00
TomasVotruba
94bd7c822b rename DowngradeTypeDeclarationRector to DowngradeScalarTypeDeclarationRector 2021-05-08 01:34:29 +02:00
TomasVotruba
15b84ee2fe fix possible circular reference 2021-05-08 00:59:33 +02:00
Tomas Votruba
b5b312bdc0
[Downgrade PHP 7.0] Fix coalesce with expr (#6387) 2021-05-07 22:40:29 +00:00
Tomas Votruba
189df35831
[Downgrade 7.0] Number classes, simplify (#6386) 2021-05-07 21:58:06 +00:00
Tomas Votruba
3cdbd48a79
[DowngradePhp70] Add class out of trait (#6385) 2021-05-07 22:45:51 +02:00
Tomas Votruba
550d147808
[DowngradePhp70] Add anonymous class out of trait (#6384) 2021-05-07 20:43:36 +00:00
Tomas Votruba
b1b5f95ad8
Fix missing stmt on adding a new node (#6383)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-05-07 19:33:13 +00:00
Abdul Malik Ikhsan
6ddb1451c8
[Scoped] Add more paths to scope (#6382) 2021-05-07 14:02:04 +00:00
TomasVotruba
1775dfc21b misc 2021-05-07 03:18:31 +02:00
Abdul Malik Ikhsan
6bae0256e3
[Php74] Handle Generic Type on TypedPropertyRector (#6378)
Co-authored-by: Ruud Kamphuis <ruudk@users.noreply.github.com>
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-05-07 03:01:46 +02:00
TomasVotruba
0800c7cdc3 fix cs 2021-05-06 20:51:25 +02:00
Tomas Votruba
692d9b3d19
[PHP 8.0] Give param type priority in property promotion (#6367) 2021-05-06 10:59:29 +00:00
Tomas Votruba
38248d08f4
Return array of nodes directly from refactor() if possible (#6366)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-05-06 10:23:37 +02:00
Abdul Malik Ikhsan
ba20c5ed74
[EarlyReturn] Skip ChangeAndIfToEarlyReturnRector on has assign in loop with indirect return after loop (#6365)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-05-06 02:26:20 +02:00
Tomas Votruba
327f5fc126
[DowngradePhp70] Add SplitGroupedUseImportsRector + allow to return list of stmt[] in refactor() (#6364)
* rename SeparateMultiUseImportsRector to SeparateMultiUseImportsRector

* [PHP 7.0] Add SplitGroupedUseImportsRector

* allow to return multiple nodes to avoid addStmts() and removeNode() combo

* dot not FQN namespace and use improts
2021-05-06 01:44:08 +02:00
Tomas Votruba
5fe3eb555f
[PHP 5.3] Add DirConstToFileConstRector (#6363) 2021-05-05 21:56:59 +00:00
Tomas Votruba
29e3bc9372
[NetteToSymfony] Decouple to own package (#6360) 2021-05-05 21:15:26 +00:00
Tomas Votruba
6da2c9b527
[Restoration] Remove RestoreFullyQualifiedNameRector as it depends on dynamic reflection and all loaded classes (#6358) 2021-05-05 18:36:11 +00:00
TomasVotruba
efb19e74e6 fix cs 2021-05-04 20:40:08 +02:00
TomasVotruba
6e212162c8 [CodeQuality] Add CallUserFuncWithArrowFunctionToInlineRector 2021-05-04 20:39:28 +02:00
Tomas Votruba
745a7a9739
[CodingStyle] Add CallUserFuncToMethodCallRector (#6328) 2021-05-04 14:59:15 +00:00
Tomas Votruba
21bf53f2ec
[CodeQuality] Add FuncGetArgsToVariadicParamRector (#6318) 2021-05-03 21:27:20 +00:00