title: Call to undefined function App\Providers\studly_case() after upgrade to Laravel 6.0.x
body: <p>As I mentioned in the question, I just upgraded the Laravel version of my project from 5.8.* to 6.0.*.</p>
  
  <p>Now I am getting the below error:</p>
  
  <pre><code>In AppServiceProvider.php line 32:
  Call to undefined function App\Providers\studly_case()
  </code></pre>
  
  <p>Is Laravel supposed to throw error in it's own core file ? I was invoking the following command when I got this error, so I suppose this happens with any artisan command:</p>
  
  <pre><code>php artisan list
  </code></pre>
  
  <p>I saw in docs, that the new function is <code>Str::studly</code> from <code>Str</code> class file. Is it ok to change in the <code>AppServiceProvider.php</code> ?</p>