Skip to content

Commit a548413

Browse files
committed
ci: set composer platform php version to 8.1
1 parent f28c0f5 commit a548413

File tree

2 files changed

+175
-167
lines changed

2 files changed

+175
-167
lines changed

composer.json

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
{
22
"name": "wayofdev/cs-fixer-config",
33
"description": "Package adds custom rule-sets to php-cs-fixer",
4-
"type": "library",
54
"license": "MIT",
6-
"homepage": "https://wayof.dev",
7-
"support": {
8-
"issues": "https://github.com/wayofdev/php-cs-fixer-config/issues",
9-
"source": "https://github.com/wayofdev/php-cs-fixer-config"
10-
},
5+
"type": "library",
116
"authors": [
127
{
138
"name": "Andrij Orlenko",
149
"email": "the@wayof.dev"
1510
}
1611
],
12+
"homepage": "https://wayof.dev",
13+
"support": {
14+
"issues": "https://github.com/wayofdev/php-cs-fixer-config/issues",
15+
"source": "https://github.com/wayofdev/php-cs-fixer-config"
16+
},
1717
"require": {
1818
"php": "^8.1",
1919
"friendsofphp/php-cs-fixer": "^3.57"
2020
},
2121
"require-dev": {
22+
"ergebnis/phpunit-slow-test-detector": "^2.14",
23+
"pestphp/pest": "^2.34",
2224
"phpstan/extension-installer": "^1.3",
2325
"phpstan/phpstan": "^1.11",
2426
"phpstan/phpstan-deprecation-rules": "^1.2",
2527
"phpstan/phpstan-phpunit": "^1.4",
2628
"phpstan/phpstan-strict-rules": "^1.6",
27-
"phpunit/phpunit": "^10.5",
28-
"pestphp/pest": "^2.34",
29-
"ergebnis/phpunit-slow-test-detector": "^2.14"
29+
"phpunit/phpunit": "^10.5"
3030
},
3131
"autoload": {
3232
"psr-4": {
@@ -38,6 +38,26 @@
3838
"WayOfDev\\PhpCsFixer\\Config\\Tests\\": "tests/"
3939
}
4040
},
41+
"config": {
42+
"allow-plugins": {
43+
"ergebnis/composer-normalize": true,
44+
"pestphp/pest-plugin": true,
45+
"phpstan/extension-installer": true
46+
},
47+
"audit": {
48+
"abandoned": "report"
49+
},
50+
"platform": {
51+
"php": "8.1.27"
52+
},
53+
"sort-packages": true
54+
},
55+
"extra": {
56+
"composer-normalize": {
57+
"indent-size": 4,
58+
"indent-style": "space"
59+
}
60+
},
4161
"scripts": {
4262
"cs:diff": "php vendor/bin/php-cs-fixer fix --dry-run -v --diff",
4363
"cs:fix": "php vendor/bin/php-cs-fixer fix -v",
@@ -53,19 +73,5 @@
5373
"stan:ci": "php vendor/bin/phpstan analyse --memory-limit=2G --error-format=github",
5474
"test": "XDEBUG_MODE=coverage php vendor/bin/pest",
5575
"test:cc": "XDEBUG_MODE=coverage php vendor/bin/pest --coverage --coverage-clover=.build/phpunit/logs/clover.xml"
56-
},
57-
"config": {
58-
"sort-packages": true,
59-
"allow-plugins": {
60-
"ergebnis/composer-normalize": true,
61-
"phpstan/extension-installer": true,
62-
"pestphp/pest-plugin": true
63-
}
64-
},
65-
"extra": {
66-
"composer-normalize": {
67-
"indent-size": 4,
68-
"indent-style": "space"
69-
}
7076
}
7177
}

0 commit comments

Comments
 (0)