dwightwatson / validating

Automatically validating Eloquent models for Laravel
MIT License
968 stars 76 forks source link

replaced studly_case() with Str::studly #216

Closed sp4r74cus closed 5 years ago

sp4r74cus commented 5 years ago

After upgrading to laravel 6, i got this error for all tests that involved model validation: Error: Call to undefined function Watson\Validating\studly_case()

I'm new to Laravel but googled a bit and was able to pass the tests with the above fix. hope it's correct.

dwightwatson commented 5 years ago

Ah yeah - this is perfect. Thank you, I'll tag a new release now.

dwightwatson commented 5 years ago

Looks good, I tagged 3.3.0. Please let me know if you run into any other issues.

sp4r74cus commented 5 years ago

updated, looks good. thanks for the fast action :)