jeudi 28 décembre 2017

Why does a Capitalization error work locally...?

I've encountered this situation a couple of times now where everything is working fine locally, then when I push to remote server, I get errors due to simple Capitalization error.

'App\Useraction' vs 'App\UserAction

The same error exists locally, so why does everything still work?

Is there an Apache or PHP setting that's allowing this to work?

I'd like to change my local environment so I can catch these..!

Using:

  • Local: Mac OS / Apache 2.4.25 / PHP 7.1 / Laravel 5.4
  • Remote: Linux / Apache / PHP 7.1 / Laravel 5.4


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire