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
345a89a7e2
Updated Rector to commit a657258f317da1f6fd42069bf3b09198d3cfd635
...
a657258f31
cleanup CHANGELOG, is part of GitHub releases now (#2 )
2021-05-10 00:23:30 +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
TomasVotruba
94bd7c822b
rename DowngradeTypeDeclarationRector to DowngradeScalarTypeDeclarationRector
2021-05-08 01:34:29 +02:00
TomasVotruba
0800c7cdc3
fix cs
2021-05-06 20:51:25 +02:00
Tomas Votruba
e83b7f2538
[PHPStan] Resolve dependency juggling ( #6258 )
2021-04-28 09:33:25 +00:00
Tomas Votruba
5cda5de4ac
Decouple Rector PHPStan rules to own package ( #6242 )
2021-04-25 23:12:14 +00:00
Tomas Votruba
eda5bf1ea3
[DeadCode] Add RemoveUnusedPrivateMethodParameterRector ( #6168 )
...
* [DeadCode] Add RemoveUnusedPrivateMethodParameterRector
This reverts commit c815334bed781c555f08dff82ce7861d758e9e7a.
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-19 15:19:14 +02:00
Tomas Votruba
b03fa60c52
Fix empty docblocks ( #6128 )
...
* working prototype for nested arrays
* add data provider
2021-04-13 20:58:34 +02:00
Tomas Votruba
5bde10c181
Various doc parser fixes ( #6125 )
2021-04-13 18:51:41 +00:00
Tomas Votruba
b121d8e10a
Remove mapToDocString() and use describe() instead ( #6095 )
2021-04-10 23:28:08 +00:00
Tomas Votruba
9be459dd76
Workaround invalid tag value node on add return array ( #6068 )
...
* Skip invalid return tag
* skip @var and @param invalid tags too
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-09 19:36:06 +02:00
Tomas Votruba
32a7122444
remove unneeded TagValueNodeConfiguration ( #6050 )
2021-04-07 14:09:15 +00:00
TomasVotruba
126da19c86
deprecated tag value node configuration
2021-04-07 14:04:07 +02:00
Tomas Votruba
b03536c0f5
Improve token iterator usage ( #6046 )
...
* use token iterator
* add spaceless tag
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-06 20:36:50 +02:00
Tomas Votruba
31566dc869
Traverse phpdoc with use of PhpDocNodeVisitor ( #6045 )
...
* make use of new simple-php-doc-parser
* add ParamPhpDocNodeVisitor
* remove uneeded contracts
* skip bool instanceof
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-06 19:33:09 +02:00
Tomas Votruba
047045636f
comoser: bump package deps with static doctrine/annotation parser ( #6040 )
2021-04-05 14:22:24 +00:00
Tomas Votruba
0eec24e342
add reprint test ( #6038 )
...
* add failing test case for extended first node
* fix reprint of first node start
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-05 15:25:08 +02:00
TomasVotruba
de953e0f37
check for existing keys
2021-04-05 13:14:55 +02:00
TomasVotruba
aa36334e31
enforce php doc node type re-print on change
2021-04-05 12:44:21 +02:00
TomasVotruba
fb1e746157
use strings instead of class-strings
2021-04-05 11:53:03 +02:00
TomasVotruba
5df7837892
remove value with key too
2021-04-05 10:52:32 +02:00
Tomas Votruba
28ebdf833c
Extract AbstractValuesAwareNode to improve working with values ( #6036 )
2021-04-05 10:40:13 +02:00
TomasVotruba
30418c6131
make inlined var single-lined
2021-04-04 23:02:43 +02:00
TomasVotruba
51190b69cb
add removeValue()
2021-04-04 22:51:01 +02:00
TomasVotruba
393031b027
make phpdoc info multiline by default if new node is added
2021-04-04 17:37:28 +02:00
Tomas Votruba
74dc172b74
Misc node printing improvements ( #6034 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-04 15:07:52 +00: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
1224a69c8a
remove unused containsArrayType() method ( #6022 )
2021-03-31 11:41:32 +00:00
Tomas Votruba
03c3a6310b
[BetterPhpDocParser] Improve TagValueNodeReprintTest ( #6016 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-30 14:24:16 +00:00
Tomas Votruba
5fa858b072
[DoctrineAnnotationSyncer] Remove to move to static reflection ( #6006 )
2021-03-29 13:01:35 +00:00
TomasVotruba
c83d131956
make use phpdoc-parser fixed end
2021-03-23 21:35:20 +01:00
TomasVotruba
e7117092bf
update to doctrine package
2021-03-22 02:31:22 +01:00
TomasVotruba
fe916caf49
move doctrine interfaces
2021-03-22 02:12:43 +01:00
TomasVotruba
77face018f
cleanup MultiPhpDocNodeFactory from Doctrine tags
2021-03-22 02:06:54 +01:00
TomasVotruba
a5c4b33947
remove EntityTagValueNodeFactory
2021-03-22 02:00:14 +01:00
Tomas Votruba
0964e8c3d7
[Doctrine] Decopule to own package ( #5943 )
...
* [Doctrine] Decopule to own package
* move Doctrine outside
2021-03-22 01:53:42 +01:00
Tomas Votruba
fdf797e3a4
Remove JMSInjectPhpDocNodeFactory, already in Symfony ( #5944 )
2021-03-22 01:35:27 +01:00
Tomas Votruba
4f27f39e70
Remove dynamic type checks #3 ( #5942 )
2021-03-21 23:07:40 +00:00
Tomas Votruba
ae1c6b90f7
Remove dynamic type checks #2 ( #5941 )
2021-03-21 21:31:18 +00:00
Tomas Votruba
a781b3bd12
Remove dynamic type checks ( #5939 )
2021-03-21 19:41:17 +01:00
TomasVotruba
0693fff578
update to rector-symfony phpdoc nodesfs
2021-03-21 12:35:41 +01:00
TomasVotruba
b04cb4afc9
misc
2021-03-21 12:07:20 +01:00
TomasVotruba
b0be57dcd9
move JMS and Sensio tag nodes to rector-symfony
2021-03-21 12:07:16 +01:00
Tomas Votruba
0d972b206e
trigger ( #5931 )
2021-03-21 02:09:17 +00:00
TomasVotruba
c6749cac63
removed unused use
2021-03-21 02:35:15 +01:00
TomasVotruba
c7156958ae
add MultiPhpDocNodeFactoryInterface
2021-03-21 02:13:37 +01:00
TomasVotruba
94fd5af4f8
make use of external symfony doc nodes
2021-03-21 01:38:09 +01:00
Tomas Votruba
225ea99441
Decouple Symfony tags ( #5928 )
2021-03-21 01:18:20 +01:00