This repository was archived by the owner on Sep 1, 2025. It is now read-only.
Store past versions in git, rather than releases/ directory. #101
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In PR #97, it was pointed out that adding autoloading to the
composer.jsonfile was not possible because there are two files which specify the same class name. We required the ability to use composer autoloading, and our solution was to:releases/directoryreleases/2.5/src/tosrc/2.5releases/3.0/src/intosrc/(but rename the php file to align with that from the 2.5 release so that git notices it is a moved file)releasles/3.0/src/and then tag that commit as3.0.classmapautoloading to thecomposer.jsonThis allows us to specify a dependency on this library from our project like so (in our
composer.json):Note: I'm not sure if tags come through with GitHub PRs. If not, you'll need to create a tag for
2.5and3.0after merging (if you choose to merge this).Additional Note: This branch also contains a change whereby the
composer.jsonfile was changed fromstreetlogics/php-google-map-apitoivt/php-google-map-api. I wasn't sure if this was required in order to get our fork working or not, but if you choose to accept this PR, let me know and I will change it back tostreetlogicsin preparation for merging.