update PHPCS ruleset and re-enable warnings
This commit is contained in:
16
RoboFile.php
16
RoboFile.php
@ -19,10 +19,10 @@ use Robo\Tasks;
|
||||
*/
|
||||
class RoboFile extends Tasks {
|
||||
const PROJECT_NAME = 'statify-blacklist';
|
||||
const SVN_URL = 'https://plugins.svn.wordpress.org/statify-blacklist';
|
||||
const SVN_URL = 'https://plugins.svn.wordpress.org/statify-blacklist';
|
||||
|
||||
const OPT_TARGET = 'target';
|
||||
const OPT_SKIPTEST = 'skipTests';
|
||||
const OPT_TARGET = 'target';
|
||||
const OPT_SKIPTEST = 'skipTests';
|
||||
const OPT_SKIPSTYLE = 'skipStyle';
|
||||
|
||||
/**
|
||||
@ -134,10 +134,12 @@ class RoboFile extends Tasks {
|
||||
*/
|
||||
private function bundle() {
|
||||
$this->say( 'Bundling resources...' );
|
||||
$this->taskCopyDir( [
|
||||
'inc' => $this->target_dir . '/' . $this->final_name . '/inc',
|
||||
'views' => $this->target_dir . '/' . $this->final_name . '/views',
|
||||
] )->run();
|
||||
$this->taskCopyDir(
|
||||
[
|
||||
'inc' => $this->target_dir . '/' . $this->final_name . '/inc',
|
||||
'views' => $this->target_dir . '/' . $this->final_name . '/views',
|
||||
]
|
||||
)->run();
|
||||
$this->_copy( 'statify-blacklist.php', $this->target_dir . '/' . $this->final_name . '/statify-blacklist.php' );
|
||||
$this->_copy( 'LICENSE.md', $this->target_dir . '/' . $this->final_name . '/LICENSE.md' );
|
||||
$this->_copy( 'README.md', $this->target_dir . '/' . $this->final_name . '/README.md' );
|
||||
|
Reference in New Issue
Block a user