Skip to content

Commit 27d2411

Browse files
committed
Prepare for 4.x
1 parent fa310ab commit 27d2411

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

composer.json

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.1",
20-
"phplrt/source": "^3.7",
21-
"phplrt/buffer": "^3.7",
22-
"phplrt/exception": "^3.7",
23-
"phplrt/parser-contracts": "^3.7",
24-
"phplrt/lexer-contracts": "^3.7",
25-
"phplrt/ast-contracts": "^3.7",
19+
"php": "^8.4",
20+
"phplrt/source": "^4.0",
21+
"phplrt/buffer": "^4.0",
22+
"phplrt/exception": "^4.0",
23+
"phplrt/parser-contracts": "^4.0",
24+
"phplrt/lexer-contracts": "^4.0",
25+
"phplrt/ast-contracts": "^4.0",
2626
"symfony/deprecation-contracts": "^2.5|^3.0"
2727
},
2828
"replace": {
@@ -38,12 +38,11 @@
3838
]
3939
},
4040
"require-dev": {
41-
"phplrt/visitor": "^3.7",
42-
"phplrt/lexer": "^3.7",
43-
"phpunit/phpunit": "^10.5|^11.0",
44-
"phpstan/extension-installer": "^1.4",
45-
"phpstan/phpstan": "^1.11",
46-
"phpstan/phpstan-strict-rules": "^1.6",
41+
"phplrt/visitor": "^4.0",
42+
"phplrt/lexer": "^4.0",
43+
"phpunit/phpunit": "^12.5",
44+
"phpstan/phpstan": "^2.1.33",
45+
"phpstan/phpstan-strict-rules": "^2.0",
4746
"jetbrains/phpstorm-attributes": "^1.0"
4847
},
4948
"autoload-dev": {
@@ -52,12 +51,12 @@
5251
}
5352
},
5453
"provide": {
55-
"phplrt/parser-contracts-implementation": "^3.7"
54+
"phplrt/parser-contracts-implementation": "^4.0"
5655
},
5756
"extra": {
5857
"branch-alias": {
59-
"dev-master": "3.x-dev",
60-
"dev-main": "3.x-dev"
58+
"dev-master": "4.x-dev",
59+
"dev-main": "4.x-dev"
6160
}
6261
},
6362
"config": {

src/ConfigurableParserInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
/**
1313
* @template TNode of object
14+
*
1415
* @template-extends ParserInterface<TNode>
1516
*/
1617
interface ConfigurableParserInterface extends ParserInterface

src/Context/ContextOptionsTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
/**
88
* @psalm-require-implements ContextOptionsProviderInterface
9-
*
109
* @mixin ContextOptionsProviderInterface
1110
*/
1211
trait ContextOptionsTrait

src/Parser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
* </code>
6060
*
6161
* @template TNode of object
62+
*
6263
* @template-implements ConfigurableParserInterface<TNode>
6364
*/
6465
final class Parser implements ConfigurableParserInterface, ParserConfigsInterface

0 commit comments

Comments
 (0)