11686 Commits

Author SHA1 Message Date
Tomas Votruba
3f3811ab21
add dump_node() helper functoin (#6229) 2021-04-24 14:22:36 +00:00
Tomas Votruba
ba2d96c583
[composer] remove uuid package (#6228) 2021-04-24 16:04:10 +02:00
TomasVotruba
ee9ed46d43 composer: bump rector split package 0.10.11 2021-04-24 14:32:02 +02:00
TomasVotruba
3a7f26197a [scoped] autoload prefixed FileInfo 2021-04-24 14:30:51 +02:00
TomasVotruba
b3aa020beb [CI] skip PHP 7.0 build completely 2021-04-24 14:07:16 +02:00
TomasVotruba
8cb3858245 skip PHP 7.0 on tags 2021-04-24 13:57:13 +02:00
TomasVotruba
55aba2ca97 remove unused files 0.10.10 2021-04-24 13:32:11 +02:00
TomasVotruba
9b1558e701 [prefixed] add bootstrap.php to autoload Rector-prefixed in tests + add simple rule test 2021-04-24 13:21:42 +02:00
TomasVotruba
1022edb763 fix parent class 2021-04-24 09:44:03 +02:00
TomasVotruba
f91ce82066 add one missing in whole family 2021-04-24 09:35:30 +02:00
Tomas Votruba
9e869098ff
[Downgrade PHP 7.2] Fix 2+ param position (#6227) 2021-04-24 07:13:59 +00:00
Abdul Malik Ikhsan
c51c1da262
[DeadCode] Use dependency injection for ConditionSearcher in RemoveUnusedVariableAssignRector (#6226) 2021-04-24 00:59:36 +00:00
Tomas Votruba
aa2c142038
[Downgrade PHP 7.2] Cover nullable param in DowngradeParameterTypeWideningRector (#6225) 2021-04-24 00:53:17 +00:00
TomasVotruba
cf58d68f6a [CI] disable 70 build as it needs more work 2021-04-24 02:33:08 +02:00
TomasVotruba
49c4caf870 fix nested path 2021-04-24 02:25:08 +02:00
Tomas Votruba
fa45c4f9d1
[Downgrade PHP 7.2] Make DowngradeParameterTypeWideningRector work for interface (#6224) 2021-04-24 01:14:40 +02:00
TomasVotruba
fd159b35a5 skip liniting resource 2021-04-23 23:11:58 +02:00
Tomas Votruba
a32055f317
[scoped] Build PHP 7.0 repo to own repository to avoid breaking prefixed rector (#6223)
* [scoped] build PHP 7.0 repo to own repository to avoid breaking prefixed rector

* lint with PHP 7.0 files
2021-04-23 23:05:26 +02:00
Tomas Votruba
793dd3fd2e
[Downgrade PHP 7.1] Fix empty item on SymmetricArrayDestructuringToListRector (#6222)
* [Downgrade PHP 7.1] Fix empty item on SymmetricArrayDestructuringToListRector

* [ci-review] Rector Rectify

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-23 22:28:00 +02:00
Tomas Votruba
1a060aadac
Fix php70 on prefixed - skip nullable till phpstan is downgraded (#6221) 2021-04-23 21:34:50 +02:00
Tomas Votruba
f9dc93cb1a
Fix WrapEncapsedVariableInCurlyBracesRector reporting (#6220)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-23 19:32:59 +00:00
Tomas Votruba
a3ec81fe1f
Add setter/getter factory (#6219) 2021-04-23 18:14:51 +00:00
Tomas Votruba
ab6580de35
[Downgrade PHP 7.2] Make covariant change local methods only (#6218) 2021-04-23 17:54:30 +00:00
Tomas Votruba
e425c11d8d
[Downgrade PHP 7.2] Improve covariant (#6207) 2021-04-23 09:03:45 +00:00
Abdul Malik Ikhsan
91377902b2
[DowngradePhp70] Add DowngradeNullCoalesceRector (#6208) 2021-04-23 09:21:57 +02:00
TomasVotruba
86c3069f36 [Downgrade 7.2] Add string has/get interface 2021-04-23 01:00:33 +02:00
TomasVotruba
146a24ea7e [prefixed] re-order paths 2021-04-23 00:38:37 +02:00
TomasVotruba
d5efa10ed0 remove extras space between diff and list rules 2021-04-23 00:25:03 +02:00
TomasVotruba
b76346d710 fix style 2021-04-23 00:19:22 +02:00
TomasVotruba
7192eb2a4b fix type 2021-04-23 00:08:34 +02:00
TomasVotruba
2427ef0332 fix path 2021-04-23 00:04:47 +02:00
TomasVotruba
134cfc6b2a remove unneeded autoload 2021-04-23 00:04:23 +02:00
TomasVotruba
8217d924ff add tests to split repository 2021-04-23 00:01:56 +02:00
Tomas Votruba
159acc8512
remove notifyFileChange() (#6206) 2021-04-22 23:51:32 +02:00
Tomas Votruba
1d0ba2a439
Add AbstractTestCase (#6205) 2021-04-22 21:36:50 +00:00
TomasVotruba
0f697fedb3 use portable shebang 2021-04-22 21:12:02 +02:00
TomasVotruba
3264fc3996 [prefixed] rector dump-autoload, need if box is not used 2021-04-22 21:10:32 +02:00
TomasVotruba
8b2804cc97 skip already included above 2021-04-22 21:02:34 +02:00
TomasVotruba
cd5f9b32dd [prefixed] skip installed versions 2021-04-22 21:01:56 +02:00
TomasVotruba
8457108cdc [Docker] Mimic prefix install 2021-04-22 20:53:10 +02:00
TomasVotruba
3139430ea7 [Docker] skip composer dump on scoping 2021-04-22 20:39:25 +02:00
TomasVotruba
c85ee538ba [prefixed] do not dump autoload 2021-04-22 20:31:02 +02:00
Abdul Malik Ikhsan
cb6e874df3
[DeadCode] Skip expr check from statement on RemoveUnusedVariableAssignRector for Nop stmt (#6204)
* [DeadCode] Skip expr check from statement on RemoveUnusedVariableAssignRector for Nop stmt

* enforce with Expression check

* [ci-review] Rector Rectify

* fix

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-22 15:44:33 +00:00
TomasVotruba
4ade016794 [prefixed] remove phpunit test case, should be part of local env 2021-04-22 16:37:54 +02:00
TomasVotruba
714193b836 [prefixed] skip test case 2021-04-22 16:32:07 +02:00
TomasVotruba
f801c763a4 [prefixed] skip Kernel test case 2021-04-22 16:23:41 +02:00
TomasVotruba
449118b83e slash 2021-04-22 15:25:56 +02:00
Abdul Malik Ikhsan
60195c951a
[DowngradePhp71] Add DowngradeIsIterableRector (#6202)
* [DowngradePhp71] Add DowngradeIsIterableRector

* add test

* return new BooleanOr

* [ci-review] Rector Rectify

* fixed with traverseNodesWithCallable

* skip not is iterable

* fix

* example

* register to downgrade-php71 config set

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-22 13:22:16 +00:00
Tomas Votruba
ce4711ba93
[Downgrade] Report downgrade changes of type correctly (#6203) 2021-04-22 13:10:04 +00:00
TomasVotruba
62f5d73ade [prefixed] add missing mask on regex 2021-04-22 15:05:34 +02:00