Skip to content

Commit ef3890f

Browse files
committed
Graphpinator 2.0 compatibility
1 parent 209b22b commit ef3890f

19 files changed

Lines changed: 1673 additions & 945 deletions

composer.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,18 @@
1212
}
1313
],
1414
"require": {
15-
"infinityloop-dev/graphpinator": "^1.4"
15+
"infinityloop-dev/graphpinator": "^2.0"
1616
},
1717
"require-dev": {
1818
"phpunit/phpunit": "^10.4",
19-
"infection/infection": "^0.27",
20-
"phpstan/phpstan": "^1.10 || ^2.0",
21-
"infinityloop-dev/coding-standard": "^0.2"
19+
"infection/infection": "^0.29",
20+
"phpstan/extension-installer": "^1.4",
21+
"phpstan/phpstan": "^2.0",
22+
"phpstan/phpstan-deprecation-rules": "^2.0",
23+
"phpstan/phpstan-strict-rules": "^2.0",
24+
"shipmonk/composer-dependency-analyser": "^1.8",
25+
"thecodingmachine/phpstan-safe-rule": "^1.4",
26+
"webthinx/codestyle": "^v1.0"
2227
},
2328
"scripts": {
2429
"phpunit": "phpunit tests",
@@ -29,8 +34,9 @@
2934
"phpstan": "phpstan analyze --level 6 src",
3035
"phpstan-next": "phpstan analyze --level 7 src",
3136
"phpstan-max": "phpstan analyze --level max src",
32-
"codestyle": "phpcs --standard=vendor/infinityloop-dev/coding-standard/InfinityloopCodingStandard/ruleset.xml --extensions=php src tests",
33-
"codestyle-fix": "phpcbf --standard=vendor/infinityloop-dev/coding-standard/InfinityloopCodingStandard/ruleset.xml --extensions=php src tests"
37+
"codestyle": "phpcs --extensions=php src tests",
38+
"codestyle-fix": "phpcbf --extensions=php src tests",
39+
"dependencies": "composer-dependency-analyser"
3440
},
3541
"autoload": {
3642
"psr-4": {
@@ -42,10 +48,12 @@
4248
"Graphpinator\\Printer\\Tests\\": "tests/"
4349
}
4450
},
51+
"minimum-stability": "RC",
4552
"config": {
4653
"allow-plugins": {
4754
"dealerdirect/phpcodesniffer-composer-installer": true,
48-
"infection/extension-installer": true
55+
"infection/extension-installer": true,
56+
"phpstan/extension-installer": true
4957
}
5058
}
5159
}

0 commit comments

Comments
 (0)