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

[5.2] Fix dimensions validation when string is provided #14025

Merged
merged 1 commit into from
Jun 21, 2016

Conversation

omar-dev
Copy link
Contributor

When you are using dimensions rule the validation should fail when a string is provided instead of a file, however this will happen

Error: Call to a member function getRealPath() on string

@GrahamCampbell GrahamCampbell changed the title fix dimensions validation when string is provided [5.2] Fix dimensions validation when string is provided Jun 17, 2016
@taylorotwell
Copy link
Member

@themsaid thoughts?

@themsaid
Copy link
Member

@taylorotwell I think it's fine, if the value is not a valid file it should fail.

@taylorotwell taylorotwell merged commit a0dbc55 into laravel:5.2 Jun 21, 2016
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

3 participants