## What `encryption:notify-removal` now prints, on every run, the total number of **non-deleted** users who still hold legacy browser-encrypted data: ``` 4 non-deleted user(s) still have encrypted data. ``` The count is taken before the billing exclusion, so it reflects the full remaining scope of browser-encrypted data. Soft-deleted users are excluded (model default scope), as are users whose data is already plaintext. ## Why It's the signal for deciding when the browser-side encryption code can finally be removed: once this reaches zero, nothing in the app depends on client-side encrypted columns anymore. ## Not changed Email-sending logic is untouched. Subscribed users are still never warned — the recipient set continues to go through `excludeBilledUsers()` exactly as before. This PR only adds a reporting line. ## Testing - New test asserts the count spans everyone with encrypted data (subscribed included), while excluding soft-deleted and plaintext users, and that sending still skips the subscribed user. - Full `NotifyEncryptedDataRemovalCommandTest` suite green. |
||
|---|---|---|
| .. | ||
| .pest | ||
| Browser | ||
| Feature | ||
| Fixtures | ||
| Performance | ||
| Support | ||
| Unit | ||
| Pest.php | ||
| TestCase.php | ||
| bootstrap.php | ||