Skip to content

Example for GitHub 操作 - #7

Open
NasirNobin wants to merge 1 commit into
wp-phpunit:masterfrom
NasirNobin:master
Open

Example for GitHub 操作#7
NasirNobin wants to merge 1 commit into
wp-phpunit:masterfrom
NasirNobin:master

Conversation

@NasirNobin

Copy link
Copy Markdown

This examle-plugin does a great job of helping any WordPress plugin to get up and running on PHPUnit. Also, it has a .travis.yml example, which is nice!

However, for my project, I usually go with GitHub 操作. When implementing it, I faced a few issues, so figured would be helpful for others to have a working example.

Comment thread composer.json
Comment on lines +29 to +32
"config": {
"allow-plugins": {
"roots/wordpress-core-installer": true
}

@NasirNobin NasirNobin Jan 10, 2022

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Added this to remove the composer warning.

You have until July 2022 to add the setting. Composer will then switch the default behavior to disallow all plugins.

注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

None yet

项目

None yet

Development

Successfully merging this pull request may close these issues.

1 participant