TomasVotruba
731eb8bf86
fixing paths
2021-04-29 20:06:54 +02:00
TomasVotruba
38a7222fe4
narrow
2021-04-29 20:02:15 +02:00
TomasVotruba
ce81312d9d
blind preload
2021-04-29 20:00:09 +02:00
TomasVotruba
761c343db2
closer variable
2021-04-29 19:59:33 +02:00
TomasVotruba
f15648eb05
add preload in build
2021-04-29 19:55:03 +02:00
TomasVotruba
00fcdc1f03
fix old Versions path
0.10.15
2021-04-29 17:37:16 +02:00
TomasVotruba
835ec0b618
skip local installed versions
2021-04-29 16:53:16 +02:00
TomasVotruba
61d9704afd
slash escape
2021-04-29 16:52:43 +02:00
TomasVotruba
176258ce5c
[scoper] get versoin for prefixed version
2021-04-29 16:52:12 +02:00
TomasVotruba
26d6fff51d
preload local installed versions
2021-04-29 16:50:11 +02:00
Tomas Votruba
52c4888374
[Downgrade 7.2] Fix DowngradeStreamIsattyRector with return ( #6266 )
2021-04-29 13:58:00 +00:00
TomasVotruba
12564db7af
fixing version in scoped
2021-04-29 12:36:11 +02:00
TomasVotruba
07a0d4edbe
try prefixd
0.10.14
2021-04-29 11:00:02 +02:00
TomasVotruba
3901ae3d1f
use older pretty-package version to fix prefixed version
0.10.13
2021-04-29 10:17:30 +02:00
TomasVotruba
928ef7d9d5
[prefixed] show version
2021-04-29 10:10:09 +02:00
TomasVotruba
940b7d1526
use self-version in composer
2021-04-29 10:01:35 +02:00
Tomas Votruba
60da89954e
[TypeDeclaratoin] Skip type if changed ( #6261 )
0.10.12
2021-04-28 21:12:26 +00:00
Tomas Votruba
ca4d1fb1aa
[TypeDeclaration] Traverse the param node that is changed in ParamTypeFromStrictTypedPropertyRector ( #6260 )
2021-04-28 20:33:20 +00:00
Maxim Tugaev
cfa8295e95
AnnotationToAttributeRector: array handling ( #6259 )
2021-04-28 15:04:23 +02:00
Abdul Malik Ikhsan
3153a088a3
[Privatization] Handle Reference Method/Static Call from outside file on ChangeReadOnlyPropertyWithDefaultValueToConstantRector ( #6256 )
...
* Add failing test fixture for ChangeReadOnlyPropertyWithDefaultValueToConstantRector
* Closes #6214
* phpstan
* CS fix
* phpstan
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* fix ReturnThisRemoveRector on check "vendor" dir
* phpstan
* phpstan
* [ci-review] Rector Rectify
* phpstan
* [ci-review] Rector Rectify
* php 7.3
* phpstan
* use isBuiltIn() check
* [ci-review] Rector Rectify
* move Functionality to FunctionLikeReflectionParser
* return false on ClassMethod not found
* phpstan
* [ci-review] Rector Rectify
Co-authored-by: zingimmick <zingimmick@outlook.com>
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-28 13:03:41 +00:00
Tomas Votruba
e83b7f2538
[PHPStan] Resolve dependency juggling ( #6258 )
2021-04-28 09:33:25 +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
cf9d8c202d
Failing test: Node type is not updated after executing rector ( #6255 )
...
Co-authored-by: Michal Lulco <lulco@efabrica.sk>
2021-04-28 00:11:40 +00:00
Maxim Tugaev
a5a99317b7
AnnotationToAttributeRector: ensure bool param in attribute ( #6254 )
2021-04-27 11:41:29 +00:00
Abdul Malik Ikhsan
94cf4314e6
Fix DowngradeSpaceshipRector sample code ( #6252 )
2021-04-26 21:52:21 +00:00
Abdul Malik Ikhsan
2eb5af1aad
[DowngradePhp70] Add DowngradeSpaceshipRector ( #6243 )
...
* [DowngradePhp70] Add DowngradeSpaceshipRector
* register to downgrade-php70 config set
* CS fix
* phpstan
* [ci-review] Rector Rectify
* property fetch
* more fixtures
* implemented, skip namespaced variable
* implemented, skip namespaced variable
* better approach
* use variable named left, right
* move to new variable battleShipCompare
* [ci-review] Rector Rectify
* final touch
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-26 13:52:50 +02:00
Tomas Votruba
baa26986f2
Remove AnnotatedPropertyInjectToConstructorInjectionRector by splitting to Nette and Symfony packages ( #6250 )
2021-04-26 10:39:42 +00:00
Tomas Votruba
a7097d3532
Cleanup ( #6249 )
2021-04-26 10:15:12 +00:00
Tomas Votruba
91d58e0c7d
Decouple PropertyConstructorInjectionManipulator ( #6248 )
2021-04-26 09:46:21 +00:00
Tomas Votruba
909463b7e0
[DependencyInjection] Move JMSInject part from AnnotatedPropertyInjectToConstructorInjectionRector to rector-symfony ( #6247 )
2021-04-26 09:37:09 +00:00
Abdul Malik Ikhsan
70de3a01cc
[Php80] Handle UnionTypesRector on object and specific class/type in union type ( #6237 )
...
Co-authored-by: Ruud Kamphuis <ruudk@users.noreply.github.com>
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-26 11:08:56 +02:00
Tomas Votruba
5cda5de4ac
Decouple Rector PHPStan rules to own package ( #6242 )
2021-04-25 23:12:14 +00:00
Sebastian Schreiber
255b1fcbf7
[TASK] Add template type option for init command ( #6233 )
2021-04-25 21:43:59 +02:00
Tomas Votruba
7b1680875c
Merge ComposerModifier to ComposerFileProcessor ( #6241 )
2021-04-25 20:31:14 +02:00
TomasVotruba
846237e20b
phpunit: run defect first
2021-04-25 15:46:45 +02:00
github-actions[bot]
08aab90348
[automated] Re-Generate Nodes/Rectors Documentation ( #6236 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-04-25 11:44:34 +02:00
Tomas Votruba
764c311565
[docs] add auto imports docs ( #6240 )
2021-04-25 11:43:24 +02:00
Tomas Votruba
414a656ab9
Fix AUTOLOAD_PATHS and BOOTSTRAP_FILES in tests ( #6239 )
2021-04-25 09:23:15 +00:00
Tomas Votruba
31c06b2fcb
[docs] add Static Reflection and Autoload ( #6238 )
2021-04-25 11:04:04 +02: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
Abdul Malik Ikhsan
774ac29000
[Php80] Skip RemoveUnusedVariableInCatchRector when variable used next catch ( #6231 )
...
* Add failing test fixture for RemoveUnusedVariableInCatchRector
# Failing Test for RemoveUnusedVariableInCatchRector
Based on https://getrector.org/demo/194e0c75-cb30-4f02-a0de-70d32fbe152c
* Closes #6213
Co-authored-by: Ruud Kamphuis <ruudk@users.noreply.github.com>
2021-04-25 09:06:07 +02:00
TomasVotruba
dd0c1038da
skip examples in linter
2021-04-24 16:32:37 +02:00
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