diff --git a/includes/class-plugin.php b/includes/class-plugin.php index 5578202f..d8a0bb63 100644 --- a/includes/class-plugin.php +++ b/includes/class-plugin.php @@ -827,6 +827,7 @@ public function render_admin_bar( $wp_admin_bar ) { * @return string */ protected function admin_bar_style() { + // phpcs:disable Squiz.PHP.Heredoc.NotAllowed return << #wpadminbar ul li.redis-cache-error { @@ -839,6 +840,7 @@ protected function admin_bar_style() { } HTML; + // phpcs:enable } /** @@ -851,6 +853,7 @@ protected function admin_bar_script() { $ajaxurl = esc_url( admin_url( 'admin-ajax.php' ) ); $flushMessage = __( 'Flushing cache...', 'redis-cache' ); + // phpcs:disable Squiz.PHP.Heredoc.NotAllowed return << (function (element) { @@ -896,6 +899,7 @@ protected function admin_bar_script() { ); HTML; + // phpcs:enable } /**