GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 601d4c...8bbfd0 )
by Askupa
01:57
created
bootstrap.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -22,19 +22,19 @@
 block discarded – undo
22 22
 
23 23
 require_once 'renderer.php';
24 24
 
25
-if( !function_exists('wp_dynamic_css_enqueue') )
25
+if (!function_exists('wp_dynamic_css_enqueue'))
26 26
 {
27
-    function wp_dynamic_css_enqueue( $path )
27
+    function wp_dynamic_css_enqueue($path)
28 28
     {
29 29
         $dcss = DynamicCSSRenderer::get_instance();
30
-        $dcss->enqueue_style( $path );
30
+        $dcss->enqueue_style($path);
31 31
     }
32 32
 }
33 33
 
34
-if( !function_exists('wp_dynamic_css_set_callback') )
34
+if (!function_exists('wp_dynamic_css_set_callback'))
35 35
 {
36
-    function wp_dynamic_css_set_callback( $callback )
36
+    function wp_dynamic_css_set_callback($callback)
37 37
     {
38
-        add_filter( 'wp_dynamic_css_get_variable_value', $callback );
38
+        add_filter('wp_dynamic_css_get_variable_value', $callback);
39 39
     }
40 40
 }
41 41
\ No newline at end of file
Please login to merge, or discard this patch.
compiler.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   WordPress Dynamic CSS
4
- * @version   1.0.0
5
- * @author    Askupa Software <[email protected]>
6
- * @link      https://github.com/askupasoftware/wp-dynamic-css
7
- * @copyright 2016 Askupa Software
8
- */
3
+     * @package   WordPress Dynamic CSS
4
+     * @version   1.0.0
5
+     * @author    Askupa Software <[email protected]>
6
+     * @link      https://github.com/askupasoftware/wp-dynamic-css
7
+     * @copyright 2016 Askupa Software
8
+     */
9 9
 
10 10
 /**
11 11
  * Dynamic CSS Compiler Utility Class
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function init()
56 56
     {
57
-        add_action( 'wp_print_styles', array( $this, 'print_compiled_style' ) );
57
+        add_action('wp_print_styles', array($this, 'print_compiled_style'));
58 58
     }
59 59
     
60 60
     /**
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      * 
63 63
      * @param type $path The absolute path to the dynamic style
64 64
      */
65
-    public function enqueue_style( $path )
65
+    public function enqueue_style($path)
66 66
     {
67 67
         $this->styles[] = $path;
68 68
     }
@@ -73,12 +73,12 @@  discard block
 block discarded – undo
73 73
     public function print_compiled_style()
74 74
     {
75 75
         ob_start();
76
-        foreach( $this->styles as $style ) 
76
+        foreach ($this->styles as $style) 
77 77
         {
78 78
             include $style;
79 79
             echo "\n";
80 80
         }
81
-        $css = $this->parse_css( ob_get_clean() );
81
+        $css = $this->parse_css(ob_get_clean());
82 82
         include 'style.phtml';
83 83
     }
84 84
     
@@ -93,10 +93,10 @@  discard block
 block discarded – undo
93 93
      * @return string The compiled CSS after converting the variables to their 
94 94
      * corresponding values
95 95
      */
96
-    public function parse_css( $css )
96
+    public function parse_css($css)
97 97
     {   
98 98
         return preg_replace_callback('#\$([\w]+)#', function($matches) {
99
-            return apply_filters( 'wp_dynamic_css_get_variable_value', $matches[1]);
99
+            return apply_filters('wp_dynamic_css_get_variable_value', $matches[1]);
100 100
         }, $css);
101 101
     }
102 102
 }
103 103
\ No newline at end of file
Please login to merge, or discard this patch.