@@ -37,13 +37,13 @@ discard block |
||
37 | 37 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
38 | 38 | */ |
39 | 39 | |
40 | -defined( 'ABSPATH' ) or exit; |
|
40 | +defined('ABSPATH') or exit; |
|
41 | 41 | |
42 | 42 | // composer fallback for PHP < 5.3.0 |
43 | -if ( -1 === version_compare( PHP_VERSION, '5.3.0' ) ) { |
|
44 | - require_once dirname( __FILE__ ) . '/vendor/autoload_52.php'; |
|
43 | +if ( -1 === version_compare(PHP_VERSION, '5.3.0') ) { |
|
44 | + require_once dirname(__FILE__).'/vendor/autoload_52.php'; |
|
45 | 45 | } else { |
46 | - require_once dirname( __FILE__ ) . '/vendor/autoload.php'; |
|
46 | + require_once dirname(__FILE__).'/vendor/autoload.php'; |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
@@ -56,18 +56,18 @@ discard block |
||
56 | 56 | */ |
57 | 57 | $this_plugin_checks = new WP_Requirements( |
58 | 58 | 'WP PHP Console', |
59 | - plugin_basename( __FILE__ ), |
|
59 | + plugin_basename(__FILE__), |
|
60 | 60 | array( |
61 | 61 | 'PHP' => '5.6.0', |
62 | 62 | ) |
63 | 63 | ); |
64 | 64 | |
65 | -if ( false === $this_plugin_checks->pass() ) { |
|
65 | +if (false === $this_plugin_checks->pass()) { |
|
66 | 66 | // Stop. |
67 | 67 | $this_plugin_checks->halt(); |
68 | 68 | return; |
69 | 69 | } else { |
70 | 70 | // Load the main class of this plugin. |
71 | - require_once dirname( __FILE__ ) . '/includes/class-wp-php-console.php'; |
|
71 | + require_once dirname(__FILE__).'/includes/class-wp-php-console.php'; |
|
72 | 72 | return new \WP_PHP_Console\Plugin(); |
73 | 73 | } |