Skip to content

Commit 2ce6a0e

Browse files
Merge pull request #336 from silarhi/chore/composer-normalize
2 parents 34ceeeb + d23683a commit 2ce6a0e

2 files changed

Lines changed: 21 additions & 5 deletions

File tree

.laminas-ci.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"additional_checks": [
3+
{
4+
"name": "Composer validate & normalize",
5+
"job": {
6+
"php": "@lowest",
7+
"dependencies": "latest",
8+
"command": "composer validate --strict && composer normalize --dry-run --diff"
9+
}
10+
}
11+
]
12+
}

composer.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,16 @@
1818
"require": {
1919
"php": ">=8.2"
2020
},
21-
"config": {
22-
"bump-after-update": "dev"
23-
},
2421
"require-dev": {
2522
"dg/bypass-finals": "^1.9",
23+
"ergebnis/composer-normalize": "^2.52",
2624
"friendsofphp/php-cs-fixer": "^3.95.2",
2725
"phpstan/phpstan": "^2.1.56",
2826
"phpstan/phpstan-strict-rules": "^2.0.11",
29-
"phpunit/phpunit": "^11.5.55|^12|^13.0.5",
27+
"phpunit/phpunit": "^11.5.55 || ^12 || ^13.0.5",
3028
"rector/rector": "^2.4.5",
3129
"rector/swiss-knife": "^2.4.1",
32-
"vimeo/psalm": "^5.26|^6.16.1"
30+
"vimeo/psalm": "^5.26 || ^6.16.1"
3331
},
3432
"autoload": {
3533
"psr-4": {
@@ -40,5 +38,11 @@
4038
"psr-4": {
4139
"Silarhi\\Cfonb\\Tests\\": "tests/"
4240
}
41+
},
42+
"config": {
43+
"allow-plugins": {
44+
"ergebnis/composer-normalize": true
45+
},
46+
"bump-after-update": "dev"
4347
}
4448
}

0 commit comments

Comments
 (0)