isaackaara
700b4e071f
fix: Remove trailing spaces from empty docblock lines ( #30 )
...
When DocBlock text contains empty lines, str_replace replaces each newline
with a newline followed by ' * ', producing ' * ' (with trailing space) for
empty lines. This triggers trailing-whitespace linters.
Added a preg_replace after each str_replace call to strip trailing horizontal
whitespace from lines that consist only of ' *' followed by spaces.
2026-03-05 12:30:11 +01:00
Joey Richard
d103774cbe
Correcting an issue where there are two empty lines, first with an extra space, when there is no text to display on the first line. ( #29 )
v2.4.0
2025-07-17 08:07:30 +02:00
func0der
5a3e22c213
trim_empty_docblock_whitespaces Trim whitespaces from phpdocs without content ( #28 )
2025-06-19 15:09:12 +02:00
Nereo Berardozzi
b6ff9f9360
Fixed parsing of string literals and array shapes ( #27 )
v2.3.1
2025-01-18 20:26:32 +01:00
Nereo Berardozzi
ffb733ef78
Fixed callable types parsing ( #26 )
2024-12-30 19:14:26 +01:00
Barry vd. Heuvel
818be8de6a
Update README.md
v2.3.0
2024-12-30 11:35:04 +01:00
Barry vd. Heuvel
268ae0f584
Bump to 2.3
2024-12-30 11:31:48 +01:00
Barry vd. Heuvel
6b3854ad25
Add ContextFactory ( #25 )
2024-12-30 11:31:22 +01:00
Aamir Sohail KmAs
db125e8df4
style: fix typo in Description.php ( #24 )
v2.2.0
2024-12-28 11:00:03 +01:00
Barry vd. Heuvel
62d62638b2
Update composer.json
2024-12-28 10:02:09 +01:00
Nereo Berardozzi
476f62b577
Added generics to Context ( #22 )
2024-12-24 19:06:41 +01:00
Nereo Berardozzi
e5c8b970d6
Handle more PHPDoc type keyworks ( #23 )
...
* Added advanced PHPDoc type keyworks
* Fixed typed keywords
2024-12-24 19:06:02 +01:00
Nereo Berardozzi
d5d2d76892
Parse template tag for generics ( #21 )
...
* Parse template tag for generics
* Fixed templatetag docblock
* Fixed PHP 7 issue
* Fixed PHP 7.2 issue
* Fixed another 7.2 issue
2024-12-24 12:30:50 +01:00
Barry vd. Heuvel
fba297a2a7
Merge pull request #20 from JeppeKnockaert/fix-php84-deprecations
...
Fix PHP 8.4 deprecations
2024-11-27 22:10:25 +01:00
Jeppe Knockaert
0fd348d3fe
Replace implicitly nullable parameters for PHP 8.4
2024-11-27 11:22:09 +01:00
Barry vd. Heuvel
67e478e26a
Merge pull request #19 from KentarouTakeda/chore-improve-tests
...
chore: improve tests
2024-11-08 21:47:50 +01:00
武田 憲太郎
e292151642
Update actions/checkout to the latest version
2024-11-08 21:37:33 +09:00
武田 憲太郎
8bb2a5f9b7
Test coverage extended to PHP 8.4
2024-11-08 21:30:01 +09:00
武田 憲太郎
ac3b854893
Exclude PHPUnit auto-generated files from git
2024-11-08 21:29:38 +09:00
Barry vd. Heuvel
c6fad15f7c
Merge pull request #18 from KentarouTakeda/fix-generics-and-closures-return-type
...
Fixed incorrect parsing of return types for generics and closures
v2.1.3
2024-10-23 13:41:03 +02:00
武田 憲太郎
836d531676
Fixed incorrect parsing of return types for generics and closures
2024-10-20 09:02:42 +09:00
Barry vd. Heuvel
bba116ba9d
Merge pull request #17 from KentarouTakeda/nested-generics-and-closures-type-hint
...
Support nested generics and closures type hint
v2.1.2
2024-10-16 13:06:28 +02:00
武田 憲太郎
23fa082874
Support nested generics and closures type hint
2024-10-16 18:33:31 +09:00
Barry vd. Heuvel
e6811e927f
Merge pull request #14 from JeRabix/master
...
add support parse generic type in docBlock
v2.1.1
2023-06-14 07:06:27 +02:00
Murchenko
05596d7626
add support parse generic type in docBlock
2023-04-13 22:42:48 +03:00
Barry vd. Heuvel
e5e172728c
Merge pull request #13 from EspadaV8/suppress-warnings-tag-handler
...
Support parsing SuppressWarnings tags in doc block
2022-11-25 14:06:57 +01:00
Andrew Smith
9a2f0eb8ba
Support parsing SuppressWarnings tags in doc block
...
Signed-off-by: Andrew Smith <[email protected] >
2022-11-03 21:08:57 +10:00
Barry vd. Heuvel
bf44b757fe
Merge pull request #12 from barryvdh/fix-deprecated
...
Fix deprecated messages
v2.1.0
2022-10-31 16:35:43 +01:00
Barry vd. Heuvel
e6526132ee
Fix deprecated messages
2022-10-31 16:34:24 +01:00
Barry vd. Heuvel
6b7c110b33
Merge pull request #10 from barryvdh/test-ghactions
...
Create run-tests.yml
2022-10-31 16:22:38 +01:00
Barry vd. Heuvel
ad1e63e15c
Fix tests
2022-10-31 16:20:50 +01:00
Barry vd. Heuvel
6eafab0ff3
Revert "Check namespace + class to see if it exists"
...
This reverts commit 7f729dc9a7 .
2022-10-31 16:13:13 +01:00
Barry vd. Heuvel
fe49c3d9ee
Update tests
2022-10-31 16:13:07 +01:00
Barry vd. Heuvel
3f6ec1c280
Merge pull request #8 from Kerigard/feat/separate-tags
...
feat: add separation of tags into groups
2022-10-31 16:06:25 +01:00
Barry vd. Heuvel
72df918400
Create run-tests.yml
2022-10-31 16:05:08 +01:00
Barry vd. Heuvel
c10c41e932
Merge pull request #7 from angeljqv/patch-2
...
Create .gitattributes
2022-10-31 16:01:16 +01:00
Barry vd. Heuvel
977da00f0f
Merge pull request #6 from Stevemoretz/patch-2
...
Check namespace + class to see if it exists
2022-10-31 16:01:03 +01:00
Barry vd. Heuvel
7e5538a638
Merge pull request #9 from bbprojectnet/generic-types-fix
...
Generic types recognitions bug fix
2022-10-31 16:00:41 +01:00
M@ster
295d2fba38
Generic types bug fix
2022-10-19 23:16:04 +02:00
Kerigard
ef9f04dd59
feat: add separation of tags into groups
2022-09-17 20:54:33 +03:00
angeljqv
6171834fde
Create .gitattributes
2022-06-13 16:05:10 -05:00
Steve Moretz
7f729dc9a7
Check namespace + class to see if it exists
...
main issue : https://github.com/barryvdh/laravel-ide-helper/issues/1273
Adds support for psaml and php-stan specific params and other possible problems.
2021-10-27 00:08:57 +03:30
Barry vd. Heuvel
144140cd39
Merge pull request #5 from GrahamCampbell/patch-2
...
Drop HHVM and support PHP 7
2020-01-08 14:36:02 +01:00
Graham Campbell
be72a2d318
Update .gitignore
2020-01-08 10:29:51 +00:00
Graham Campbell
6d03fa81d9
Delete composer.lock
2020-01-08 10:28:55 +00:00
Graham Campbell
3e7bb6e171
Drop HHVM and support PHP 7
2020-01-08 10:28:32 +00:00
Barry vd. Heuvel
0f32bd0e61
Merge pull request #4 from liquid207/fix-annotation-error-about-typed-array
...
Fix annotation error about typed array like array<mixed> or array<int…
2020-01-08 10:55:58 +01:00
Shuai Yang
b0b90f44f0
Fix annotation error about typed array like array<mixed> or array<int> ...
2020-01-08 15:09:57 +08:00
Barry vd. Heuvel
6b69015d83
Merge pull request #2 from JeppeKnockaert/add-brackets-for-parsing-return-types
...
feature - Improve method tag parsing
v2.0.6
2018-12-13 11:34:14 +01:00
Jeppe Knockaert
053005ed4e
feature - Improve method tag parsing
...
This is an update based on the original repository, I just cherry-picked
some code.
https://github.com/phpDocumentor/ReflectionDocBlock/blob/master/src/DocBlock/Tags/Method.php
This includes:
- https://github.com/phpDocumentor/ReflectionDocBlock/commit/e9454d844db9d8fd2f276a2069647c3c4fb15085
- https://github.com/phpDocumentor/ReflectionDocBlock/commit/e9454d844db9d8fd2f276a2069647c3c4fb15085
2018-12-13 10:13:22 +01:00