Commit Graph
794 Commits
Author SHA1 Message Date
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
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