akiyamaSM / larapoll

A Laravel package to manage your polls
MIT License
260 stars 58 forks source link

fix psr-4 deprecation issue with upcoming Composer 2.0 #95

Closed vesper8 closed 4 years ago

vesper8 commented 4 years ago

closes https://github.com/akiyamaSM/larapoll/issues/92

As discussed in https://github.com/akiyamaSM/larapoll/issues/92, Composer 1.10 throws deprecation warnings because 3 folders (Traits, Helpers and Exceptions) have a case that does not match the namespaces. As of Composer 2.0 this project in its current form would fail to autoload correctly. This PR contains the fix which was to simply uppercase the first letter of those 3 folders.

akiyamaSM commented 4 years ago

Thanks for the PR!

vesper8 commented 4 years ago

@akiyamaSM Thanks for merging it : ) are you going to tag a new release? I'd rather not have to pull in dev-master for this