Commit Graph

438 Commits

Author SHA1 Message Date
Tomas Votruba
ab3b6b2c9e Updated Rector to commit 651562dca2
651562dca2 [automated] Re-Generate Nodes/Rectors Documentation (#211)
2021-06-13 10:00:46 +00:00
Tomas Votruba
843f414034 Updated Rector to commit 7bbbed11e7
7bbbed11e7 Test:  +  (#208)
2021-06-12 06:41:08 +00:00
Tomas Votruba
a130d42a04 Updated Rector to commit 9dea8d8cd8
9dea8d8cd8 [DeadCode][CodeQuality] Handle use RemoveDeadInstanceOfRector + SwitchNegatedTernaryRector with if instanceof check (#201)
2021-06-11 09:40:47 +00:00
Tomas Votruba
4e4ad99d9a Updated Rector to commit 1a3afef04d
1a3afef04d PHPStan updated and static fixes (#192)
2021-06-10 10:46:24 +00:00
Tomas Votruba
6fa9c12855 Updated Rector to commit 4f26e3643d
4f26e3643d [Scoped] Early downgrade src/functions (#185)
2021-06-09 02:43:00 +00:00
Tomas Votruba
ff9660d77a Updated Rector to commit 6e320ce114
6e320ce114 [PHP 8.0] Improve single case check (#175)
2021-06-08 07:43:06 +00:00
Tomas Votruba
b82be72250 Updated Rector to commit 0c9a1f82b8
0c9a1f82b8 [PSR4] Fix deleting file that matches class name (#163)
2021-06-07 07:27:06 +00:00
Tomas Votruba
2a67a839e2 Updated Rector to commit 6f59563d8b
6f59563d8b [TypeDeclaration] Do not duplicate piped array return on ReturnTypeDeclarationRector (#160)
2021-06-06 10:19:58 +00:00
Tomas Votruba
09b8d2a89e Updated Rector to commit af678a73b0
af678a73b0 [Fix] use League\Flysystem\FilesystemInterface for RenameMethodRector (#153)
2021-06-06 10:06:13 +00:00
Tomas Votruba
46fdb339fd Updated Rector to commit 6f59563d8b
6f59563d8b [TypeDeclaration] Do not duplicate piped array return on ReturnTypeDeclarationRector (#160)
2021-06-06 10:05:00 +00:00
Tomas Votruba
d29020633e Updated Rector to commit 3158767ccb
3158767ccb [automated] Re-Generate Nodes/Rectors Documentation (#157)
2021-06-06 07:59:41 +00:00
Tomas Votruba
2535f6a548 Updated Rector to commit 4e71338466
4e71338466 [Privatization] Skip Entity and Embeddable Attribute Doctrine\ORM\Mapping on FinalizeClassesWithoutChildrenRector (#155)
2021-06-05 14:17:34 +00:00
Tomas Votruba
55b0e2405f Updated Rector to commit d34b8469aa
d34b8469aa Add test fixture and fix for AnnotationToAttributeRector (#145)
2021-06-04 11:46:51 +00:00
Tomas Votruba
3547d90d45 Updated Rector to commit 1913747f01
1913747f01 [CodingStyle] Handle NotIdentical on CountArrayToEmptyArrayComparisonRector (#144)
2021-06-03 08:30:49 +00:00
Tomas Votruba
2d7c16f73c Updated Rector to commit 6f7cd6ee39
6f7cd6ee39 [Core] Fix ConfigurableCallValuesCollectingPhpFileLoader::import()  type (#140)
2021-06-02 02:12:14 +00:00
Tomas Votruba
3167527b46 Updated Rector to commit 02f9524e34
02f9524e34 [DowngradePhp80] Add DowngradeNamedArgumentRector (#133)
2021-06-01 12:39:02 +00:00
Tomas Votruba
1a63f1a06c Updated Rector to commit 6fe5a9f4f1
6fe5a9f4f1 [Downgrade PHP 7.3] Add DowngradeIsCountableRector (#128)
2021-05-31 09:35:19 +00:00
Tomas Votruba
fff9179119 Updated Rector to commit f7e9986835
f7e9986835 [PHP 8.0] Add downgrade for str_starts_with() (#126)
2021-05-30 10:12:56 +00:00
Tomas Votruba
d6ce660185 Updated Rector to commit 0864547a0d
0864547a0d [automated] Re-Generate Nodes/Rectors Documentation (#125)
2021-05-30 07:54:06 +00:00
Tomas Votruba
578cb687e1 Rector 0.11.6 2021-05-29 17:17:11 +00:00
Tomas Votruba
ebc0abcc08 Updated Rector to commit e0b4e852a6
e0b4e852a6 [Php80] Annotation attribute should keep order original annotation comment (#104)
2021-05-28 12:08:33 +00:00
Tomas Votruba
47087101c1 Updated Rector to commit 80e6c3b959
80e6c3b959 FileRelocationResolverTest: fix RegexpException on windows (#116)
2021-05-27 20:54:56 +00:00
Tomas Votruba
47d722993a Updated Rector to commit ae96c1a308
ae96c1a308 Skip FormatPerservingPrinterTest on windows (#109)
2021-05-26 10:17:03 +00:00
Tomas Votruba
9b5515a16d Updated Rector to commit 4f4c416041
4f4c416041 [CodeQuality] Skip UnusedForeachValueToArrayKeysRector when value used in compact (#100)
2021-05-25 11:50:23 +00:00
Tomas Votruba
89eee6ea29 Updated Rector to commit 5b74ac7ae6
5b74ac7ae6 [PhpDocInfoPrinter] fix running tests on windows (#98)
2021-05-24 16:18:32 +00:00
Tomas Votruba
3fefd8d078 Updated Rector to commit b82d93650d
ac45979d26 fix ns b82d93650d fix namespace
2021-05-23 14:21:14 +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 f451b0b8e1
f451b0b8e1 [PHP 8.0] Bump to promoted properties (#4)
2021-05-10 23:39:21 +00:00
Tomas Votruba
7d36c3b0b9 Updated Rector to commit a80cf5292d
a80cf5292d revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7 Updated Rector to commit a7db1ad94d
a7db1ad94d use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
d56e7982d0 Updated Rector to commit dedd4b55fe
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
Tomas Votruba
06f85e4a68
Refactor file processors towards universal collector (#6085)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-12 10:34:04 +00:00
Tomas Votruba
b121d8e10a
Remove mapToDocString() and use describe() instead (#6095) 2021-04-10 23:28:08 +00:00
Abdul Malik Ikhsan
0a9c6a8400
[CodeQuality] Register SimplifyIfNullableReturnRector to code-quality config set (#6047)
* [CodeQuality] Register SimplifyIfNullableReturnRector to code-quality config set

* handle next expression

* handle next expression

* handle next expression

* naming

* phpstan

* fixture fix

* fix

* check next early

* mirror comment not @var

* phpstan

* phpstan

* [ci-review] Rector Rectify

* [ci-review] Rector Rectify

* phpstan

* more fixture for mirror comment without @var

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-07 00:00:14 +02:00
Tomas Votruba
b2412ad62a
Refactor doctrine/annotation from dynamic to own static-reflection parser (#5974)
* remove doctrine/annotations

* Refactor doctrine/annotation parser to static reflection with phpdoc-parser

* remove doctirne-annotation-parser-syncer

* remove annotation stubs

* use nodes

* almost there

* [ci-review] Rector Rectify

* skip temporary

* phpstan: remove fixed messages

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-04 11:01:11 +02:00
Tomas Votruba
ae1c6b90f7
Remove dynamic type checks #2 (#5941) 2021-03-21 21:31:18 +00:00
Tomas Votruba
cfa61bc2dd
remove PhpDocNodeTransformerInterface overly abstraction; merge AttributeAwarePhpDoc to BetterPhpDocParser (#5920)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-20 16:27:18 +01:00
Tomas Votruba
67670e70ad
[DX] move packages from src/tests to single PSR-4 directory (#5824) 2021-03-12 01:21:29 +00:00