Skip to content

Commit 31e953f

Browse files
committed
chore: Switch to drupol/php-conventions:^5.
1 parent 3ce0e36 commit 31e953f

File tree

2 files changed

+28
-14
lines changed

2 files changed

+28
-14
lines changed

composer.json

+25-13
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,17 @@
1919
"php": ">= 7.1"
2020
},
2121
"require-dev": {
22-
"drupol/launcher": "^2.2.2",
23-
"drupol/php-conventions": "^1.7.2 || ^1.8.6 || ^2",
22+
"drupol/php-conventions": "^5",
2423
"drupol/phpmerkle": "^2.2",
25-
"friends-of-phpspec/phpspec-code-coverage": "^4.3.2",
24+
"friends-of-phpspec/phpspec-code-coverage": "^5",
2625
"graphp/graphviz": "^0.2",
27-
"infection/infection": "^0.13.6 || ^0.15.3",
26+
"infection/infection": "^0.22",
27+
"infection/phpspec-adapter": "^0.1",
28+
"loophp/launcher": "^2.2.2",
2829
"microsoft/tolerant-php-parser": "^0.0.20",
29-
"nikic/php-parser": "^4.3",
30+
"nikic/php-parser": "^4",
3031
"phpbench/phpbench": "^0.16.10",
31-
"phpspec/phpspec": "^5.1.2 || ^6.2.2",
32-
"phptaskman/changelog": "^1.0",
33-
"vimeo/psalm": "^3.18.2"
32+
"phpspec/phpspec": "^7"
3433
},
3534
"config": {
3635
"sort-packages": true
@@ -48,10 +47,23 @@
4847
}
4948
},
5049
"scripts": {
51-
"apigen": "./vendor/bin/apigen generate src --destination build/docs",
52-
"bench": "./vendor/bin/phpbench run --report=aggregate --store --precision=3",
50+
"changelog-unreleased": "docker-compose run auto_changelog -c .auto-changelog -u",
51+
"changelog-version": "docker-compose run auto_changelog -c .auto-changelog -v",
5352
"grumphp": "./vendor/bin/grumphp run",
54-
"infection": "./vendor/bin/infection run -j 10",
55-
"scrutinizer": "./vendor/bin/ocular code-coverage:upload --format=php-clover build/logs/clover.xml"
56-
}
53+
"infection": "./vendor/bin/infection run -j 1"
54+
},
55+
"support": {
56+
"issues": "https://github.com/loophp/phptree/issues",
57+
"source": "https://github.com/loophp/phptree"
58+
},
59+
"funding": [
60+
{
61+
"type": "github",
62+
"url": "https://github.com/drupol"
63+
},
64+
{
65+
"type": "paypal",
66+
"url": "https://www.paypal.me/drupol"
67+
}
68+
]
5769
}

grumphp.yml.dist

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
imports:
2-
- { resource: vendor/drupol/php-conventions/config/php71/grumphp.yml }
2+
- { resource: vendor/drupol/php-conventions/config/php73/grumphp.yml }
33

44
parameters:
5+
tasks.license.holder: Pol Dellaiera
6+
tasks.license.date_from: 2018
57
tasks.phpstan.config: phpstan.neon
68
tasks.phpcs.ignore_patterns:
79
- "/benchmarks/"

0 commit comments

Comments
 (0)