How do you use Sentry?
Sentry SaaS (sentry.io)
SDK version
latest
Laravel version
12
Steps to reproduce
I was invoking php artisan sentry:publish --dsn=DSN
afterwards it said
Added SENTRY_LARAVEL_DSN to your `.env` file.
Added SENTRY_SEND_DEFAULT_PII to your `.env` file.
Added SENTRY_TRACES_SAMPLE_RATE to your `.env` file.
but SENTRY_LARAVEL_DSN gets appended without any newline .env
breaking the .env file
Expected result
Make a new line before injecting the env variables
Actual result
It puts the dsn in the same line as before