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
TomasVotruba
1f798a6816
[prefixed] restore prefixing in test cases
2021-04-22 15:00:44 +02:00
Ruud Kamphuis
40c0f3f0c0
[UnionTypesRector] Do not refactor inherited methods ( #6201 )
...
# Failing Test for UnionTypesRector
Based on https://getrector.org/demo/6298a30b-d9f5-4fa0-b1f8-9712b0e98582
```
PHP Fatal error: Declaration of Child::enqueueAt(DateTime|int $at) must be compatible with SomeParent::enqueueAt($at)
```
2021-04-22 14:47:25 +02:00
Ruud Kamphuis
f17df67963
[TypedPropertyRector] Do not refactor to iterable
property type ( #6196 )
...
# Failing Test for TypedPropertyRector
Based on https://getrector.org/demo/3a8fc4f5-898d-4fb4-8ed3-99dc8312df77
```
Fatal error: Cannot use iterable as iterable because 'iterable' is a special class name
```
2021-04-22 14:20:04 +02:00
Ruud Kamphuis
38871e68a2
[TypedPropertyRector] Do not refactor to callable
property type ( #6197 )
...
# Failing Test for TypedPropertyRector
Based on https://getrector.org/demo/e8724b53-a00c-4f0c-b10f-e4e54be0a664
```
PHP Fatal error: Property SkipCallablePropertyType::$startDate cannot have type DateTimeImmutable|callable
```
2021-04-22 14:19:24 +02:00
Tomas Votruba
45db3289b9
Fix type ( #6200 )
2021-04-22 11:58:54 +00:00
Tomas Votruba
94df140c4d
[Downgrade] Report changed widening in another class ( #6193 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-22 11:29:04 +00:00
Tomas Votruba
507bd85c3e
[Downgrade] Report only changed return types ( #6191 )
2021-04-22 10:04:58 +00:00
TomasVotruba
dfc01349db
separate downgrade paths to string
2021-04-22 11:43:58 +02:00
TomasVotruba
f65878c920
full plugin unprefix
2021-04-22 10:47:10 +02:00
TomasVotruba
a71a812c33
unprefix event dipsatcher
2021-04-22 10:43:41 +02:00
TomasVotruba
19b81eb180
unprefix plugin class
2021-04-22 10:40:36 +02:00
Sebastian Schreiber
5cab6367fb
[TASK] Use rector-installer to load config of extensions ( #6174 )
2021-04-22 10:30:18 +02:00
Tomas Votruba
ff57c49662
[PHP 7.2] Add covariant param support for trait methods ( #6190 )
...
* [Downgrade PHP 7.2] Handle trait methods too
* move DowngradeParameterTypeWideningRector to Class_ namespace
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-22 00:02:38 +02:00
TomasVotruba
a57fd196c8
fix phpstan
2021-04-21 22:58:06 +02:00
TomasVotruba
ddcc9d39c0
add iterable to PHP 7.1 downgrade set
2021-04-21 22:49:14 +02:00
TomasVotruba
15cc050332
[prefixed] prefix vendor by vendor name
2021-04-21 22:03:40 +02:00
TomasVotruba
731fe21ddb
reorganize
2021-04-21 21:55:02 +02:00
TomasVotruba
8299be5bc3
[prefixed] merge service contracts to single dir
2021-04-21 21:54:11 +02:00
TomasVotruba
65ea97a56d
[prefixed] downgrade vendor as one
2021-04-21 21:49:54 +02:00
TomasVotruba
43031f0edf
no prefix test case
2021-04-21 21:44:33 +02:00
TomasVotruba
6e5019d6e9
fixing test case scoping
2021-04-21 21:17:30 +02:00
TomasVotruba
ee2e5a93c1
fix
2021-04-21 21:05:25 +02:00
TomasVotruba
1bc2d73342
unprefix test case
2021-04-21 21:04:26 +02:00
TomasVotruba
ef4a30a967
unprefix test case
2021-04-21 20:56:03 +02:00