Skip to content

Commit

Permalink
Normalize composer.json (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos committed Aug 4, 2023
1 parent fd4ab2c commit 9ebe130
Show file tree
Hide file tree
Showing 5 changed files with 368 additions and 30 deletions.
12 changes: 12 additions & 0 deletions .dev-tools/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"require": {
"ergebnis/composer-normalize": "^2.34",
"kubawerlos/composer-smaller-lock": "^1.0.1"
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"kubawerlos/composer-smaller-lock": true
}
}
}
320 changes: 320 additions & 0 deletions .dev-tools/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .github/workflows/sca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ jobs:
coverage: none

- run: composer validate --strict

- working-directory: .dev-tools
run: composer install

- working-directory: .dev-tools
run: composer normalize --diff --dry-run --indent-size=4 --indent-style=space ../composer.json
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/.dev-tools/vendor/
/vendor/
/composer.lock
Loading

0 comments on commit 9ebe130

Please sign in to comment.