Tomas Votruba
ad2aa21ed8
Updated Rector to commit 3dd16b30e38c7ca4ee208e6ddde841cf4443d46b
...
3dd16b30e3
Add PhpMinVersions (#907 )
2021-09-21 14:11:26 +00:00
Tomas Votruba
f1e92cd8c3
Updated Rector to commit 644b37e4eb5cdd597b518a15368b19d7687fb832
...
644b37e4eb
Add some PHP_80 min versions (#906 )
2021-09-21 11:18:03 +00:00
Tomas Votruba
266714f50f
Updated Rector to commit 7bb957dd100b02f2380e3bf85f36bf27fb3628fb
...
7bb957dd10
[Php80] Handle Default value from previous switch for ChangeSwitchToMatchRector (#429 )
2021-07-12 08:29:31 +00:00
Tomas Votruba
96112cb1f0
Updated Rector to commit 2da49992ccc8e6d4b20e92a5833316d381921391
...
2da49992cc
[Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390 )
2021-07-05 22:50:18 +00:00
Tomas Votruba
a79e6f56df
Updated Rector to commit ff1ad31d6a1d327542ef2326a84b71554856b9ef
...
ff1ad31d6a
[PHP 7.2] Refactor DowngradeParameterTypeWideningRector to class method (#380 )
2021-07-05 07:47:59 +00:00
Tomas Votruba
20323fa50b
Updated Rector to commit 52827931451cd2e3d289234ce2dac370b138eb88
...
5282793145
Add enums (#326 )
2021-06-28 21:18:55 +00:00
Tomas Votruba
f45f2bf59a
Updated Rector to commit d91667cd18cf3bb1b567a6c09ac15b26b6ac016a
...
d91667cd18
[PHP 8.0] Add implicit exception support to match (#182 )
2021-06-08 13:06:20 +00:00
Tomas Votruba
444b9f0d13
Updated Rector to commit 1d2b3248d24fa37e04fc9252f304df3ab6ae4a88
...
1d2b3248d2
[PHP 8.0] Add implicit return after switch support (#181 )
2021-06-08 11:02:16 +00:00
Tomas Votruba
9e4c2beae4
Updated Rector to commit e3e31f5eba216cb79f0130e7d6327d65eca0d4b1
...
e3e31f5eba
[PHP 8.0] Avoid double default (#176 )
2021-06-08 08:03:39 +00:00
Tomas Votruba
5dbd0aca36
Updated Rector to commit 20d55c5a23c86a945a355c4a8d97f13dc38e4cce
...
20d55c5a23
[PHP 8.0] Include throws default in match (#172 )
2021-06-07 23:07:01 +00:00
Tomas Votruba
06a9abecab
Updated Rector to commit be3abfb729ede49d5d59dd2a739e3f10bd127852
...
be3abfb729
[PHP 8.0] Skip switch with default (#171 )
2021-06-07 21:47:57 +00:00
Tomas Votruba
758a350d87
Updated Rector to commit 6af13d7b76234edf43dbb0b4c533912cec19f971
2021-05-12 13:15:45 +00:00
Tomas Votruba
cdc3b7adef
Updated Rector to commit f451b0b8e1e6761ec7f50809745d44d01caba66d
...
f451b0b8e1
[PHP 8.0] Bump to promoted properties (#4 )
2021-05-10 23:39:21 +00:00
Tomas Votruba
7d36c3b0b9
Updated Rector to commit a80cf5292d6df5e83b7d17c78630506e361bede9
...
a80cf5292d
revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7
Updated Rector to commit a7db1ad94df4879885b9106773d2f8335cb40e49
...
a7db1ad94d
use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
d56e7982d0
Updated Rector to commit dedd4b55fe3e03cae9bd5ac822cfdccd8deb3fb6
...
dedd4b55fe
make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
Abdul Malik Ikhsan
41d2e52ffd
[Php80] Skip ChangeSwitchToMatchRector on no assign when not return ( #6257 )
...
Co-authored-by: Ruud Kamphuis <ruudk@users.noreply.github.com>
2021-04-28 09:13:39 +02:00
Tomas Votruba
414a656ab9
Fix AUTOLOAD_PATHS and BOOTSTRAP_FILES in tests ( #6239 )
2021-04-25 09:23:15 +00:00
Abdul Malik Ikhsan
0ac5412aa0
[Php80] Add default case when variable initialized on ChangeSwitchToMatchRector ( #6230 )
...
* Add failing test fixture for ChangeSwitchToMatchRector
# Failing Test for ChangeSwitchToMatchRector
Based on https://getrector.org/demo/f7f2ba48-3c19-4fdb-bc0a-e956e037eefd
It's important to add the default case to prevent this error when passing another code:
```
Fatal error: Uncaught UnhandledMatchError: Unhandled match value of type int
```
https://3v4l.org/E64Um
* Closes #6216
* phpstan
* phpstan
Co-authored-by: Ruud Kamphuis <ruudk@users.noreply.github.com>
2021-04-25 09:07:36 +02:00
Tomas Votruba
79621dbb99
Flip @see to @changelog links ( #6092 )
2021-04-10 18:47:17 +00:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure ( #5826 )
2021-03-12 23:20:25 +01:00