Skip to content

Fix InstanceDelete return constant and AuthToken empty tokens guard#90

Open
JoshSalway wants to merge 3 commits intolaravel:mainfrom
JoshSalway:fix/instance-delete-return-and-auth-token-empty
Open

Fix InstanceDelete return constant and AuthToken empty tokens guard#90
JoshSalway wants to merge 3 commits intolaravel:mainfrom
JoshSalway:fix/instance-delete-return-and-auth-token-empty

Conversation

@JoshSalway
Copy link

Summary

Test plan

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

🤖 Generated with Claude Code

Josh Salway and others added 3 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>
- Use self::FAILURE instead of integer 1 in InstanceDelete catch block
  for consistency with other delete commands (closes laravel#85)
- Add early return in removeToken() when no tokens exist to prevent
  calling select() with empty options (closes laravel#86)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Bug: AuthToken --remove with no tokens calls select() with empty options Bug: InstanceDelete returns integer 1 instead of self::FAILURE constant

1 participant