Repository navigation
refactor(gh-21)!: conventional package layout, 80 tests, Larastan - #23
Conversation
- run-command and ai-apply need code_actions (unset = local only); wider denylist - debugbar injected only when DigDeep::check() passes - session values and more auth headers redacted - Js::from() in HTML exports and inline handlers; AI text escaped before markup - CDN scripts pinned with SRI - ai_model/ai_provider fall back to defaults when env is unset - AI endpoints probe the laravel/ai trait instead of autoloading agents (501, not fatal) - EXPLAIN uses the right syntax per driver BREAKING CHANGE: outside local, run-command and ai-apply return 403 unless DIGDEEP_CODE_ACTIONS=true. Closes #11, closes #12, closes #13, closes #14, closes #15, refs #7
One QueryAnalyzer::schema() replaces the duplicated sqlite_master/PRAGMA code in the database page and the MCP AnalyzeQueries tool. Closes #5
PHP 8.4/8.5 x Laravel 12/13. Covers the gate, CSRF, code actions, debugbar gating, redaction, export XSS, AI defaults, schema and EXPLAIN. Closes #6
…rations
- Controllers and Middleware -> src/Http, Commands -> src/Console/Commands
- digdeep-migrations publish tag
- fix: non-Laravel responses with status >= 400 no longer error in the profiler
- fix: digdeep:status crashed with a TypeError under strict_types
BREAKING CHANGE: LaravelPlus\DigDeep\{Controllers,Middleware,Commands} namespaces moved to Http\Controllers, Http\Middleware and Console\Commands.
Refs #21
…ommands, MCP 80 tests, 75% line coverage; CI fails under 70%. Closes #22
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 39354595 | Triggered | Laravel APP_KEY | 7baa676 | phpunit.xml | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Stacked on #20, which is stacked on #9. It retargets to
mainas those merge.Package structure (#21)
src/Controllers,src/Middleware→src/Http/{Controllers,Middleware}.src/Commands→src/Console/Commands(Laravel package convention).vendor:publish --tag=digdeep-migrations. They keep the same filenames, so published copies replace the package ones instead of running twice.composer.jsongains keywords, homepage, support, authors,sort-packagesand ananalysescript.SECURITY.md(private advisory reporting plus an app hardening checklist),CONTRIBUTING.md,CHANGELOG.mdand.editorconfig. Dev-only files are export-ignored.Tests (#22): 15 → 80 tests, 75% line coverage
QueryAnalyzerSELECT *, missing/present indexes, hint typesThresholdExceeded, filters, bulk tag/delete/clear, stats, size capshow_debugbar=false, dev fixturesdigdeep:status,prune --keep,clearlaravel/mcptestingThe CI coverage job fails below 70%.
Bugs the new tests found (fixed here)
$response->exception ?? nullread an undefined property on a plain Symfony or streamed response with status ≥ 400 (&&binds tighter than??). Now usesisset()in all three places. The test fails on the old code.digdeep:statuscrashed. It passed a float totwoColumnDetail()understrict_types.Testing
composer test: 80 passed.composer lint: clean.composer analyse: no errors.gitleaks: clean.BREAKING CHANGE: the
Controllers,MiddlewareandCommandsnamespaces moved underHttp\andConsole\. Apps only referenceDigDeepand config, and the package isn't on Packagist yet, so no aliases are kept.Closes #21, closes #22.