Sebastian Schreiber
2b671a27d5
[FEATURE] Output changelog url in OutputFormatterInterface ( #6073 )
2021-04-10 16:54:24 +02:00
Tomas Votruba
8472eadff4
Misc file processor improvements ( #6080 )
2021-04-10 14:01:36 +00:00
Tomas Votruba
9e6e3f7a92
Simplify set provider ( #6077 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-10 11:38:25 +00:00
Abdul Malik Ikhsan
4d78e28f25
[NodeTypeResolver] Fixes #6065 Use existing NodeTypeResolver object on Auto Imports short name ( #6069 )
2021-04-09 23:00:57 +02: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
Sebastian Schreiber
4296d35903
[FEATURE] Use generic processor interface for non php files ( #6060 )
2021-04-09 18:44:00 +02:00
Tomas Votruba
8e8446a909
remove METHOD_NAME attribute to promote single source of node ( #6063 )
2021-04-09 12:45:07 +02:00
Tomas Votruba
d9b70b6354
fix ConfigFileAwareInterface in src code ( #6058 )
2021-04-08 15:54:31 +02:00
Tomas Votruba
cb60705d78
Restore parent relations on new nodes ( #6057 )
2021-04-08 12:44:26 +00:00
Tomas Votruba
b75db9403d
[Composer] Open AbstractComposerRectorTestCase ( #6055 )
2021-04-08 12:30:43 +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
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
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
e548f02840
improve NewTypeResolver with anonymous class
2021-04-05 14:19:44 +02:00
TomasVotruba
3ce033107d
add NewTypeResolver
2021-04-05 14:02:30 +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
e4b6a8d725
null start end, not parent
2021-04-05 11:15:38 +02:00
TomasVotruba
ecb7a3e330
invoke no-reprint on rename
2021-04-05 11:14:23 +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
903e98e28e
remove unused method ( #6012 )
...
* remove unused method
* add parseContent() method
2021-03-29 20:45:33 +02:00
Tomas Votruba
5fa858b072
[DoctrineAnnotationSyncer] Remove to move to static reflection ( #6006 )
2021-03-29 13:01:35 +00:00
Zing
dfaa809847
Return mixed type if property fetch scope is null ( #5998 )
2021-03-29 10:29:32 +02:00
Abdul Malik Ikhsan
d266e6935c
[NodeNameResolver] Set return false on node is MethodCall/StaticCall on NodeNameResolver::isName() ( #5981 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-24 23:39:29 +01:00
Michal Lulco
8290449e2c
Added league event to set list ( #5972 )
2021-03-24 23:33:48 +01:00
Tomas Votruba
e776d753ef
[TypedProperty] Skip trait property type as unable to resolve reliable ( #5971 )
2021-03-23 23:48:07 +00:00
Tomas Votruba
627d3f721f
[TypeDeclaration] Fix interface contract override by docs ( #5965 )
2021-03-23 23:31:21 +00:00
Tomas Votruba
ae8ead946b
Do not print files with fatal errors as the file format breaks completely ( #5967 )
2021-03-23 22:29:59 +00:00
Tomas Votruba
27e9ad030a
Remove buggy rules that depend on false condition of all class and calls analysis, to improve static reflection ( #5958 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-23 23:13:35 +01:00
TomasVotruba
2f677206f4
use naming
2021-03-23 21:54:42 +01:00
TomasVotruba
c83d131956
make use phpdoc-parser fixed end
2021-03-23 21:35:20 +01:00
TomasVotruba
582d8a880b
restore
2021-03-23 00:40:45 +01:00
addshore
7d96325399
Fix Undefined offset in TypeFactory around flattenTypes calls ( #5956 )
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2021-03-23 00:28:24 +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
2b555d0bc4
space
2021-03-22 02:05:14 +01:00