Passed
Push — feature/rebusify ( 0fe5b2...103190 )
by Paul
08:37 queued 03:55
created
views/partials/email/index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1
-<?php defined('WPINC') || die;
1
+<?php defined( 'WPINC' ) || die;
2 2
 
3
-include trailingslashit(__DIR__).'header.php';
4
-include trailingslashit(__DIR__).'body.php';
5
-include trailingslashit(__DIR__).'footer.php';
3
+include trailingslashit( __DIR__ ).'header.php';
4
+include trailingslashit( __DIR__ ).'body.php';
5
+include trailingslashit( __DIR__ ).'footer.php';
Please login to merge, or discard this patch.
views/partials/email/footer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php defined('WPINC') || die; ?>
1
+<?php defined( 'WPINC' ) || die; ?>
2 2
 
3 3
 </body>
4 4
 </html>
Please login to merge, or discard this patch.
views/partials/email/body.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1
-<?php defined('WPINC') || die; ?>
1
+<?php defined( 'WPINC' ) || die; ?>
2 2
 
3 3
 {{ message }}
Please login to merge, or discard this patch.
views/partials/email/header.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1
-<?php defined('WPINC') || die; ?>
1
+<?php defined( 'WPINC' ) || die; ?>
2 2
 
3 3
 <!doctype html>
4 4
 <html>
5 5
 <head>
6 6
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
-    <title><?= wp_specialchars_decode((string) get_option('blogname', ''), ENT_QUOTES); ?></title>
7
+    <title><?= wp_specialchars_decode( (string)get_option( 'blogname', '' ), ENT_QUOTES ); ?></title>
8 8
 </head>
9 9
 <body>
Please login to merge, or discard this patch.
views/partials/translations/single.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <tr class="glsr-string-tr {{ data.class }}">
2 2
     <td class="glsr-string-td1 column-primary">
3 3
         <button type="button" class="toggle-row">
4
-            <span class="screen-reader-text"><?= __('Show custom translation', 'site-reviews'); ?></span>
4
+            <span class="screen-reader-text"><?= __( 'Show custom translation', 'site-reviews' ); ?></span>
5 5
         </button>
6 6
         <div>
7 7
             <p>{{ data.s1 }}</p>
8 8
         </div>
9 9
         <p class="row-actions">
10
-            <span class="delete"><a href="#{{ data.index }}" class="delete" aria-label="<?= __('Delete translation string', 'site-reviews'); ?>"><?= __('Delete', 'site-reviews'); ?></a></span>
10
+            <span class="delete"><a href="#{{ data.index }}" class="delete" aria-label="<?= __( 'Delete translation string', 'site-reviews' ); ?>"><?= __( 'Delete', 'site-reviews' ); ?></a></span>
11 11
         </p>
12 12
     </td>
13 13
     <td class="glsr-string-td2">
Please login to merge, or discard this patch.
views/partials/translations/plural.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <tr class="glsr-string-tr {{ data.class }}">
2 2
     <td class="glsr-string-td1 column-primary">
3 3
         <button type="button" class="toggle-row">
4
-            <span class="screen-reader-text"><?= __('Show custom translation', 'site-reviews'); ?></span>
4
+            <span class="screen-reader-text"><?= __( 'Show custom translation', 'site-reviews' ); ?></span>
5 5
         </button>
6 6
         <div>
7 7
             <p>{{ data.s1 }}</p>
8 8
             <p>{{ data.p1 }}</p>
9 9
         </div>
10 10
         <p class="row-actions">
11
-            <span class="delete"><a href="#{{ data.index }}" class="delete" aria-label="<?= __('Delete translation string', 'site-reviews'); ?>"><?= __('Delete', 'site-reviews'); ?></a></span>
11
+            <span class="delete"><a href="#{{ data.index }}" class="delete" aria-label="<?= __( 'Delete translation string', 'site-reviews' ); ?>"><?= __( 'Delete', 'site-reviews' ); ?></a></span>
12 12
         </p>
13 13
     </td>
14 14
     <td class="glsr-string-td2">
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
             <input type="hidden" name="{{ data.prefix }}[settings][strings][{{ data.index }}][id]" value="{{ data.id }}" data-id>
17 17
             <input type="hidden" name="{{ data.prefix }}[settings][strings][{{ data.index }}][s1]" value="{{ data.s1 }}">
18 18
             <input type="hidden" name="{{ data.prefix }}[settings][strings][{{ data.index }}][p1]" value="{{ data.p1 }}">
19
-            <input type="text" name="{{ data.prefix }}[settings][strings][{{ data.index }}][s2]" placeholder="<?= __('singular', 'site-reviews'); ?>" value="{{ data.s2 }}">
20
-            <input type="text" name="{{ data.prefix }}[settings][strings][{{ data.index }}][p2]" placeholder="<?= __('plural', 'site-reviews'); ?>" value="{{ data.p2 }}">
19
+            <input type="text" name="{{ data.prefix }}[settings][strings][{{ data.index }}][s2]" placeholder="<?= __( 'singular', 'site-reviews' ); ?>" value="{{ data.s2 }}">
20
+            <input type="text" name="{{ data.prefix }}[settings][strings][{{ data.index }}][p2]" placeholder="<?= __( 'plural', 'site-reviews' ); ?>" value="{{ data.p2 }}">
21 21
             <span class="description">{{ data.desc }}{{ data.error }}</span>
22 22
         </div>
23 23
     </td>
Please login to merge, or discard this patch.
views/partials/form/table-row.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php defined('WPINC') || die; ?>
1
+<?php defined( 'WPINC' ) || die; ?>
2 2
 
3 3
 <tr class="glsr-field {{ class }}">
4 4
     <th scope="row">{{ label }}</th>
Please login to merge, or discard this patch.
views/partials/styles/bootstrap_4/submit-button.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php defined('WPINC') || die; ?>
1
+<?php defined( 'WPINC' ) || die; ?>
2 2
 
3 3
 <button type="submit" class="glsr-button btn btn-primary">
4 4
     <span class="glsr-button-loading"></span>
Please login to merge, or discard this patch.
views/partials/styles/bootstrap_4/field_checkbox.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php defined('WPINC') || die; ?>
1
+<?php defined( 'WPINC' ) || die; ?>
2 2
 
3 3
 <div class="glsr-field form-group form-check {{ class }}">
4 4
     {{ field }}
Please login to merge, or discard this patch.