Skip to content

fix: credential leak in DatabaseOpen and remove dead code#87

Open
JoshSalway wants to merge 2 commits intolaravel:mainfrom
JoshSalway:fix/credential-leak-and-cleanup
Open

fix: credential leak in DatabaseOpen and remove dead code#87
JoshSalway wants to merge 2 commits intolaravel:mainfrom
JoshSalway:fix/credential-leak-and-cleanup

Conversation

@JoshSalway
Copy link

Summary

Closes #83
Closes #84

Test plan

  • ./vendor/bin/pest — 40 tests pass
  • ./vendor/bin/phpstan analyse — no errors

🤖 Generated with Claude Code

Josh Salway and others added 2 commits March 17, 2026 05:27
laravel#38: The code path in BaseCommand::runUpdate() is reachable when CLI
flags are passed in interactive mode and the user confirms. Removed
the misleading "When would we ever get here?" comment.

laravel#39: Added --dry-run flag to both deploy and ship commands. Shows what
would happen (app, environment, branch, region, database type) without
executing any API calls.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ntVariables

Replace info($url) with a neutral message to prevent plaintext database
credentials from being displayed in terminal output. Remove ~28 lines of
commented-out code from EnvironmentVariables.

Closes laravel#83
Closes laravel#84

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@JoshSalway

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cleanup: EnvironmentVariables has 28 lines of commented-out code Bug: database:open outputs connection URL with plaintext credentials to terminal

1 participant