Skip to content

Commit 8fdce34

Browse files
committed
build(composer.json): Update composer command aliases
- Change 'composer-normalize' command to '@normalized-dry-run' - Add 'normalized' and 'normalized-dry-run' commands for normalization - Update 'trufflehog' command to point to the new repository 'soar-php' These changes improve command aliases for better usability and clarity in the project.
1 parent 82849c9 commit 8fdce34

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/secret-check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ jobs:
1515
# ref: ${{ github.ref_name }}
1616
fetch-depth: 0
1717
- name: Secret Scanning
18-
uses: trufflesecurity/trufflehog@v3
18+
uses: trufflesecurity/trufflehog@main
1919
with:
2020
# path: ./
2121
# base: ${{ github.event.repository.default_branch }}
2222
# head: ${{ github.ref_name }}
23-
extra_args: --debug --only-verified --results=verified,unknown
23+
# extra_args: --results=verified,unknown --only-verified --debug
24+
extra_args: --results=verified,unknown

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
"composer-bin-all-update": "@composer bin all update --ansi -v",
181181
"composer-check-platform-reqs": "@composer check-platform-reqs --lock --ansi -v",
182182
"composer-dependency-analyser": "@php ./vendor/bin/composer-dependency-analyser --verbose",
183-
"composer-normalize": "@composer normalize --dry-run --diff --ansi -v",
183+
"composer-normalize": "@normalized-dry-run",
184184
"composer-require-checker": "@php ./vendor/bin/composer-require-checker check --config-file=composer-require-checker.json composer.json --ansi -v",
185185
"composer-require-checker-json": "@php ./vendor/bin/composer-require-checker check --config-file=composer-require-checker.json composer.json --ansi -v --output=json | jq",
186186
"composer-unused": "@php ./vendor/bin/composer-unused --ansi -v",
@@ -214,6 +214,8 @@
214214
"mark-start": "printf '\\n!\\n!\\t\\033[0;36m%s\\033[0m\\n!\\n\\n' \"Started\"",
215215
"md-fix": "@md-lint --fix",
216216
"md-lint": "lint-md --config .lintmdrc ./*.md ./.github/ ./docs/",
217+
"normalized": "@composer normalize --diff --ansi -v",
218+
"normalized-dry-run": "@normalized --dry-run",
217219
"peck": "/opt/homebrew/opt/[email protected]/bin/php ./vendor/bin/peck check --path=src/ --config=peck.json --ansi -v",
218220
"peck-init": "@peck --init",
219221
"pest": "@php ./vendor/bin/pest --coverage",
@@ -286,7 +288,7 @@
286288
"test-update-snapshots": "@pest-update-snapshots",
287289
"time-end": "@php -r 'date_default_timezone_set('\\''Asia/Shanghai'\\''); echo \"\\nTime: \".round(time() - (int) getenv('\\''START_TIME'\\'')).'\\'' seconds, Memory: '\\''.round(memory_get_peak_usage(true) / 1024 / 1024, 2).\" MB\\n\";'",
288290
"time-start": "@putenv START_TIME=$(date +%s);",
289-
"trufflehog": "trufflehog git https://github.com/guanguans/notify --only-verified",
291+
"trufflehog": "trufflehog git https://github.com/guanguans/soar-php --only-verified",
290292
"yaml-lint": "@php ./vendor/bin/yaml-lint .github/ examples/ --ansi -v",
291293
"zh-fix": "@zh-lint --fix",
292294
"zh-lint": "zhlint {./,docs/,docs/**/}*-zh_CN.md"

0 commit comments

Comments
 (0)