for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PressCLI\Option;
trait DefaultConfiguration
{
/**
* The default Press CLI configuration.
*
* @return array The default configuration.
*/
public static function getDefaultConfiguration() {
return [
'database' => [
'user' => 'root',
'password' => 'root',
'prefix' => 'wp_',
'name' => '',
'host' => '127.0.0.1',
],
'plugins' => [
[
'plugin' => 'jetpack',
'activate' => false,
'plugin' => 'crop-thumbnails',
'activate' => true,
'plugin' => 'query-monitor',
'plugin' => 'force-regenerate-thumbnails',
'plugin' => 'mailtrap-for-wp',
'user' => [
'email' => '',
'password' => '',
'theme' => [
'type' => 'zip',
'url' => 'https://github.com/matchboxdesigngroup/kindling/archive/1.0.1.zip',
'menus' => [
'name' => 'Primary Navigation',
'location' => 'primary_navigation',
'name' => 'Footer Navigation',
'location' => 'footer_navigation',
'name' => 'Social Menu',
'location' => 'social_menu',
'site' => [
'title' => '',
'url' => '',
'rewrite' => [
'structure' => '/%postname%/',
'commands' => [
'preInstall' => [],
'postInstallTheme' => [
'yarn',
'bower install',
'postInstall' => [],
'settings' => [
'afterInstall' => [
'removeUserPassword' => true,
'removeUserEmail' => true,
'removeUserName' => true,
];
}