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

[11.x] Improve check for relative sqlite databases #54513

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

LukeTowers
Copy link
Contributor

@LukeTowers LukeTowers commented Feb 7, 2025

Applies the suggestion from @Sekaiichi in #54480.

realpath() returns false if the file doesn't exist, so the previous code would have been file_exists(false), which technically doesn't match the file_exists signature.

See https://stackoverflow.com/a/8374026

Applies the suggestion from @Sekaiichi in laravel#54480.

realpath() returns false if the file doesn't exist, so the previous code would have been file_exists(false), which technically doesn't match the file_exists signature.
@taylorotwell taylorotwell merged commit fbab686 into laravel:11.x Feb 10, 2025
46 checks passed
@GrahamCampbell GrahamCampbell changed the title Improve check for relative sqlite databases [11.x] Improve check for relative sqlite databases Feb 10, 2025
@LukeTowers LukeTowers deleted the patch-1 branch February 10, 2025 17:53
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.

2 participants