Commit Graph
812 Commits
Author SHA1 Message Date
Jaap van Otterdijk 92ecf5dcfd Merge pull request #431 from phpDocumentor/phpstan-improvements
More phpstan checks for better code
2026-01-04 16:27:49 +01:00
Jaapio 9f96a9ff69 Add missing tests 2026-01-04 16:26:03 +01:00
Jaapio b9d1e48bd6 Add phpstan baseline to ignore unused code 2026-01-04 16:24:55 +01:00
Jaapio c1111a0b0a Add tests for factories 2026-01-04 15:34:19 +01:00
Jaapio 3f6d648d7d More phpstan checks for better code 2026-01-01 22:36:45 +01:00
Jaap van Otterdijk f08359470f Merge pull request #430 from phpDocumentor/cleanup/method-deprecations
Remove deprecated arguments
2026-01-01 20:58:40 +01:00
Jaapio bff00aaf74 Remove deprecated arguments
Argument creation was deprecated on the method tag. This is now removed.
2026-01-01 20:56:36 +01:00
Jaap van Otterdijk 7f416fbc30 Merge pull request #429 from phpDocumentor/prepare-6.x-build
Prepare 6.x build
2025-12-28 11:05:29 +01:00
Jaapio fba45a3718 More cleanup of tag creation
TagWithType need to be created via a factory now.
2025-12-24 16:16:59 +01:00
Jaapio 02f9ed7a8f Remove deprecated code paths
Typed tags are no longer creatable via the create method. The
parsing has become to complex to handle per tag. This logic has been
moved into factories.
2025-12-23 21:51:08 +01:00
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
Simon Podlipsky f9534dfb4b chore(deps): allow webmozart/assert v2 2025-12-22 20:06:07 +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
Stefan Bürk 67d330993f [BUGFIX] Mitigate "Using null as an array offset is deprecated"
Using `DocBlockFactory->create()` with a phpdocblock
hanging a `@throws` tag followed by a exception class
name emits following PHP 8.5.0 deprecation:

```
Using null as an array offset is deprecated,
use an empty string instead
```

in `StandardTagFactory->getArgumentsForParametersFromWiring()`.

This change uses the null-coalsce operator to fallback to
an empty string for the value which should be used as an
array key instead of using `null` to mitigate the deprecation
notice with PHP8.5.0 and matches the behaviour in earlier
PHP versions without the deprecation message.
2025-11-26 22:06:27 +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
dependabot[bot] cdfe60ba03 Bump phpDocumentor/.github/.github/workflows/code-coverage.yml
Bumps [phpDocumentor/.github/.github/workflows/code-coverage.yml](https://github.com/phpdocumentor/.github) from 0.8 to 0.9.
- [Release notes](https://github.com/phpdocumentor/.github/releases)
- [Commits](https://github.com/phpdocumentor/.github/compare/v0.8...v0.9)

---
updated-dependencies:
- dependency-name: phpDocumentor/.github/.github/workflows/code-coverage.yml
  dependency-version: '0.9'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-11-17 10:29:13 +00: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
dependabot[bot] 121ae15001 Bump phpDocumentor/.github/.github/workflows/lint.yml from 0.8 to 0.9
Bumps [phpDocumentor/.github/.github/workflows/lint.yml](https://github.com/phpdocumentor/.github) from 0.8 to 0.9.
- [Release notes](https://github.com/phpdocumentor/.github/releases)
- [Commits](https://github.com/phpdocumentor/.github/compare/v0.8...v0.9)

---
updated-dependencies:
- dependency-name: phpDocumentor/.github/.github/workflows/lint.yml
  dependency-version: '0.9'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-11-10 11:29:34 +00:00
dependabot[bot] c4924651e1 Bump phpDocumentor/.github/.github/workflows/static-analysis.yml
Bumps [phpDocumentor/.github/.github/workflows/static-analysis.yml](https://github.com/phpdocumentor/.github) from 0.8 to 0.9.
- [Release notes](https://github.com/phpdocumentor/.github/releases)
- [Commits](https://github.com/phpdocumentor/.github/compare/v0.8...v0.9)

---
updated-dependencies:
- dependency-name: phpDocumentor/.github/.github/workflows/static-analysis.yml
  dependency-version: '0.9'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-11-10 11:29:32 +00:00
dependabot[bot] 9bc9646aae Bump phpDocumentor/.github/.github/workflows/continuous-integration.yml
Bumps [phpDocumentor/.github/.github/workflows/continuous-integration.yml](https://github.com/phpdocumentor/.github) from 0.8 to 0.9.
- [Release notes](https://github.com/phpdocumentor/.github/releases)
- [Commits](https://github.com/phpdocumentor/.github/compare/v0.8...v0.9)

---
updated-dependencies:
- dependency-name: phpDocumentor/.github/.github/workflows/continuous-integration.yml
  dependency-version: '0.9'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-11-10 11:29:30 +00:00
dependabot[bot] 6c18eb884e Bump phpDocumentor/.github/.github/workflows/coding-standards.yml
Bumps [phpDocumentor/.github/.github/workflows/coding-standards.yml](https://github.com/phpdocumentor/.github) from 0.8 to 0.9.
- [Release notes](https://github.com/phpdocumentor/.github/releases)
- [Commits](https://github.com/phpdocumentor/.github/compare/v0.8...v0.9)

---
updated-dependencies:
- dependency-name: phpDocumentor/.github/.github/workflows/coding-standards.yml
  dependency-version: '0.9'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-11-10 11:29:29 +00:00
dependabot[bot] 02e67b3545 Bump phpDocumentor/.github/.github/workflows/dependency-analysis.yml
Bumps [phpDocumentor/.github/.github/workflows/dependency-analysis.yml](https://github.com/phpdocumentor/.github) from 0.8 to 0.9.
- [Release notes](https://github.com/phpdocumentor/.github/releases)
- [Commits](https://github.com/phpdocumentor/.github/compare/v0.8...v0.9)

---
updated-dependencies:
- dependency-name: phpDocumentor/.github/.github/workflows/dependency-analysis.yml
  dependency-version: '0.9'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-11-10 11:29:27 +00: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
Worma a508a8b1de setAccessible() does not have any effect as of PHP 8.1 2025-08-01 06:16:17 +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
Danny van der Sluijs 9cd3a32603 Fix workflow badge, tweak stable and unstable badges 2025-04-18 11:00:37 +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
dependabot[bot] 77e1c12eba Bump doctrine/deprecations from 1.1.3 to 1.1.4
Bumps [doctrine/deprecations](https://github.com/doctrine/deprecations) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/doctrine/deprecations/releases)
- [Commits](https://github.com/doctrine/deprecations/compare/1.1.3...1.1.4)

---
updated-dependencies:
- dependency-name: doctrine/deprecations
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2024-12-09 10:48:45 +00: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
dependabot[bot] 2f98b1ff32 Bump phpdocumentor/type-resolver from 1.9.0 to 1.10.0
Bumps [phpdocumentor/type-resolver](https://github.com/phpDocumentor/TypeResolver) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/phpDocumentor/TypeResolver/releases)
- [Commits](https://github.com/phpDocumentor/TypeResolver/compare/1.9.0...1.10.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-11 10:54:17 +00:00
Christian Flothmann 2a8b28d42a add support for phpstan/phpdoc-parser 2 2024-11-10 22:44:37 +01:00