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
Tomas Votruba
68026636bf
[PHP 8.0] Refactor attributes from magic interface to explicit list ( #5926 )
2021-03-20 23:16:21 +00:00
Tomas Votruba
b28b8742fc
use rector-nette with tags ( #5924 )
...
* use rector-nette with tags
* redirect Kdyby sets
* use local ParamAnalyzer
2021-03-20 22:16:54 +01:00
TomasVotruba
b3536831fa
move nette tags to own package
2021-03-20 21:16:07 +01:00
Tomas Votruba
1a2b0f2b63
[PHPUnit] Decopule phpdoc tag nodes and factories ( #5923 )
2021-03-20 20:23:55 +01:00
TomasVotruba
1b85ac6e3b
fix inlined space
2021-03-20 17:18:31 +01:00
TomasVotruba
e1fb011d1e
remove MultilineSpaceFormatPreserver
2021-03-20 16:29:06 +01:00
TomasVotruba
655d5f93a8
fix
2021-03-20 16:28:30 +01:00
TomasVotruba
628837c08f
rename AttributeAwareParamTagValueNode to VariadicAwareParamTagValueNode
2021-03-20 16:27:30 +01: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