iamstuartwilson / strava

PHP Class for the Strava API (v3)
MIT License
120 stars 26 forks source link

Bugfix: Wrong case in directory name #6

Closed mjaschen closed 9 years ago

mjaschen commented 9 years ago

The directory name 'iamstuartwilson' did not match the PSR-0 namespace name 'Iamstuartwilson', so that the Composer autoloader was not able to include the StravaApi class.

The error appeared only on case-sensitive file systems (e.g. ext4 or XFS) but not on case-insensitive file systems (e.g. HFS+) so debugging took some minutes... ;-)

jamesmstone commented 9 years ago

@iamstuartwilson please merge this commit, this would greatly simplify my workflow - allowing me to again use composer on my server Thanks :)

iamstuartwilson commented 9 years ago

@jamesmstone apologies for this! @mjaschen thanks very much for your contribution once again. I'm not much of a PHP developer, but would hate to see this go stale. So sorry it's taken so long to merge such a simple and crucial change. :+1:

jamesmstone commented 9 years ago

no worries - thanks :)