Christian Flothmann
2a8b28d42a
add support for phpstan/phpdoc-parser 2
2024-11-10 22:44:37 +01:00
dependabot[bot]
234e9df908
Bump phpstan/phpstan from 1.12.7 to 1.12.8
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.12.7 to 1.12.8.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/2.0.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/1.12.7...1.12.8 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2024-11-07 10:12:01 +00:00
Jaapio
0c70d2c566
Resolve notice on undefined index
...
fixes #384
2024-11-06 12:58:54 +01:00
Jaapio
54e10d44fc
Add tests for new tags
2024-11-04 22:26:31 +01:00
Jaap van Otterdijk
fcb5c3df23
Merge pull request #377 from phpDocumentor/dependabot/composer/phpdocumentor/type-resolver-1.9.0
...
Bump phpdocumentor/type-resolver from 1.8.2 to 1.9.0
2024-11-04 21:31:31 +01:00
dependabot[bot]
67d6486abf
Bump phpdocumentor/type-resolver from 1.8.2 to 1.9.0
...
Bumps [phpdocumentor/type-resolver](https://github.com/phpDocumentor/TypeResolver ) from 1.8.2 to 1.9.0.
- [Release notes](https://github.com/phpDocumentor/TypeResolver/releases )
- [Commits](https://github.com/phpDocumentor/TypeResolver/compare/1.8.2...1.9.0 )
---
updated-dependencies:
- dependency-name: phpdocumentor/type-resolver
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2024-11-04 20:29:19 +00:00
Jaap van Otterdijk
ede8f6df4d
Merge pull request #383 from phpDocumentor/bump-phpstam
...
Bump phpstan
2024-11-04 21:20:13 +01:00
Jaapio
2911a4807e
Bump phpstan
...
Fixes a number of phpstan issues.
2024-11-04 21:17:08 +01:00
Jaapio
6a5a3b7748
Fix codestyle issues
2024-11-04 21:01:58 +01:00
Jaap van Otterdijk
6fc32d3738
Merge pull request #374 from GautierDele/5.x
...
✨ method parameter default value rendering
2024-11-04 20:47:47 +01:00
Jaap van Otterdijk
c29b3d1935
Merge pull request #378 from phpDocumentor/dependabot/composer/mockery/mockery-1.6.12
...
Bump mockery/mockery from 1.3.5 to 1.6.12
2024-11-04 19:26:28 +01:00
dependabot[bot]
57b5b4ba2f
Bump mockery/mockery from 1.3.5 to 1.6.12
...
Bumps [mockery/mockery](https://github.com/mockery/mockery ) from 1.3.5 to 1.6.12.
- [Release notes](https://github.com/mockery/mockery/releases )
- [Changelog](https://github.com/mockery/mockery/blob/1.6.x/CHANGELOG.md )
- [Commits](https://github.com/mockery/mockery/compare/1.3.5...1.6.12 )
---
updated-dependencies:
- dependency-name: mockery/mockery
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2024-11-04 10:42:32 +00:00
Gautier DELEGLISE
1ed543b248
🚨 assure backward compatibility
2024-11-04 08:24:17 +01:00
Gautier DELEGLISE
f26d445de6
♻️ revert get default value to string
2024-11-03 23:28:27 +01:00
Jaap van Otterdijk
8ea94649e7
Merge pull request #375 from phpDocumentor/build-php84
...
Build on php 8.4
2024-11-03 21:56:20 +01:00
Jaapio
f985773245
Apply more strict type checking
2024-11-03 21:54:10 +01:00
Jaapio
db271d6f57
Switch to psalm phar
2024-11-03 21:31:28 +01:00
Jaapio
d5ffce6dee
Build on php 8.4
2024-11-03 21:20:59 +01:00
Gautier DELEGLISE
2b2242d323
🐛 default value from phpstan
2024-11-01 17:33:39 +01:00
Gautier DELEGLISE
54f9b11a4c
Update MethodParameterFactory.php
2024-10-31 10:05:00 +01:00
Gautier DELEGLISE
6a623a4829
🚸 code review
2024-10-30 21:49:01 +01:00
Gautier DELEGLISE
93cfc743bd
💚 removed unecessary imports
2024-10-28 10:30:40 +01:00
Gautier DELEGLISE
992c829bad
♻️ cover more default value cases
2024-10-28 10:28:22 +01:00
Gautier DELEGLISE
456d2b0be2
🐛 left side of ?? is not nullable
2024-10-27 12:20:56 +01:00
Gautier DELEGLISE
442a3d1dc8
♻️ variable might not be defined
2024-10-27 12:17:33 +01:00
Gautier DELEGLISE
fde2b5916d
✨ method parameter default value rendering
2024-10-26 23:49:53 +02:00
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
Jaap van Otterdijk
bd5b5a8c5d
Merge pull request #373 from ahjdev/5.x
...
Add new tags
2024-08-14 21:28:18 +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
Jaap van Otterdijk
aa53f8d437
Merge pull request #371 from szepeviktor/typos
...
Fix typos
2024-05-21 08:14:15 +02:00
Viktor Szépe
ab86695010
Fix typos
2024-05-21 06:10:59 +00:00
Jaap van Otterdijk
65a1ca18a3
Merge pull request #368 from phpDocumentor/dependabot/github_actions/phpDocumentor/dot-github-0.7
...
Bump phpDocumentor/.github from 0.6 to 0.7
2024-05-21 08:10:23 +02:00
Jaap van Otterdijk
9d07b3f7fd
Merge pull request #370 from phpDocumentor/retry-parser-docblocs
...
Fix docblock tag descriptions
2024-05-21 07:55:05 +02: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
dependabot[bot]
7ed4f46ada
Bump phpDocumentor/.github from 0.6 to 0.7
...
Bumps [phpDocumentor/.github](https://github.com/phpdocumentor/.github ) from 0.6 to 0.7.
- [Release notes](https://github.com/phpdocumentor/.github/releases )
- [Commits](https://github.com/phpdocumentor/.github/compare/v0.6...v0.7 )
---
updated-dependencies:
- dependency-name: phpDocumentor/.github
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2024-05-13 10:57:32 +00:00
Jaap van Otterdijk
88a07d2628
Merge pull request #367 from phpDocumentor/fix/description-regression
...
Bugfix: resolve issue with multiline descriptions
2024-05-08 20:52:15 +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
Jaap van Otterdijk
2f7b34c2ee
Merge pull request #366 from phpDocumentor/dependabot/github_actions/phpDocumentor/dot-github-0.6
...
Bump phpDocumentor/.github from 0.5.0 to 0.6
2024-05-07 07:11:38 +02:00