Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MauticInstaller to allow plugins & themes #484

Merged
merged 6 commits into from
Apr 28, 2021

Conversation

nickveenhof
Copy link
Contributor

@nickveenhof nickveenhof commented Mar 26, 2021

Update MauticInstaller to allow plugins & themes with custom directory names - this has been verified (composer create-project mautic/recommended-project:4.x-dev mauticcomposerproject --no-interaction) and can be committed!

I know the suggestion is to use installer-name, but there was a composer library https://github.com/mautic/composer-plugin that already had the convention of install-directory-name so I wanted to keep compatibility with that.

…y names

Update MauticInstaller to allow plugins & themes with custom directory names - Please do not merge yet
Copy link
Member

@niksamokhvalov niksamokhvalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update tests, please.

@nickveenhof
Copy link
Contributor Author

Tests added - please re-review. Thanks!

@nickveenhof
Copy link
Contributor Author

Fixed the failing tests, was only not able to reproduce the PHP 5.3 test locally but I think I fixed it due to PHP 7 array syntaxes. Tests still work and phpstan is now also happy

@niksamokhvalov niksamokhvalov merged commit 844fcbc into composer:main Apr 28, 2021
@nickveenhof nickveenhof deleted the patch-2 branch April 28, 2021 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants