12079 Commits

Author SHA1 Message Date
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
TomasVotruba
534f30d928 mirror stmts 2021-05-07 22:22:25 +02: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
TomasVotruba
20f9bb7cf5 refresh preload 2021-05-07 18:01:17 +02:00
TomasVotruba
28d894f226 do not preloda configs 2021-05-07 17:58:20 +02:00
TomasVotruba
dc30ace982 preload local symplify too 2021-05-07 17:53:02 +02:00
Abdul Malik Ikhsan
6ddb1451c8
[Scoped] Add more paths to scope (#6382) 0.10.20 2021-05-07 14:02:04 +00:00
TomasVotruba
ad3b45d183 condtiona downgrade path 2021-05-07 09:26:43 +02: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
85c87561aa fix path too 2021-05-07 02:48:32 +02:00
TomasVotruba
74673afab7 [scoped] use empty php file 2021-05-07 02:22:40 +02:00
TomasVotruba
7417a30a1c [scoped] remove bootstrap too 2021-05-07 02:21:12 +02:00
TomasVotruba
e4ea46d906 fix path 2021-05-07 02:05:48 +02:00
Tomas Votruba
d225be28d8
[scoped on PHP 7.0] bin/rector run with extracted phpstan (#6371) 2021-05-06 23:43:45 +02:00
TomasVotruba
4f8985a30f update set names 2021-05-06 22:36:00 +02:00
TomasVotruba
8f9e234b4a [SetList] Remove deprecated set 2021-05-06 22:32:33 +02:00
TomasVotruba
b20f91337e use PHP 8 for CI jobs 2021-05-06 22:30:43 +02:00
TomasVotruba
efa0bb36ba composer: cleanup metadata located in github 2021-05-06 22:28:32 +02:00
TomasVotruba
81302f5354 [scoped] skip docker build until fixed 2021-05-06 22:27:09 +02:00
TomasVotruba
ae02582354 Docker debug 2021-05-06 22:16:56 +02:00
TomasVotruba
57979b4c31 Docker debug 2021-05-06 22:16:21 +02:00
Tomas Votruba
ac82ae6a63
Move from SETS parameter to explicit import() (#6375) 2021-05-06 20:06:31 +00:00
TomasVotruba
0800c7cdc3 fix cs 2021-05-06 20:51:25 +02:00
Sebastian Schreiber
c549d40111
[TASK] Remove RenameClassNonPhpRector from the defaults (#6373) 2021-05-06 16:26:07 +02:00
TomasVotruba
812ff5b654 [show] skip system post rectors in show command 2021-05-06 16:17:16 +02:00
TomasVotruba
de37a73aad fix stub loading 2021-05-06 16:11:59 +02:00
Tomas Votruba
71ae038df9
remove nette packages from dev requirements and replace with 2 stub classes (#6372) 2021-05-06 15:42:06 +02:00
Sebastian Schreiber
dde5458d5d
[BUGFIX] Remove obsolete FormatterInterface (#6370) 2021-05-06 15:18:00 +02:00
TomasVotruba
2088271c5a [scoped 7.0] extract phpstan.phar 2021-05-06 14:54:57 +02:00
TomasVotruba
5a9d4da31d debug option 2021-05-06 14:41:16 +02:00
TomasVotruba
d2d238bfec [scoped] show that even bin/rector does not run 2021-05-06 14:39:59 +02:00
TomasVotruba
2381c78ba5 skip non-existing file 2021-05-06 14:28:50 +02:00
TomasVotruba
d23f205afb simplify require/remove scirpt 2021-05-06 14:27:51 +02:00
TomasVotruba
78b004b8d9 [scoped PHP 7.0] add colors 2021-05-06 14:22:44 +02:00
TomasVotruba
3b82c87dfc [scoped 7.0] allow xdebug handler needed for PHPStan src, add phpstubs 2021-05-06 14:11:45 +02:00
TomasVotruba
ab0b1915d1 fix cs 2021-05-06 13:52:08 +02:00
TomasVotruba
0666992eba [Docker] do not install composer at all, already in prefixed vendor 2021-05-06 13:44:35 +02:00
TomasVotruba
f32c2f6764 [Docker] include prefixed vendor 2021-05-06 13:43:22 +02:00
TomasVotruba
2ee436cc93 [Docker] no need to copy existing files 2021-05-06 13:41:54 +02:00
Sebastian Schreiber
16d5930435
[TASK] Take .editorconfig into account (#6272) 2021-05-06 13:26:28 +02:00
Tomas Votruba
aca76ddc2a
Add Docker on prefixed/downgraded version only (#6368)
* move docker build to prefixed & downgraded version

* [Docker] do not scope, use existing composer dump
2021-05-06 13:24:32 +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
TomasVotruba
30cc794094 shorter 2021-05-05 23:23:08 +02:00
Tomas Votruba
29e3bc9372
[NetteToSymfony] Decouple to own package (#6360) 2021-05-05 21:15:26 +00:00