Tomas Votruba
35351fe156
resolve rector verison in own command
2022-05-29 22:31:20 +02:00
Tomas Votruba
12b019ac62
debug
2022-05-29 22:15:33 +02:00
Tomas Votruba
366995d6f7
try cwed
2022-05-29 22:00:52 +02:00
Tomas Votruba
ac64e0b76a
fix static
2022-05-29 20:49:14 +02:00
Tomas Votruba
ef838457a5
remove Symfony Process from VersionResolver
2022-05-29 20:48:50 +02:00
Tomas Votruba
ba8aed9a3e
try symfony/process in dev
2022-05-29 20:20:00 +02:00
Abdul Malik Ikhsan
f4237155a2
[DowngradePhp81] Handle crash parent Arg is missing scope on DowngradeFirstClassCallableSyntaxRector ( #2386 )
...
* [DowngradePhp81] Handle crash parent Arg is missing scope on DowngradeFirstClassCallableSyntaxRector
* Fixed 🎉
* clean up
* fixture name
2022-05-29 18:06:08 +02:00
Tomas Votruba
be3e2e1f9b
trigger buid
2022-05-29 16:08:36 +02:00
Tomas Votruba
9cd69c2b3d
[automated] Re-Generate Nodes/Rectors Documentation ( #2385 )
...
Co-authored-by: TomasVotruba <TomasVotruba@users.noreply.github.com>
2022-05-29 00:30:03 +00:00
Tomas Votruba
012e9ad553
Add annotation to attribute core rename in AnnotationToAttributeRector ( #2384 )
...
* fix fixture name
* [PHP 8.0] Add test case for partial import annotation to attribute rename
2022-05-28 02:19:51 +02:00
Tomas Votruba
31e60de5c9
allow PHPStan 1.7.2
2022-05-27 23:02:00 +02:00
Abdul Malik Ikhsan
e89590f925
Try pin back PHPStan 1.7.1 ( #2383 )
2022-05-27 20:36:57 +00:00
Abdul Malik Ikhsan
38cb4c9684
Move Bootstrap file includer to load in RectorContainerFactory ( #2382 )
...
* Move Bootstrap file includer to load in RectorContainerFactory
* [ci-review] Rector Rectify
* keep in test
* back to ^1.7.1
Co-authored-by: GitHub Action <action@github.com>
2022-05-27 19:41:24 +00:00
Abdul Malik Ikhsan
429e5746ea
Try pin PHPStan 1.7.1 ( #2381 )
2022-05-27 17:27:04 +00:00
Abdul Malik Ikhsan
7f40d20ff7
Fix wrong copy paste define-constant test ( #2380 )
2022-05-27 16:56:59 +00:00
Tomas Votruba
37df55a2fd
[DX] Remove non-PHP file formatting based on editorconfig, rather let external coding standard tools handle the file format ( #2378 )
2022-05-27 18:40:49 +02:00
Abdul Malik Ikhsan
30b5b53c0e
Rollback e2e define-contant as found error in consumer ( #2379 )
2022-05-27 16:15:01 +00:00
Abdul Malik Ikhsan
38ed8d2f6d
Rollback stubs-rector tweak and remove e2e/define-constant ( #2377 )
2022-05-27 17:48:23 +02:00
Tomas Votruba
2c46d4fc4d
[DX] Drop YamlFileFormatter as Rector does not process YAML ( #2376 )
2022-05-27 17:33:40 +02:00
Tomas Votruba
a7e6b685e9
[DX] Remove XmlFileFormatter, as Rector does not handle it ( #2375 )
2022-05-27 15:26:22 +00:00
Abdul Malik Ikhsan
64f93c848d
Try fix stub ReflectionUnionType not found in CI php 7.2 (take 2) ( #2374 )
2022-05-27 15:02:23 +00:00
Tomas Votruba
a9dd89b1cc
[DX] Remove CommandNaming magic, check rector class exists in RectorConfig ( #2372 )
2022-05-27 16:58:29 +02:00
Abdul Malik Ikhsan
03da98750a
Try fix stub ReflectionUnionType not found in CI php 7.2 ( #2373 )
2022-05-27 14:48:27 +00:00
Tomas Votruba
45eef47f27
[DX] Various config merge, improve RectorConfig methods ( #2371 )
2022-05-27 15:30:05 +02:00
Abdul Malik Ikhsan
a2d6da8b4e
Back to php-scoper 0.14 with scoping from php 8.0 ( #2370 )
2022-05-27 11:45:03 +00:00
Abdul Malik Ikhsan
0fd045cf35
Try php-scoper 0.17.2 ( #2369 )
2022-05-27 13:30:48 +02:00
Abdul Malik Ikhsan
1249d947f4
Try php-scoper 0.17 ( #2368 )
2022-05-27 11:16:02 +00:00
Tomas Votruba
7adde5807c
[DX] Move configure to direct call in RectorConfig ( #2367 )
2022-05-27 10:52:46 +00:00
Tomas Votruba
213b14d715
use Symfony 6.0 contracts
2022-05-27 12:52:26 +02:00
Tomas Votruba
d2456936e9
clear phpstan.neon
2022-05-27 12:42:31 +02:00
Abdul Malik Ikhsan
bfff1df4dd
[PhpDocInfo] Fixes Partial value update got duplicated on DoctrineAnnotationTagValueNode change ( #1862 )
...
* [PhpDocInfo] Fixing Partial value update got duplicated on PhpDocInfo change
* Fixed 🎉
* Fixed 🎉
* clean up
* Fixed 🎉
* [ci-review] Rector Rectify
* rollback mirror check
* check end equals to length identifier and silent value
* check SpacelessPhpDocTagNode
* tweak
* more fixtures
* back
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* back
* back
* debug reprint
* back
* fix ?
* try
* try
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* add failing fixture
* debug
* another approach
Co-authored-by: GitHub Action <action@github.com>
2022-05-27 17:41:18 +07:00
Tomas Votruba
e690cd059c
restore downgrade configs
2022-05-27 12:33:12 +02:00
Tomas Votruba
e61411e03c
use Symfony 6.0 stable
2022-05-27 12:29:13 +02:00
Tomas Votruba
8ab69fed33
[downgrade] try downgrading all with parallel
2022-05-27 11:59:02 +02:00
Alexander Schranz
99840deb9d
Update the branch alias for dev-main ( #2365 )
2022-05-27 08:44:07 +00:00
Tomas Votruba
f5a06553ce
[CodeQuality] Add InlineIsAInstanceOfRector ( #2364 )
2022-05-27 00:01:06 +02:00
Abdul Malik Ikhsan
3da22b0231
[Php81] Skip ArrayDimFetch from ArrayObject in Assign var on ReadOnlyPropertyRector ( #2363 )
...
* [Php81] Skip ArrayDimFetch from ArrayObject in Assign var on ReadOnlyPropertyRector
* Fixed 🎉
* eol
2022-05-26 09:13:59 +02:00
Tomas Votruba
66dbb1e307
Allow to rename method if in interface ( #2362 )
...
* add test fixture
* allow rename method in interface
2022-05-25 21:35:18 +00:00
Abdul Malik Ikhsan
5d0138dcef
Fixture class name fix ( #2360 )
2022-05-25 07:35:48 +00:00
Abdul Malik Ikhsan
9c6b3d708c
[TypeDeclaration] Skip curly {@inheritdoc} on AddArrayReturnDocTypeRector ( #2359 )
2022-05-25 09:26:56 +02:00
Abdul Malik Ikhsan
4c53b206a4
[Php80] Do not remove array<mixed> inside Union type on UnionTypesRector ( #2358 )
...
* [Php80] Do not remove array<mixed> inside Union type on UnionTypesRector
* Fixed 🎉
* also allow mixed[]
* clean up
* clean up
2022-05-25 08:52:50 +02:00
Abdul Malik Ikhsan
e1ecbe90fc
[DeadCode] Handle RemoveDoubleAssignRector+RemoveUnusedVariableAssignRector ( #2355 )
...
* [DeadCode] Handle RemoveDoubleAssignRector+RemoveUnusedVariableAssignRector
* [ci-review] Rector Rectify
* debug
* back
* Fixed 🎉
* cs
* final touch: comment back
Co-authored-by: GitHub Action <action@github.com>
2022-05-24 22:50:15 +02:00
Abdul Malik Ikhsan
8efa7151e6
[FamilyTree] Use parent->hasNativeMethod() on ClassChildAnalyzer->resolveParentClassMethods() ( #2357 )
2022-05-24 22:49:28 +02:00
Abdul Malik Ikhsan
dc9189280f
[PHPStan] Update to PHPStan ^1.7.0 ( #2354 )
...
* [PHPStan] Update to PHPStan ^1.7.0
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* already 1.7.1
* skip pull from PHPStan PhpPropertyReflection
* rename fixture
* debug
* Fixed 🎉
* keep mysqli object use case
Co-authored-by: GitHub Action <action@github.com>
2022-05-24 19:55:12 +07:00
Abdul Malik Ikhsan
a14bd26655
[Core] Handle Previous Stmt not Stmt on UnreachableStmtAnalyzer ( #2353 )
...
* [Core] Handle Previous Stmt not Stmt on UnreachableStmtAnalyzer
* phpstan
2022-05-24 08:59:18 +00:00
Abdul Malik Ikhsan
f25715b7b3
[Php73] Skip Encapsed on StringifyStrNeedlesRector + Temporary Pin PHPStan 1.6.9 ( #2352 )
...
* [Php73] Skip Encapsed on StringifyStrNeedlesRector
* phpstan
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* Fixed 🎉
* eol
* update requirement to PHPStan 1.7.0
* temporary pin to 1.6.9
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: GitHub Action <action@github.com>
2022-05-24 15:29:10 +07:00
Abdul Malik Ikhsan
1691157a64
[Core] Use PropertyFetchAnalyzer::isFilledViaMethodCallInConstructStmts() in ConstructorAssignDetector::isPropertyAssigned() ( #2351 )
...
* [Core] Use PropertyFetchAnalyzer::isFilledViaMethodCallInConstructStmts() in ConstructorAssignDetector::isPropertyAssigned()
* more
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* add test for self static
* more tests
* phpstan
* [ci-review] Rector Rectify
* StaticPropertyFetch detection fix
* final touch: clean up: donot create object when not needed
* final touch: clean up
* final touch: clean up
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: GitHub Action <action@github.com>
2022-05-23 21:06:50 +07:00
Abdul Malik Ikhsan
f134b6183e
[Php71] Ensure return $node only when catch of TryCatch removed on MultiExceptionCatchRector ( #2350 )
...
* [Php71] Ensure return $node only when catch of TryCatch removed on MultiExceptionCatchRector
* [Php71] Ensure return $node only when catch of TryCatch removed on MultiExceptionCatchRector
2022-05-23 03:43:42 +00:00
Abdul Malik Ikhsan
3fe07aa6a1
[Experiment][Naming] Keep GroupUse Stmt on UseImportsResolver::resolveForNode() ( #2349 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-05-22 22:57:59 +02:00
Abdul Malik Ikhsan
f8c204adba
[Naming] Handle Grouped use import on UseImportsResolver ( #2348 )
...
Co-authored-by: Dominik Ritter <dritter03@googlemail.com>
Co-authored-by: GitHub Action <action@github.com>
2022-05-22 19:34:31 +02:00