Completed
Push — master ( e922d4...24cba3 )
by Marin
07:52
created

carbon-fields.php (4 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/*
3
Plugin Name: Carbon Fields
4
Description: WordPress developer-friendly custom fields for post types, taxonomy terms, users, comments, widgets, options and more.
5
Version: 1.0
6
Requires at least: 4.0
7
Tested up to: 4.4
8
*/
9
10
namespace Carbon_Fields;
11
12
use Carbon_Fields\Helper\Helper;
13
14
define('DIR', dirname(__FILE__));
0 ignored issues
show
Expected 1 spaces after opening bracket; 0 found
Loading history...
Expected 1 spaces before closing bracket; 0 found
Loading history...
15
define('URL', str_replace('\\', '/', str_replace(untrailingslashit(ABSPATH), site_url(), DIR)));
0 ignored issues
show
Expected 1 spaces after opening bracket; 0 found
Loading history...
Expected 1 spaces before closing bracket; 0 found
Loading history...
16
17
# Initialize helper 
18
$carbon_helper = new Helper();