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
Abdul Malik Ikhsan
dabc7869bd
[Scoper] Allow "composer/xdebug-handler": "^1.3.0 || ^2.0" ( #6349 )
...
* [Scoper] Allow "composer/xdebug-handler": "^1.3.0 || ^2.0"
* single |
* config
2021-05-05 14:43:10 +00:00
Abdul Malik Ikhsan
23b6e5e8d6
[Scoper] Update composer/xdebug-handler:^1.3.0 as phpstan-src require it ( #6348 )
2021-05-05 14:23:08 +00:00
Abdul Malik Ikhsan
12dbc0766e
[Scoper] Use php 7.4 for require phpstan/phpstan-src:0.12.85 ( #6346 )
2021-05-05 14:12:19 +00:00
Abdul Malik Ikhsan
51bc89b592
[Scoped] Require phpstan-src 0.12.85 ( #6344 )
2021-05-05 10:54:02 +00:00
Abdul Malik Ikhsan
8c61186327
[Scoped] Require phpstan-src early before scoping ( #6341 )
2021-05-05 10:15:12 +00:00
Abdul Malik Ikhsan
7100f11b10
[Scoped] Downgrade phspstan from vendor ( #6340 )
2021-05-05 09:58:52 +00:00
Abdul Malik Ikhsan
956a492ce3
Scoper use php73 downgrading phpstan ( #6339 )
...
* [Scoper] Use php 7.3 on downgrade phpstan
* [Scoper] Use php 7.3 on downgrade phpstan
2021-05-05 09:43:35 +00:00
Abdul Malik Ikhsan
0abd2f3aa6
[Scoper] Fix downgrade rector script path on downgrade phpstan ( #6338 )
...
* [Scoper] Fix downgrade rector script path on downgrade phpstan
* fix
* fix
2021-05-05 09:21:52 +00:00
Abdul Malik Ikhsan
4c15a96ae9
[Scoper] Set stability config on require phpstan/phsptan-src ( #6337 )
2021-05-05 08:57:50 +00:00
Abdul Malik Ikhsan
bc69a12f1e
[Scoper] Use files-whitelist for vendor/composer/InstalledVersions.php ( #6336 )
2021-05-05 08:41:05 +00:00
Abdul Malik Ikhsan
f5653d9440
[Scoped] Keep \Composer\InstalledVersions not prefixed for composer/InstalledVersions.php ( #6335 )
2021-05-05 08:06:20 +00:00