Skip to content

Commit bb047d8

Browse files
author
ityaozm@gmail.com
committed
chore(composer): update dependencies and add whatsdiff script
- Upgrade laravel/framework to version 12.36 for latest features and fixes - Bump spaze/phpstan-disallowed-calls to 4.7 to improve static analysis - Add whatsdiff package version 1.6 and 2.0 for enhanced diff tooling - Include new composer script "whatsdiff" to streamline diff checks via vendor binary
1 parent 60b4c26 commit bb047d8

File tree

4 files changed

+402
-208
lines changed

4 files changed

+402
-208
lines changed

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"laravel-lang/common": "^6.7",
6565
"laravel-zero/framework": "^12.0",
6666
"laravel-zero/phar-updater": "^1.4",
67-
"laravel/framework": "^12.35"
67+
"laravel/framework": "^12.36"
6868
},
6969
"require-dev": {
7070
"bamarni/composer-bin-plugin": "^1.8",
@@ -111,14 +111,15 @@
111111
"shipmonk/phpstan-baseline-per-identifier": "^2.2",
112112
"spatie/pest-plugin-snapshots": "^2.2",
113113
"spatie/schema-org": "^3.23",
114-
"spaze/phpstan-disallowed-calls": "^4.6",
114+
"spaze/phpstan-disallowed-calls": "^4.7",
115115
"staabm/phpstan-todo-by": "^0.2",
116116
"symfony/thanks": "^1.4",
117117
"symplify/phpstan-extensions": "^12.0",
118118
"symplify/phpstan-rules": "^14.8",
119119
"tomasvotruba/class-leak": "^2.0",
120120
"tomasvotruba/cognitive-complexity": "^1.0",
121121
"tomasvotruba/type-coverage": "^2.0",
122+
"whatsdiff/whatsdiff": "^1.6 || ^2.0",
122123
"yamadashy/phpstan-friendly-formatter": "^1.2"
123124
},
124125
"repositories": {
@@ -431,6 +432,7 @@
431432
"vhs < ai-commit.tape",
432433
"@cghooks-install"
433434
],
435+
"whatsdiff": "@php vendor/bin/whatsdiff --ansi -v",
434436
"yaml-lint": "@php vendor/bin/yaml-lint .github/ --ansi -v",
435437
"zh-fix": "@zh-lint --fix",
436438
"zh-lint": "zhlint {./,docs/,docs/**/}*-zh_CN.md"

0 commit comments

Comments
 (0)