11912 Commits

Author SHA1 Message Date
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
TomasVotruba
147973bcb2 [prefixed] reorder for covariant 2021-05-05 21:59:25 +02:00
TomasVotruba
3a99b948cf fix path 2021-05-05 21:23:32 +02:00
TomasVotruba
97a651cc36 misc 2021-05-05 21:12:45 +02:00
TomasVotruba
223e31e50e narrow paths 2021-05-05 20:53:46 +02:00
TomasVotruba
5b6d4d8055 [scoped] move rules up 2021-05-05 20:47:55 +02: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
ecf05ac99b [scoped] remove downgrade path to be sure all are included 2021-05-05 20:19:37 +02:00
Abdul Malik Ikhsan
b472a4e5b4
rollback xdebug-handler (#6356) 2021-05-05 18:10:20 +00:00
TomasVotruba
3e040b5724 skip finder method 2021-05-05 20:09:02 +02:00
TomasVotruba
289eca5d2c [compiler] simplify downgrade paths 2021-05-05 20:07:04 +02:00
TomasVotruba
d979511111 composer: bump min rector deps 2021-05-05 19:15:11 +02:00
Abdul Malik Ikhsan
ca05997086
Rollback symfony/console version (#6355) 2021-05-05 17:05:54 +00:00
Abdul Malik Ikhsan
19be811796
[Scoped] Re-remove composer.lock before require phpstan-src (#6354)
* [Scoped] Re-remove composer.lock before require phpstan-src

* allow symfony-console ^4.3
2021-05-05 16:10:38 +00:00
Abdul Malik Ikhsan
44e6c2caed
[Scoped] Remove phpstan/phpstan deps (#6353)
* [Scoped] Remove phpstan/phpstan deps

* composer remove phpstan/phpstan-phpunit after require phpstan-src
2021-05-05 15:54:39 +00:00
Abdul Malik Ikhsan
15f7549147
[Scoped] Remove composer.lock after remove ecs,cs,php-cs-fixer (#6352) 2021-05-05 22:27:07 +07:00
Abdul Malik Ikhsan
048cd0745e
[Scoper] Remove ecs, cs, php-cs-fixer without require phpstan-src with --update-with-dependencies (#6351) 2021-05-05 15:16:23 +00:00
Abdul Malik Ikhsan
9be37ac2c9
[Scoper] Remove php-cs-fixer before require phpstan-src (#6350)
* [Scoper] Remove php-cs-fixer before require phpstan-src

* remove symplify/easy-coding-standard as well
2021-05-05 15:00:22 +00:00