Skip to content

Commit e3af39f

Browse files
committed
Normalize Composer file
1 parent 6643603 commit e3af39f

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

captainhook.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"pre-commit": {
77
"enabled": true,
88
"actions": [
9+
{
10+
"action": "composer normalize --diff --dry-run"
11+
},
912
{
1013
"action": "\\CaptainHook\\App\\Hook\\PHP\\Action\\Linting"
1114
},

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"php": "^8.4"
1414
},
1515
"require-dev": {
16+
"captainhook/captainhook-phar": "^5.25",
1617
"ergebnis/composer-normalize": "^2.47",
1718
"erickskrauch/php-cs-fixer-custom-fixers": "^1.3",
1819
"friendsofphp/php-cs-fixer": "^3.85",
1920
"phpstan/extension-installer": "^1.4",
2021
"phpstan/phpstan": "^2.1",
2122
"phpunit/phpunit": "^12.3",
22-
"ticketswap/phpstan-error-formatter": "^1.1",
23-
"captainhook/captainhook-phar": "^5.25"
23+
"ticketswap/phpstan-error-formatter": "^1.1"
2424
},
2525
"autoload": {
2626
"psr-4": {
@@ -29,15 +29,15 @@
2929
},
3030
"autoload-dev": {
3131
"psr-4": {
32-
"Ruudk\\CodeGenerator\\Hooks\\": "hooks/",
33-
"Ruudk\\CodeGenerator\\": "tests/"
32+
"Ruudk\\CodeGenerator\\": "tests/",
33+
"Ruudk\\CodeGenerator\\Hooks\\": "hooks/"
3434
}
3535
},
3636
"config": {
3737
"allow-plugins": {
38+
"captainhook/captainhook-phar": true,
3839
"ergebnis/composer-normalize": true,
39-
"phpstan/extension-installer": true,
40-
"captainhook/captainhook-phar": true
40+
"phpstan/extension-installer": true
4141
}
4242
}
4343
}

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)