Passed
Push — master ( 1da117...139142 )
by Amit
03:41
created
inc/config.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     /**
52 52
      * @param  $contentHasSidebarClass
53 53
      * @param  $contentNoSidebarClass
54
-     * @return mixed
54
+     * @return string
55 55
      */
56 56
     public function getContentClass($contentHasSidebarClass = 'medium-8', $contentNoSidebarClass = 'medium-12')
57 57
     {
Please login to merge, or discard this patch.
inc/extras.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 
53 53
 /**
54 54
  * @param  $limit
55
- * @return mixed
55
+ * @return string
56 56
  */
57 57
 function excerpt($limit)
58 58
 {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 if (!function_exists('post_end_class')) {
77 77
 
78 78
 /**
79
- * @return mixed
79
+ * @return string
80 80
  */
81 81
     function post_end_class()
82 82
     {
Please login to merge, or discard this patch.
inc/media.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@
 block discarded – undo
238 238
 
239 239
 /**
240 240
  * @param  $svg_file
241
- * @return mixed
241
+ * @return string
242 242
  */
243 243
 function svg_get_contents($svg_file)
244 244
 {
Please login to merge, or discard this patch.
search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,4 +76,4 @@
 block discarded – undo
76 76
 
77 77
 ?>
78 78
 </div><!-- #content -->
79
-<?php get_footer();?>
79
+<?php get_footer(); ?>
Please login to merge, or discard this patch.
inc/comments.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,18 +9,18 @@  discard block
 block discarded – undo
9 9
 function podium_comments($comment, $args, $depth)
10 10
 {
11 11
 
12
-    $GLOBALS['comment'] = $comment;?>
13
-  <li <?php comment_class('panel');?>>
14
-    <article id="comment-<?php comment_ID();?>" class="clearfix large-12 columns">
12
+    $GLOBALS['comment'] = $comment; ?>
13
+  <li <?php comment_class('panel'); ?>>
14
+    <article id="comment-<?php comment_ID(); ?>" class="clearfix large-12 columns">
15 15
       <header class="comment-author">
16 16
         <?php
17 17
 
18 18
     // create variable
19 19
     $bgauthemail = get_comment_author_email();
20 20
     ?>
21
-        <?php printf(__('<cite class="fn">%s</cite>', 'podium'), get_comment_author_link());?> on
22
-        <time datetime="<?php echo comment_time('Y-m-j'); ?>"><a href="<?php echo htmlspecialchars(get_comment_link($comment->comment_ID)) ?>"><?php comment_time(__(' F jS, Y - g:ia', 'podium'));?> </a></time>
23
-        <?php edit_comment_link(__('(Edit)', 'podium'), '  ', '');?>
21
+        <?php printf(__('<cite class="fn">%s</cite>', 'podium'), get_comment_author_link()); ?> on
22
+        <time datetime="<?php echo comment_time('Y-m-j'); ?>"><a href="<?php echo htmlspecialchars(get_comment_link($comment->comment_ID)) ?>"><?php comment_time(__(' F jS, Y - g:ia', 'podium')); ?> </a></time>
23
+        <?php edit_comment_link(__('(Edit)', 'podium'), '  ', ''); ?>
24 24
       </header>
25 25
       <?php
26 26
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         <section class="comment_content clearfix">
35 35
           <?php comment_text()?>
36 36
         </section>
37
-        <?php comment_reply_link(array_merge($args, ['depth' => $depth, 'max_depth' => $args['max_depth']]));?>
37
+        <?php comment_reply_link(array_merge($args, ['depth' => $depth, 'max_depth' => $args['max_depth']])); ?>
38 38
       </article>
39 39
 
40 40
       <!-- </li> is added by WordPress automatically -->
Please login to merge, or discard this patch.
inc/menu.php 1 patch
Spacing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -10,17 +10,17 @@  discard block
 block discarded – undo
10 10
 function podium_top_nav()
11 11
 {
12 12
     wp_nav_menu([
13
-        'container'       => false,                    // Remove nav container
14
-        'container_class' => '',                       // Class of container
13
+        'container'       => false, // Remove nav container
14
+        'container_class' => '', // Class of container
15 15
         'menu'            => 'The Top Menu', 'podium', // Menu name
16
-        'menu_class'      => 'dropdown menu',          // Adding custom nav class
17
-        'theme_location'  => 'main-nav',               // Where it's located in the theme
18
-        'before'          => '',                       // Before each link <a>
19
-        'after'           => '',                       // After each link </a>
20
-        'link_before'     => '',                       // Before each link text
21
-        'link_after'      => '',                       // After each link text
22
-        'depth'           => 3,                        // Limit the depth of the nav
23
-        'fallback_cb'     => false,                    // Fallback function (see below)
16
+        'menu_class'      => 'dropdown menu', // Adding custom nav class
17
+        'theme_location'  => 'main-nav', // Where it's located in the theme
18
+        'before'          => '', // Before each link <a>
19
+        'after'           => '', // After each link </a>
20
+        'link_before'     => '', // Before each link text
21
+        'link_after'      => '', // After each link text
22
+        'depth'           => 3, // Limit the depth of the nav
23
+        'fallback_cb'     => false, // Fallback function (see below)
24 24
         'walker'          => new Top_Bar_Walker()
25 25
     ]);
26 26
 }
@@ -30,17 +30,17 @@  discard block
 block discarded – undo
30 30
 function podium_off_canvas()
31 31
 {
32 32
     wp_nav_menu([
33
-        'container'       => false,             // Remove nav container
34
-        'container_class' => '',                // Class of container
35
-        'menu'            => '',                // Menu name
33
+        'container'       => false, // Remove nav container
34
+        'container_class' => '', // Class of container
35
+        'menu'            => '', // Menu name
36 36
         'menu_class'      => 'off-canvas-list', // Adding custom nav class
37
-        'theme_location'  => 'main-nav',        // Where it's located in the theme
38
-        'before'          => '',                // Before each link <a>
39
-        'after'           => '',                // After each link </a>
40
-        'link_before'     => '',                // Before each link text
41
-        'link_after'      => '',                // After each link text
42
-        'depth'           => 2,                 // Limit the depth of the nav
43
-        'fallback_cb'     => false,             // Fallback function (see below)
37
+        'theme_location'  => 'main-nav', // Where it's located in the theme
38
+        'before'          => '', // Before each link <a>
39
+        'after'           => '', // After each link </a>
40
+        'link_before'     => '', // Before each link text
41
+        'link_after'      => '', // After each link text
42
+        'depth'           => 2, // Limit the depth of the nav
43
+        'fallback_cb'     => false, // Fallback function (see below)
44 44
         'walker'          => new Offcanvas_Walker()
45 45
     ]);
46 46
 }
@@ -49,16 +49,16 @@  discard block
 block discarded – undo
49 49
 function podium_footer_links()
50 50
 {
51 51
     wp_nav_menu([
52
-        'container'       => '',                             // Remove nav container
53
-        'container_class' => 'footer-links clearfix',        // Class of container (should you choose to use it)
54
-        'menu'            => __('Footer Links', 'podium'),   // Nav name
55
-        'menu_class'      => 'sub-nav',                      // Adding custom nav class
56
-        'theme_location'  => 'footer-links',                 // Where it's located in the theme
57
-        'before'          => '',                             // Before the menu
58
-        'after'           => '',                             // After the menu
59
-        'link_before'     => '',                             // Before each link
60
-        'link_after'      => '',                             // After each link
61
-        'depth'           => 0,                              // Limit the depth of the nav
52
+        'container'       => '', // Remove nav container
53
+        'container_class' => 'footer-links clearfix', // Class of container (should you choose to use it)
54
+        'menu'            => __('Footer Links', 'podium'), // Nav name
55
+        'menu_class'      => 'sub-nav', // Adding custom nav class
56
+        'theme_location'  => 'footer-links', // Where it's located in the theme
57
+        'before'          => '', // Before the menu
58
+        'after'           => '', // After the menu
59
+        'link_before'     => '', // Before each link
60
+        'link_after'      => '', // After each link
61
+        'depth'           => 0, // Limit the depth of the nav
62 62
         'fallback_cb'     => 'podium_footer_links_fallback' // Fallback function
63 63
     ]);
64 64
 }
Please login to merge, or discard this patch.
inc/related-posts.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
                 setup_postdata($post);
29 29
                 ?>
30 30
                 <li class="related_post">
31
-                    <a href="<?php the_permalink()?>" title="<?php the_title_attribute();?>"><?php the_title();?></a>
32
-                    <?php get_template_part('parts/content', 'byline');?>
31
+                    <a href="<?php the_permalink()?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
32
+                    <?php get_template_part('parts/content', 'byline'); ?>
33 33
                 </li>
34 34
                 <?php
35 35
 
Please login to merge, or discard this patch.
inc/menu-walkers.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -80,14 +80,14 @@
 block discarded – undo
80 80
  */
81 81
 final class Offcanvas_Walker extends Walker_Nav_Menu
82 82
 {
83
-                                                             /**
84
-     * @param $element
85
-     * @param $children_elements
86
-     * @param $max_depth
87
-     * @param $depth
88
-     * @param $args
89
-     * @param $output
90
-     */
83
+                                                                /**
84
+                                                                 * @param $element
85
+                                                                 * @param $children_elements
86
+                                                                 * @param $max_depth
87
+                                                                 * @param $depth
88
+                                                                 * @param $args
89
+                                                                 * @param $output
90
+                                                                 */
91 91
     public function display_element($element, &$children_elements, $max_depth, $depth = 0, $args, &$output)
92 92
     {
93 93
         $element->has_children = !empty($children_elements[$element->ID]);
Please login to merge, or discard this patch.
inc/tgm.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -103,15 +103,15 @@
 block discarded – undo
103 103
      * Only uncomment the strings in the config array if you want to customize the strings.
104 104
      */
105 105
     $config = [
106
-        'id'           => 'podium-tgmpa',                 // Unique ID for hashing notices for multiple instances of TGMPA.
107
-        'default_path' => '',                             // Default absolute path to bundled plugins.
106
+        'id'           => 'podium-tgmpa', // Unique ID for hashing notices for multiple instances of TGMPA.
107
+        'default_path' => '', // Default absolute path to bundled plugins.
108 108
         'menu'         => 'podium-tgmpa-install-plugins', // Menu slug.
109
-        'parent_slug'  => 'themes.php',                   // Parent menu slug.
110
-        'capability'   => 'edit_theme_options',           // Capability needed to view plugin install page, should be a capability associated with the parent menu used.
111
-        'has_notices'  => true,                           // Show admin notices or not.
112
-        'dismissable'  => false,                          // If false, a user cannot dismiss the nag message.
113
-        'dismiss_msg'  => '',                             // If 'dismissable' is false, this message will be output at top of nag.
114
-        'is_automatic' => false,                          // Automatically activate plugins after installation or not.
109
+        'parent_slug'  => 'themes.php', // Parent menu slug.
110
+        'capability'   => 'edit_theme_options', // Capability needed to view plugin install page, should be a capability associated with the parent menu used.
111
+        'has_notices'  => true, // Show admin notices or not.
112
+        'dismissable'  => false, // If false, a user cannot dismiss the nag message.
113
+        'dismiss_msg'  => '', // If 'dismissable' is false, this message will be output at top of nag.
114
+        'is_automatic' => false, // Automatically activate plugins after installation or not.
115 115
         'message'      => ''                             // Message to output right before the plugins table.
116 116
 
117 117
         /*
Please login to merge, or discard this patch.