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

Introduce docker develop environment #101

Merged
merged 1 commit into from
Jan 3, 2020
Merged

Conversation

widoz
Copy link
Collaborator

@widoz widoz commented Jan 2, 2020

Read DEVELOPERS.md for more information

To make it work properly I updated the dependencies too
Also to prevent woocommerce to create wp-content within the
root of the project an extra installer-disable was defined
in the composer.json

props @XedinUnknown

Read DEVELOPERS.md for more informations

To make it work properly I updated the dependencies too
Also to prevent woocommerce to create `wp-content` within the
root of the project an extra `installer-disable` was defined
in the composer.json

props @XedinUnknown

// ** MySQL settings ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'wordpress' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

define( 'DB_NAME', 'wordpress' );

/** MySQL database username */
define( 'DB_USER', 'wordpress' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

define( 'DB_USER', 'wordpress' );

/** MySQL database password */
define( 'DB_PASSWORD', 'wordpress' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

define( 'DB_PASSWORD', 'wordpress' );

/** MySQL hostname */
define( 'DB_HOST', 'mariadb' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

define( 'DB_HOST', 'mariadb' );

/** Database Charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

define( 'DB_CHARSET', 'utf8' );

/** The Database Collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

*
* @since 2.6.0
*/
define( 'AUTH_KEY', 'VZyXJ<Tl/+Mg]8HBx,PTW,5l|o;#vu[[e4FGFF|g]P^s4`0oiMw)qZo ~*$lV73q' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found
  • Expected 1 space after comma in function call; 10 found

* @since 2.6.0
*/
define( 'AUTH_KEY', 'VZyXJ<Tl/+Mg]8HBx,PTW,5l|o;#vu[[e4FGFF|g]P^s4`0oiMw)qZo ~*$lV73q' );
define( 'SECURE_AUTH_KEY', '&xR- ]0G}(y-5Kb+D`:#%&c7NK]X;7,;_Wv)skugw~+U]nq`qey~OG|ZTxZ5c;=^' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found
  • Expected 1 space after comma in function call; 3 found

*/
define( 'AUTH_KEY', 'VZyXJ<Tl/+Mg]8HBx,PTW,5l|o;#vu[[e4FGFF|g]P^s4`0oiMw)qZo ~*$lV73q' );
define( 'SECURE_AUTH_KEY', '&xR- ]0G}(y-5Kb+D`:#%&c7NK]X;7,;_Wv)skugw~+U]nq`qey~OG|ZTxZ5c;=^' );
define( 'LOGGED_IN_KEY', 'mO*CN/~&]y&A*3:$qfGM3Km/)?_6q!ph*znCSnWULl$vQ)exEC(bQ$|RNU1i{ 0w' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found
  • Expected 1 space after comma in function call; 5 found

define( 'AUTH_KEY', 'VZyXJ<Tl/+Mg]8HBx,PTW,5l|o;#vu[[e4FGFF|g]P^s4`0oiMw)qZo ~*$lV73q' );
define( 'SECURE_AUTH_KEY', '&xR- ]0G}(y-5Kb+D`:#%&c7NK]X;7,;_Wv)skugw~+U]nq`qey~OG|ZTxZ5c;=^' );
define( 'LOGGED_IN_KEY', 'mO*CN/~&]y&A*3:$qfGM3Km/)?_6q!ph*znCSnWULl$vQ)exEC(bQ$|RNU1i{ 0w' );
define( 'NONCE_KEY', 'YafY sgP+RAo~:0Lj#Rf$gP(i01N<:fI&ombS !| FfF@rAR%r,|RLos2nKxeq~E' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found
  • Expected 1 space after comma in function call; 9 found

define( 'SECURE_AUTH_KEY', '&xR- ]0G}(y-5Kb+D`:#%&c7NK]X;7,;_Wv)skugw~+U]nq`qey~OG|ZTxZ5c;=^' );
define( 'LOGGED_IN_KEY', 'mO*CN/~&]y&A*3:$qfGM3Km/)?_6q!ph*znCSnWULl$vQ)exEC(bQ$|RNU1i{ 0w' );
define( 'NONCE_KEY', 'YafY sgP+RAo~:0Lj#Rf$gP(i01N<:fI&ombS !| FfF@rAR%r,|RLos2nKxeq~E' );
define( 'AUTH_SALT', 'rcRtXE::ax>_[{V:LR^WJzo juXti*q}A(!:)c4yi!U%C8oK/Z!A;p30l?LW+*8A' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found
  • Expected 1 space after comma in function call; 9 found

define( 'LOGGED_IN_KEY', 'mO*CN/~&]y&A*3:$qfGM3Km/)?_6q!ph*znCSnWULl$vQ)exEC(bQ$|RNU1i{ 0w' );
define( 'NONCE_KEY', 'YafY sgP+RAo~:0Lj#Rf$gP(i01N<:fI&ombS !| FfF@rAR%r,|RLos2nKxeq~E' );
define( 'AUTH_SALT', 'rcRtXE::ax>_[{V:LR^WJzo juXti*q}A(!:)c4yi!U%C8oK/Z!A;p30l?LW+*8A' );
define( 'SECURE_AUTH_SALT', '3[qjnu<bnz|sEJLtR#}0n^VEf ^]rXcA[hRa2VDitLhsng>m$jNG|=uy{1x29J_x' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found
  • Expected 1 space after comma in function call; 2 found

define( 'NONCE_KEY', 'YafY sgP+RAo~:0Lj#Rf$gP(i01N<:fI&ombS !| FfF@rAR%r,|RLos2nKxeq~E' );
define( 'AUTH_SALT', 'rcRtXE::ax>_[{V:LR^WJzo juXti*q}A(!:)c4yi!U%C8oK/Z!A;p30l?LW+*8A' );
define( 'SECURE_AUTH_SALT', '3[qjnu<bnz|sEJLtR#}0n^VEf ^]rXcA[hRa2VDitLhsng>m$jNG|=uy{1x29J_x' );
define( 'LOGGED_IN_SALT', 'Z}FU-B#c6W=l$WQ0Jw#(BRzDc@*/~LZxZ1;;*^ODa,Z>`r%<FuHmj_gyLepSn@V/' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found
  • Expected 1 space after comma in function call; 4 found

define( 'AUTH_SALT', 'rcRtXE::ax>_[{V:LR^WJzo juXti*q}A(!:)c4yi!U%C8oK/Z!A;p30l?LW+*8A' );
define( 'SECURE_AUTH_SALT', '3[qjnu<bnz|sEJLtR#}0n^VEf ^]rXcA[hRa2VDitLhsng>m$jNG|=uy{1x29J_x' );
define( 'LOGGED_IN_SALT', 'Z}FU-B#c6W=l$WQ0Jw#(BRzDc@*/~LZxZ1;;*^ODa,Z>`r%<FuHmj_gyLepSn@V/' );
define( 'NONCE_SALT', 'j_1pqvHVGF?6Ya[UX^O6efup}yU;sCbT%`dOEI@=Wv;faF5BuM1fwB64(Q*IDuA$' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found
  • Expected 1 space after comma in function call; 8 found

define( 'SECURE_AUTH_SALT', '3[qjnu<bnz|sEJLtR#}0n^VEf ^]rXcA[hRa2VDitLhsng>m$jNG|=uy{1x29J_x' );
define( 'LOGGED_IN_SALT', 'Z}FU-B#c6W=l$WQ0Jw#(BRzDc@*/~LZxZ1;;*^ODa,Z>`r%<FuHmj_gyLepSn@V/' );
define( 'NONCE_SALT', 'j_1pqvHVGF?6Ya[UX^O6efup}yU;sCbT%`dOEI@=Wv;faF5BuM1fwB64(Q*IDuA$' );
define( 'WP_CACHE_KEY_SALT', ' yPByarc]!MHyu4S|HfR?oat*d$Umt)/XHUh_K,l%mJ^UT$DYy t@X}i,/j3lhv:' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

*/
$table_prefix = 'wp_';

define( 'WP_ALLOW_MULTISITE', true );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

$table_prefix = 'wp_';

define( 'WP_ALLOW_MULTISITE', true );
define( 'MULTISITE', true );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found


define( 'WP_ALLOW_MULTISITE', true );
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'multisite-global-media.docker' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

define( 'SUBDOMAIN_INSTALL', false );
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'multisite-global-media.docker' );
define( 'PATH_CURRENT_SITE', '/' );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'multisite-global-media.docker' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

define( 'DOMAIN_CURRENT_SITE', 'multisite-global-media.docker' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );

Choose a reason for hiding this comment

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

  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

/* That's all, stop editing! Happy blogging. */

/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) )

Choose a reason for hiding this comment

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

  • Inline control structures are not allowed
  • Expected 0 spaces after opening bracket; 1 found
  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found


/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) )
define( 'ABSPATH', dirname( __FILE__ ) . '/' );

Choose a reason for hiding this comment

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

  • Spaces must be used to indent lines; tabs are not allowed
  • Space after opening parenthesis of function call prohibited
  • Expected 0 spaces before closing bracket; 1 found

@widoz
Copy link
Collaborator Author

widoz commented Jan 2, 2020

@bueltge the docker/wp-config.php is autogenerated, could we remove this file from being linted by Nitpick-CI ?

@widoz widoz requested a review from bueltge January 2, 2020 21:20
@bueltge
Copy link
Owner

bueltge commented Jan 3, 2020

@widoz Should we remove Nitpick-CI? I don't use it on other repositories and the hints here are not helpful. But done via 3235425

@bueltge bueltge merged commit b3d3d75 into master Jan 3, 2020
@bueltge bueltge deleted the feature/introduce-docker branch January 3, 2020 12:44
@widoz
Copy link
Collaborator Author

widoz commented Jan 3, 2020

@bueltge Ok for remove it, phpcs is running on CI and for me that's ok

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.

3 participants