Skip to content

Commit f425037

Browse files
authored
Merge pull request #12 from bram123/phpstan_update
2 parents 9ed9e7c + c8844e2 commit f425037

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"sort-packages": true,
99
"allow-plugins": {
1010
"phpstan/extension-installer": true
11-
}
11+
},
12+
"lock": false
1213
},
1314
"require": {
1415
"php": ">=8.1",
@@ -22,9 +23,9 @@
2223
"squizlabs/php_codesniffer": "^3.6",
2324
"phpmd/phpmd": "^2.14",
2425
"phpunit/phpunit": "^9.6",
25-
"phpstan/phpstan": "^1.10",
26-
"phpstan/phpstan-phpunit": "^1.3",
27-
"phpstan/phpstan-strict-rules": "^1.5",
26+
"phpstan/phpstan": "^2.0",
27+
"phpstan/phpstan-phpunit": "^2.0",
28+
"phpstan/phpstan-strict-rules": "^2.0",
2829
"phpstan/extension-installer": "^1.3"
2930
},
3031
"autoload": {

src/Constraint/InputConstraint.php

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

88
class InputConstraint extends Constraint
99
{
10+
/** @var string */
1011
public const WRONG_VALUE_TYPE = '67ff49d5-9a61-47ad-80f1-960fd2beab6f';
1112

1213
protected const ERROR_NAMES = [self::WRONG_VALUE_TYPE => 'WRONG_VALUE_TYPE',];

0 commit comments

Comments
 (0)