Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Push composer scripts into their own namespace #40

Merged

Conversation

weierophinney
Copy link
Member

Per a suggestion from @xtreamwayz, this patch moves the Composer installer script and assets to a separate namespace, via the following actions:

  • Maps the namespace Zend\Expressive\Composer to the directory src/Composer/.
  • Updates the pre-(install|update)-cmd scripts to reference the new namespace.
  • Updates the namespace in the OptionalPackages class.
  • Removes autoloading rules for the installer script namespace as part of its composer.json updates.

- Mapped `Zend\Expressive\Composer` to `src/Composer/`.
- Updated `pre-(install|update)-cmd` scripts to reference new namespace.
- Updated namespace in `OptionalPackages` class.
- Remove autoloading rules for installer script namespace as part of
  `composer.json` updates.
@akrabat
Copy link

akrabat commented Dec 9, 2015

Good idea. Looks good. Personally, I don't like the namespace name of Composer as that's not what's in there…

@akrabat
Copy link

akrabat commented Dec 9, 2015

+1 from me.

weierophinney added a commit that referenced this pull request Dec 9, 2015
weierophinney added a commit that referenced this pull request Dec 9, 2015
@weierophinney weierophinney merged commit 0a6bdf4 into zendframework:master Dec 9, 2015
weierophinney added a commit that referenced this pull request Dec 9, 2015
@weierophinney weierophinney deleted the hotfix/composer-installer-ns branch December 9, 2015 19:02
@geerteltink
Copy link
Member

I guess we can close #38 now :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants