Skip to content

Commit 5eada6a

Browse files
committed
Fixed Travis Review
1 parent f083052 commit 5eada6a

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ script:
3838
- mkdir -p build/logs
3939
- find -L . -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
4040
- if [[ "$SNIFF" == "1" ]]; then jshint ./assets/js/*.js; fi
41-
- if [[ "$SNIFF" == "1" ]]; then jshint ./inc/admin/welcome-screen/js/*.js; fi
4241
- if [[ "$SNIFF" == "1" ]]; then jscs ./assets/js/*.js; fi
43-
- if [[ "$SNIFF" == "1" ]]; then jscs ./inc/admin/welcome-screen/js/*.js; fi
4442
- if [[ "$SNIFF" == "1" ]]; then grunt textdomain; fi
4543
- if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n ./*.php --standard=./phpcs.ruleset.xml
4644
--extensions=php; fi

inc/class-shapely.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ class Shapely {
1414
public $recommended_actions;
1515

1616
public $theme_slug = 'shapely';
17-
17+
1818
function __construct() {
1919

2020
if ( ! is_admin() && ! is_customize_preview() ) {
2121
return;
2222
}
2323

2424
$this->load_class();
25-
25+
2626
$this->recommended_actions = apply_filters(
2727
'shapely_required_actions', array(
2828
array(
@@ -123,17 +123,17 @@ public function init_customizer( $wp_customize ) {
123123

124124
}
125125

126-
private function generate_action_html(){
126+
private function generate_action_html() {
127127

128128
$import_actions = array(
129-
'set-frontpage' => esc_html__( 'Set Static FrontPage', 'shapely' ),
130-
'import-widgets' => esc_html__( 'Import HomePage Widgets', 'shapely' ),
129+
'set-frontpage' => esc_html__( 'Set Static FrontPage', 'shapely' ),
130+
'import-widgets' => esc_html__( 'Import HomePage Widgets', 'shapely' ),
131131
);
132132

133133
$import_plugins = array(
134134
'shapely-companion' => esc_html__( 'Shapely Companion', 'shapely' ),
135-
'jetpack' => esc_html__( 'Jetpack', 'shapely' ),
136-
'contact-form-7' => esc_html__( 'Contact Form 7', 'shapely' ),
135+
'jetpack' => esc_html__( 'Jetpack', 'shapely' ),
136+
'contact-form-7' => esc_html__( 'Contact Form 7', 'shapely' ),
137137
);
138138

139139
$plugins_html = '';
@@ -145,7 +145,7 @@ private function generate_action_html(){
145145
$html = '<p><a class="button button-primary cpo-import-button epsilon-ajax-button" data-action="import_demo" id="add_default_sections" href="#">' . __( 'Import Demo Content', 'shapely' ) . '</a>';
146146
$html .= '<a class="button epsilon-hidden-content-toggler" href="#welcome-hidden-content">' . __( 'Advanced', 'shapely' ) . '</a></p>';
147147
$html .= '<div class="import-content-container" id="welcome-hidden-content">';
148-
148+
149149
foreach ( $import_plugins as $id => $label ) {
150150
if ( ! Shapely_Notify_System::shapely_has_plugin( $id ) ) {
151151
$plugins_html .= $this->generate_checkbox( $id, $label, 'plugins' );
@@ -160,7 +160,7 @@ private function generate_action_html(){
160160
$html .= '</div>';
161161
$html .= '</div>';
162162
}
163-
163+
164164
$html .= '<div class="demo-content-container">';
165165
$html .= '<h4>' . __( 'Demo Content', 'shapely' ) . '</h4>';
166166
$html .= '<div class="checkbox-group">';
@@ -182,4 +182,4 @@ private function generate_checkbox( $id, $label, $name = 'options', $block = fal
182182
}
183183

184184
}
185-
new Shapely();
185+
new Shapely();

inc/customizer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,11 +1190,11 @@ function shapely_customizer_custom_control_css() {
11901190
clear: both;
11911191
}
11921192
.widget-content .iris-picker .iris-strip .ui-slider-handle {
1193-
top: auto;
1194-
transform: translateX(0);
1193+
top: auto;
1194+
transform: translateX(0);
11951195
}
11961196
.widget-content .iris-picker .iris-slider-offset {
1197-
margin: 0;
1197+
margin: 0;
11981198
}
11991199
</style>
12001200
<?php

0 commit comments

Comments
 (0)