Jaapio
60741fe387
Fix unittests
2024-08-14 22:00:37 +02:00
Jaapio
3f5534f776
Remove abstract factory
2024-08-14 21:57:29 +02:00
Jaapio
06e5db2279
Fix code style issues
2024-08-14 21:52:41 +02:00
AhJ
47fea84af1
Add description
2024-07-27 18:07:00 +03:30
AhJ
f17d98425c
Seprate template-* tags
2024-07-27 18:06:52 +03:30
AhJ
f93a6b70aa
Register tags
2024-07-24 12:11:24 +03:30
AhJ
cca538efed
Add TemplateCovariant tag
2024-07-24 12:11:07 +03:30
AhJ
19b5535d39
Clean up
2024-07-24 12:10:58 +03:30
AhJ
3acbe24b17
Add Implements tags
2024-07-24 12:10:38 +03:30
AhJ
f387e8faa9
Add Extends tags
2024-07-24 12:10:17 +03:30
AhJ
a46da81e77
Add Template tag
2024-07-24 12:09:41 +03:30
AhJ
6908c99a87
Add mixin tag
2024-07-23 18:14:49 +03:30
AhJ
a979495847
add doc
2024-07-16 21:25:04 +03:30
AhJ
bbb6a02b91
Add implements
2024-07-16 21:19:04 +03:30
Viktor Szépe
ab86695010
Fix typos
2024-05-21 06:10:59 +00:00
Jaapio
8c422ab43b
Fix docblock tag descriptions
...
Newlines and whitespaces were not handled as before. This caused
issues for some users because our indent-recuction was broken.
The cause seems to be an upstream issue in phpstan parser which
is not resolved yet. But this work around post processing the tokens
helps us to make it work as before.
2024-05-21 07:50:53 +02:00
Jaapio
518be131c0
Bugfix: resolve issue with multiline descriptions
...
The phpstan parser is not consuming the full description when parsing
docblocks with a more complex description. For them it's mostlikely not an
issue as phpstan doesn't use the descriptions. But it will also parse
the descriptions into unexpected tags. This could be an advantage but is
not according to the phpdoc spec.
Our own tokenizer is already tokenizing the docblocks into the correct parts.
So all we needed to do is assume all remaining tokens in the phpstan ast belong
to the description. From there our own code is able to handle this as before in
v5.3.
fixes #365
2024-05-08 20:49:40 +02:00
Jaapio
64e172d8ae
Added test for regression on invalid types
2024-04-09 23:09:05 +02:00
Jaapio
edd5f67143
Be more strict about type definitions on param
...
Throw on invalid type definitions and unexpected type definitions.
Not all types resolved by phpstan's parser are valid for docblocks,
they might in a more complex type system but I do not see how these
types would ever apply to param tags.
2024-04-08 21:38:01 +02:00
Jaapio
d3cbc396a9
Add extra deprecation
2024-03-20 22:07:56 +01:00
Jaapio
fc9a2339f2
Implement fallback option for params without variable
2024-03-20 21:57:07 +01:00
Jaapio
98566f2504
Add typeless parameter support.
2024-03-12 22:49:26 +01:00
Jaapio
c6d49fc451
Fix code style and bump to php 7.4
2024-03-12 22:28:53 +01:00
Aydin Hassan
ae20798fde
Fix rendering a description when it contains escaped characters and no tags
2023-10-11 14:57:53 +02:00
Jaapio
29e383a759
Fix issue with missing registered factory
2022-11-14 22:00:05 +01:00
Jaapio
1f95f3b735
Codestyle fixes and static analysis
2022-11-11 14:24:45 +01:00
Jaapio
6a92bc3ce9
Remove type logic from this package
2022-11-11 12:30:14 +01:00
Jaapio
d6e90a3238
Add callable parameter support
2022-11-04 15:43:05 +01:00
Jaapio
50bf16734e
Add support for constant types.
...
phpstan supports contant definitions and expressions to
link to constants.
2022-11-04 11:21:53 +01:00
Jaapio
8d57d3da2d
Add deprecation to getArguments
2022-10-28 22:43:02 +02:00
Jaapio
81553b535f
Add default types to method tag arguments
2022-10-28 22:37:28 +02:00
Jaapio
e4ac07bc40
Add method support
2022-10-28 22:25:08 +02:00
Jaapio
cfe9845260
Add property support
2022-10-28 21:07:34 +02:00
Jaapio
1dd491c8ec
Add return tag factory
2022-10-28 16:47:01 +02:00
Jaapio
b12a33921b
Add deprecations
2022-10-28 16:41:00 +02:00
Jaapio
25d696587f
Cleanup and var implementation
2022-10-28 16:27:10 +02:00
Jaapio
b66b6dc644
Fix some php8+ issues
2022-10-28 14:54:08 +02:00
Jaapio
c6f6e2d523
Improve naming for tag factory
2022-10-28 14:39:55 +02:00
Jaapio
ece4f5ab18
Introduce a Simple implementation of the TagFactory interface
...
Less complex interface to implement makes it easier to implement tag factories as they
are part of the new behavior of the StandardTagFactory.
2022-10-28 14:37:01 +02:00
Jaapio
d6c050a533
WIP
2022-10-28 14:05:33 +02:00
Jaapio
7192e67cfa
First POC steps
2022-10-14 15:26:54 +02:00
Fabien Villepinte
29ed9ae60d
Support reference in method tag
2022-03-31 13:22:11 +00:00
Jaap van Otterdijk
647571f8e8
Merge pull request #318 from WinterSilence/patch-3
...
Optimize Description::render()
2021-12-20 08:08:37 +01:00
Anton
e3d6818033
Optimize Description::render()
2021-12-18 21:35:58 +03:00
Anton
8e35c5f0db
Update Description.php
2021-12-18 20:14:14 +03:00
Jaap van Otterdijk
e4b1dd3f91
Merge pull request #296 from phpDocumentor/fix/287-line-endings
...
Improve line-endings for windows.
2021-09-17 08:30:37 +02:00
Fabien Villepinte
44e31d19a6
Fix undefined index
2021-09-05 12:40:50 +02:00
Jaapio
6fa60f9f08
Fix code style
2021-08-26 22:32:25 +02:00
Jaapio
c5e702d299
Allow serializer to have a configurable line-ending
2021-08-26 22:31:30 +02:00
Jaapio
bca4974b0b
Make split platform independend
2021-08-26 22:31:30 +02:00