Skip to content

Commit 1327d61

Browse files
committed
Use phpdocumentor/reflection-docblock v6 and phpdocumentor/type-resolver v2
1 parent d96ffe5 commit 1327d61

3 files changed

Lines changed: 115 additions & 48 deletions

File tree

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
}
2525
},
2626
"require": {
27-
"php": "8.1.*|8.2.*|8.3.*|8.4.*|8.5.*",
27+
"php": "8.2.*|8.3.*|8.4.*|8.5.*",
2828
"composer-runtime-api": "^2",
2929
"nikic/php-parser": "~4.18 || ^5.0",
3030
"phpdocumentor/reflection-common": "^2.1",
31-
"phpdocumentor/reflection-docblock": "^5",
32-
"phpdocumentor/type-resolver": "^1.4",
31+
"phpdocumentor/reflection-docblock": "^6.0",
32+
"phpdocumentor/type-resolver": "^2.0",
3333
"symfony/polyfill-php80": "^1.28",
3434
"webmozart/assert": "^1.7"
3535
},
@@ -54,7 +54,7 @@
5454
},
5555
"sort-packages": true,
5656
"platform": {
57-
"php": "8.1.0"
57+
"php": "8.2.0"
5858
},
5959
"allow-plugins": {
6060
"phpstan/extension-installer": true,

composer.lock

Lines changed: 110 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration/PHP8/UnionTypesTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@
88
use phpDocumentor\Reflection\Fqsen;
99
use phpDocumentor\Reflection\Php\Project;
1010
use phpDocumentor\Reflection\Php\ProjectFactory;
11-
use phpDocumentor\Reflection\Types\False_;
11+
use phpDocumentor\Reflection\PseudoTypes\False_;
1212
use phpDocumentor\Reflection\Types\Compound;
1313
use phpDocumentor\Reflection\Types\Integer;
14-
use phpDocumentor\Reflection\Types\Mixed_;
1514
use phpDocumentor\Reflection\Types\Null_;
1615
use phpDocumentor\Reflection\Types\Object_;
17-
use phpDocumentor\Reflection\Types\Static_;
1816
use phpDocumentor\Reflection\Types\String_;
1917
use PHPUnit\Framework\TestCase;
2018

0 commit comments

Comments
 (0)