Jaapio
889d86b8b0
Remove support of eol versions of dependencies
...
We need to move on.
2025-12-23 21:16:28 +01:00
Jaapio
97db20d534
Tests with type resolver v2
2025-12-22 23:04:25 +01:00
Jaapio
d075d95973
Upgrade workflow for 6.x
2025-12-22 23:02:14 +01:00
Jaap van Otterdijk
5cee1d3dfc
Merge pull request #425 from simPod/wm-2
...
chore(deps): allow webmozart/assert v2
2025-12-22 22:13:58 +01:00
Jaap van Otterdijk
90614c73d3
Merge pull request #422 from sbuerk/stefan-1
...
[BUGFIX] Mitigate "Using null as an array offset is deprecated"
2025-11-27 20:50:05 +01:00
Jaap van Otterdijk
4663249fef
Merge pull request #423 from phpDocumentor/remove-outdated-test
...
Remove outdated test
2025-11-27 20:49:31 +01:00
Jaapio
84265c845d
Remove outdated test
...
We support collections of self now.
2025-11-27 20:45:57 +01:00
Jaap van Otterdijk
90a04bcbf0
Merge pull request #421 from phpDocumentor/dependabot/github_actions/phpDocumentor/dot-github/dot-github/workflows/code-coverage.yml-0.9
...
Bump phpDocumentor/.github/.github/workflows/code-coverage.yml from 0.8 to 0.9
2025-11-17 22:13:10 +01:00
Jaap van Otterdijk
c733f0398f
Merge pull request #418 from phpDocumentor/dependabot/github_actions/phpDocumentor/dot-github/dot-github/workflows/continuous-integration.yml-0.9
...
Bump phpDocumentor/.github/.github/workflows/continuous-integration.yml from 0.8 to 0.9
2025-11-10 16:53:48 +01:00
Jaap van Otterdijk
70bed89108
Merge pull request #416 from phpDocumentor/dependabot/github_actions/phpDocumentor/dot-github/dot-github/workflows/dependency-analysis.yml-0.9
...
Bump phpDocumentor/.github/.github/workflows/dependency-analysis.yml from 0.8 to 0.9
2025-11-10 16:53:32 +01:00
Jaap van Otterdijk
831a7596d5
Merge pull request #417 from phpDocumentor/dependabot/github_actions/phpDocumentor/dot-github/dot-github/workflows/coding-standards.yml-0.9
...
Bump phpDocumentor/.github/.github/workflows/coding-standards.yml from 0.8 to 0.9
2025-11-10 16:53:12 +01:00
Jaap van Otterdijk
e9a766338b
Merge pull request #420 from phpDocumentor/dependabot/github_actions/phpDocumentor/dot-github/dot-github/workflows/lint.yml-0.9
...
Bump phpDocumentor/.github/.github/workflows/lint.yml from 0.8 to 0.9
2025-11-10 16:52:55 +01:00
Jaap van Otterdijk
b181f1c190
Merge pull request #419 from phpDocumentor/dependabot/github_actions/phpDocumentor/dot-github/dot-github/workflows/static-analysis.yml-0.9
...
Bump phpDocumentor/.github/.github/workflows/static-analysis.yml from 0.8 to 0.9
2025-11-10 12:38:13 +01:00
Jaapio
4277f906ba
Fix code style issue
2025-11-07 16:00:13 +01:00
Jaap van Otterdijk
94f8051919
Merge pull request #414 from W0rma/reflection-set-accessible
...
Do not call Reflection*::setAccessible() in PHP >= 8.1
2025-08-01 21:43:32 +02:00
Jaap van Otterdijk
65a4d3e9dd
Merge pull request #410 from DannyvdSluijs/patch-1
...
Fix workflow badge, tweak stable and unstable badges
2025-04-21 09:16:29 +02:00
Jaap van Otterdijk
92dde6a591
Merge pull request #409 from phpDocumentor/enable-integration-tests
...
Fix newline detection on descriptions
2025-04-13 21:20:35 +02:00
Jaapio
d1c6c03eaa
Fix issue with tag description end detection.
2025-04-13 21:16:25 +02:00
Jaapio
e2ad295cd6
Enable running integration tests in pipelines
2025-04-13 13:04:50 +02:00
Jaapio
a549656c45
Remove bc checker
2025-04-13 12:57:36 +02:00
Jaap van Otterdijk
2a6c077aa5
Merge pull request #395 from phpDocumentor/dependabot/composer/doctrine/deprecations-1.1.4
...
Bump doctrine/deprecations from 1.1.3 to 1.1.4
2025-02-18 12:02:15 +01:00
Jaap van Otterdijk
e5e784149a
Merge pull request #394 from phpDocumentor/bugfix/phpstan-parser-2.0
...
Fix compatibility issue with phpstan 2.0 parser
2024-12-07 10:39:29 +01:00
Jaapio
d46c3297fb
Fix compatibility issue with phpstan 2.0 parser
...
The phpstan 2.0 release contains a fix which resolves the existing bug
in the old parser that didn't take the whole description when it was
multiline. Now the workaround is disabled when using phpstan parser v2
Fixes #393
2024-12-07 10:35:23 +01:00
Jaap van Otterdijk
f3558a4c23
Merge pull request #385 from phpDocumentor/dependabot/composer/phpstan/phpstan-1.12.8
...
Bump phpstan/phpstan from 1.12.7 to 1.12.8
2024-11-12 12:25:25 +01:00
Jaap van Otterdijk
6a29e605ef
Merge pull request #387 from phpDocumentor/dependabot/composer/phpdocumentor/type-resolver-1.10.0
...
Bump phpdocumentor/type-resolver from 1.9.0 to 1.10.0
2024-11-12 12:25:00 +01:00
Jaapio
d0e946cb14
Fix code style
2024-11-12 12:22:19 +01:00
Jaap van Otterdijk
5763b5b3f4
Merge pull request #386 from xabbuh/phpstan-phpdoc-parser-2
...
add support for phpstan/phpdoc-parser 2
2024-11-12 12:21:26 +01: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
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
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
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
Jaap van Otterdijk
aa53f8d437
Merge pull request #371 from szepeviktor/typos
...
Fix typos
2024-05-21 08:14:15 +02: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
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
Jaap van Otterdijk
298d2febfe
Merge pull request #364 from phpDocumentor/fix/catch-invalid-type-creation
...
Added test for regression on invalid types
2024-04-09 23:13:58 +02:00
Jaapio
64e172d8ae
Added test for regression on invalid types
2024-04-09 23:09:05 +02:00
Jaapio
08acd34f7e
Add test for constant references.
2024-04-08 22:15:57 +02:00
Jaap van Otterdijk
67a55cc31d
Merge pull request #363 from phpDocumentor/fix/malformed-type-definitions
...
Be more strict about type definitions on param
2024-04-08 21:44:59 +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
f359e4f8ef
Fix code style
2024-03-20 22:40:18 +01:00
Jaapio
7b2f618fe1
Add test for string value params
...
shows the correct behavior of #348
fixes #348
2024-03-20 22:16:52 +01:00
Jaap van Otterdijk
c9b9e93018
Merge pull request #360 from phpDocumentor/fix/typeless_param
...
Add typeless parameter support.
2024-03-20 22:15:57 +01: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
2b309a247d
Fix ci script typo
2024-03-12 22:45:15 +01:00
Jaap van Otterdijk
eb008b75d8
Merge pull request #359 from phpDocumentor/dependabot/github_actions/phpDocumentor/dot-github-0.5.0
...
Bump phpDocumentor/.github from 0.3.0 to 0.5.0
2024-03-12 22:41:56 +01:00
Jaapio
c6d49fc451
Fix code style and bump to php 7.4
2024-03-12 22:28:53 +01:00
Jaap van Otterdijk
1c6b5465fa
Merge pull request #357 from AydinHassan/fix-description-formatting-with-escaping
...
Fix rendering a description when it contains escaped chars and no tags
2024-03-12 22:17:14 +01:00
Jaap van Otterdijk
0b48e261e0
Bump to stable type resolver
2024-01-26 21:33:24 +01:00
Jaap van Otterdijk
c86c8d449b
Merge pull request #356 from sergiy-petrov/sergiy-petrov-patch-1
...
Test against php 8.3
2023-10-13 08:34:03 +02:00
Jaap van Otterdijk
7b21721772
Merge pull request #350 from phpDocumentor/dependabot/github_actions/phpDocumentor/dot-github-0.3.0
...
Bump phpDocumentor/.github from 0.1.0 to 0.3.0
2023-03-12 11:50:44 +01:00
Jaapio
566af9fb94
Bump type resolver
2022-11-19 21:28:46 +01:00
Jaapio
29e383a759
Fix issue with missing registered factory
2022-11-14 22:00:05 +01:00
Jaap van Otterdijk
ec81b5479a
Merge pull request #344 from williamdes/gitattributes-update
...
Update .gitattributes
2022-11-14 08:58:30 +01:00
Jaap van Otterdijk
b5dc333089
Merge pull request #343 from phpDocumentor/poc-phpstan-integration
...
PhpStan based tag parsing
2022-11-11 15:54:50 +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
Jaap van Otterdijk
203354b3c0
Merge pull request #340 from phpDocumentor/modernize_ci
...
Upgrade ci to standardized pipeline
2022-08-27 12:55:55 +02:00
Jaapio
863ec23a9e
Upgrade ci to standardized pipeline
2022-08-27 12:51:20 +02:00
Jaap van Otterdijk
407c40dcfb
Merge pull request #338 from phpDocumentor/dependabot/composer/psalm/phar-4.24.0
...
Bump psalm/phar from 4.22.0 to 4.24.0
2022-07-27 22:03:43 +02:00
Jaap van Otterdijk
8d72b24f12
Merge pull request #336 from phpDocumentor/dependabot/composer/webmozart/assert-1.11.0
...
Bump webmozart/assert from 1.10.0 to 1.11.0
2022-07-27 22:03:25 +02:00
Jaap van Otterdijk
3032f88c16
Merge pull request #333 from phpDocumentor/dependabot/composer/phpdocumentor/type-resolver-1.6.1
...
Bump phpdocumentor/type-resolver from 1.6.0 to 1.6.1
2022-07-22 16:19:31 +02:00
Jaap van Otterdijk
9455bde915
Merge pull request #331 from phpDocumentor/dependabot/github_actions/actions/cache-3
...
Bump actions/cache from 2.1.7 to 3
2022-04-02 22:16:01 +02:00
Jaap van Otterdijk
dd9861e924
Merge pull request #332 from villfa/feat/returns-reference
...
Support reference in method tag
2022-04-02 22:15:46 +02:00
Jaapio
6baa6f8bd7
Remove scrutinizer
2022-03-29 22:08:34 +02:00
Jaapio
5e4ff887c6
Bump psalm
2022-03-29 22:06:36 +02:00
Jaap van Otterdijk
06325859d3
Merge pull request #329 from jrfnl/feature/ghactions-update-various-actions
...
GH Actions: version update for various predefined actions
2022-03-29 21:19:47 +02:00
Jaap van Otterdijk
21481a5c97
Merge pull request #311 from phpDocumentor/dependabot/github_actions/actions/cache-2.1.7
...
Bump actions/cache from 2.1.6 to 2.1.7
2021-12-27 23:36:43 +01:00
Jaap van Otterdijk
0535106ec9
Merge pull request #320 from villfa/ci/scrutinizer
...
Send code coverage to Scrutinizer
2021-12-27 23:36:19 +01:00