Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Refactor) Deprecated rules #3362

Merged
merged 2 commits into from
Jan 8, 2024
Merged

Conversation

HDVinnie
Copy link
Collaborator

@HDVinnie HDVinnie commented Jan 8, 2024

  • Illuminate\Contracts\Validation\Rule is deprecated

- Illuminate\Contracts\Validation\Rule is deprecated
@HDVinnie HDVinnie requested a review from Roardom January 8, 2024 14:08
Comment on lines -49 to +63
try {
if ($autoupdate && !cache()->has(config('email-blacklist.cache-key'))) {
EmailBlacklistUpdater::update();
}
} catch (InvalidArgumentException) {
if ($autoupdate && !cache()->has(config('email-blacklist.cache-key'))) {
EmailBlacklistUpdater::update();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We haven't hit the CI error caused by the email blacklist updater for awhile, but if we start seeing it again, we'll know this try-catch was what's been fixing it.

@HDVinnie HDVinnie merged commit e52fb96 into 7.x.x Jan 8, 2024
10 checks passed
@HDVinnie HDVinnie deleted the Illuminate-Contracts-Validation-Rule branch January 11, 2024 00:01
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.

None yet

2 participants