Completed
Pull Request — develop (#1581)
by
unknown
01:43
created
src/js/dist/autocomplete-select.asset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
-	'version'      => 'cc57df17aa6539c288e415b53cb200cd',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
+    'version'      => 'cc57df17aa6539c288e415b53cb200cd',
4 4
 );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
2
+	'dependencies' => array('react', 'react-dom', 'wp-polyfill'),
3 3
 	'version'      => 'cc57df17aa6539c288e415b53cb200cd',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/mappings.asset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
-	'version'      => '2ad0b7d5866ced8d6cbad5ed030a5bbf',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
+    'version'      => '2ad0b7d5866ced8d6cbad5ed030a5bbf',
4 4
 );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
2
+	'dependencies' => array('react', 'react-dom', 'wp-polyfill'),
3 3
 	'version'      => '2ad0b7d5866ced8d6cbad5ed030a5bbf',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/edit.asset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-hooks', 'wp-polyfill' ),
3
-	'version'      => '4ee769e3e935bd4c640759ae3aecd7f0',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-hooks', 'wp-polyfill' ),
3
+    'version'      => '4ee769e3e935bd4c640759ae3aecd7f0',
4 4
 );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-hooks', 'wp-polyfill' ),
2
+	'dependencies' => array('react', 'react-dom', 'wp-hooks', 'wp-polyfill'),
3 3
 	'version'      => '4ee769e3e935bd4c640759ae3aecd7f0',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/videoobject.asset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-hooks', 'wp-i18n', 'wp-polyfill' ),
3
-	'version'      => '9b95359d39be315a15baf56dd5081f2f',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-hooks', 'wp-i18n', 'wp-polyfill' ),
3
+    'version'      => '9b95359d39be315a15baf56dd5081f2f',
4 4
 );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-hooks', 'wp-i18n', 'wp-polyfill' ),
2
+	'dependencies' => array('react', 'react-dom', 'wp-hooks', 'wp-i18n', 'wp-polyfill'),
3 3
 	'version'      => '9b95359d39be315a15baf56dd5081f2f',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/faq.asset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
-	'version'      => 'ec79959e51f5fe169cb3599c0cbf8fd7',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
+    'version'      => 'ec79959e51f5fe169cb3599c0cbf8fd7',
4 4
 );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
2
+	'dependencies' => array('react', 'react-dom', 'wp-polyfill'),
3 3
 	'version'      => 'ec79959e51f5fe169cb3599c0cbf8fd7',
4 4
 );
Please login to merge, or discard this patch.
src/modules/food-kg/load.php 2 patches
Indentation   +50 added lines, -50 removed lines patch added patch discarded remove patch
@@ -16,62 +16,62 @@
 block discarded – undo
16 16
 use Wordlift\Modules\Food_Kg\Preconditions;
17 17
 
18 18
 if ( ! defined( 'ABSPATH' ) ) {
19
-	exit;
19
+    exit;
20 20
 }
21 21
 
22 22
 define( 'WL_FOOD_KG_FILE', __FILE__ );
23 23
 define( 'WL_FOOD_KG_DIR_PATH', dirname( WL_FOOD_KG_FILE ) );
24 24
 
25 25
 function __wl_foodkg__load() {
26
-	// Autoloader for dependencies.
27
-	if ( file_exists( WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php' ) ) {
28
-		require WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php';
29
-	}
30
-
31
-	// Autoloader for plugin itself.
32
-	if ( file_exists( WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php' ) ) {
33
-		require WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php';
34
-	}
35
-
36
-	$container_builder = new ContainerBuilder();
37
-	$loader            = new YamlFileLoader( $container_builder, new FileLocator( __DIR__ ) );
38
-	$loader->load( 'services.yml' );
39
-	$container_builder->compile();
40
-
41
-	$notices = $container_builder->get( 'Wordlift\Modules\Food_Kg\Notices' );
42
-	$notices->register_hooks();
43
-
44
-	/**
45
-	 * @var Preconditions $preconditions
46
-	 */
47
-	$preconditions = $container_builder->get( 'Wordlift\Modules\Food_Kg\Preconditions' );
48
-	if ( ! $preconditions->pass() ) {
49
-		return;
50
-	}
51
-
52
-	// Meta Box.
53
-	$meta_box = $container_builder->get( 'Wordlift\Modules\Food_Kg\Meta_Box' );
54
-	$meta_box->register_hooks();
55
-
56
-	$module = $container_builder->get( 'Wordlift\Modules\Food_Kg\Module' );
57
-	$module->register_hooks();
58
-
59
-	/** @var Jsonld $jsonld */
60
-	$jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Jsonld' );
61
-	$jsonld->register_hooks();
62
-
63
-	/** @var Main_Ingredient_Jsonld $jsonld */
64
-	$main_ingredient_jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld' );
65
-	$main_ingredient_jsonld->register_hooks();
66
-
67
-	if ( is_admin() ) {
68
-		$page = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Page' );
69
-		$page->register_hooks();
70
-
71
-		// Download Ingredients Data.
72
-		$download_ingredients_data = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Download_Ingredients_Data' );
73
-		$download_ingredients_data->register_hooks();
74
-	}
26
+    // Autoloader for dependencies.
27
+    if ( file_exists( WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php' ) ) {
28
+        require WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php';
29
+    }
30
+
31
+    // Autoloader for plugin itself.
32
+    if ( file_exists( WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php' ) ) {
33
+        require WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php';
34
+    }
35
+
36
+    $container_builder = new ContainerBuilder();
37
+    $loader            = new YamlFileLoader( $container_builder, new FileLocator( __DIR__ ) );
38
+    $loader->load( 'services.yml' );
39
+    $container_builder->compile();
40
+
41
+    $notices = $container_builder->get( 'Wordlift\Modules\Food_Kg\Notices' );
42
+    $notices->register_hooks();
43
+
44
+    /**
45
+     * @var Preconditions $preconditions
46
+     */
47
+    $preconditions = $container_builder->get( 'Wordlift\Modules\Food_Kg\Preconditions' );
48
+    if ( ! $preconditions->pass() ) {
49
+        return;
50
+    }
51
+
52
+    // Meta Box.
53
+    $meta_box = $container_builder->get( 'Wordlift\Modules\Food_Kg\Meta_Box' );
54
+    $meta_box->register_hooks();
55
+
56
+    $module = $container_builder->get( 'Wordlift\Modules\Food_Kg\Module' );
57
+    $module->register_hooks();
58
+
59
+    /** @var Jsonld $jsonld */
60
+    $jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Jsonld' );
61
+    $jsonld->register_hooks();
62
+
63
+    /** @var Main_Ingredient_Jsonld $jsonld */
64
+    $main_ingredient_jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld' );
65
+    $main_ingredient_jsonld->register_hooks();
66
+
67
+    if ( is_admin() ) {
68
+        $page = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Page' );
69
+        $page->register_hooks();
70
+
71
+        // Download Ingredients Data.
72
+        $download_ingredients_data = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Download_Ingredients_Data' );
73
+        $download_ingredients_data->register_hooks();
74
+    }
75 75
 }
76 76
 
77 77
 add_action( 'plugins_loaded', '__wl_foodkg__load' );
Please login to merge, or discard this patch.
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -15,64 +15,64 @@
 block discarded – undo
15 15
 use Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld;
16 16
 use Wordlift\Modules\Food_Kg\Preconditions;
17 17
 
18
-if ( ! defined( 'ABSPATH' ) ) {
18
+if ( ! defined('ABSPATH')) {
19 19
 	exit;
20 20
 }
21 21
 
22
-define( 'WL_FOOD_KG_FILE', __FILE__ );
23
-define( 'WL_FOOD_KG_DIR_PATH', dirname( WL_FOOD_KG_FILE ) );
22
+define('WL_FOOD_KG_FILE', __FILE__);
23
+define('WL_FOOD_KG_DIR_PATH', dirname(WL_FOOD_KG_FILE));
24 24
 
25 25
 function __wl_foodkg__load() {
26 26
 	// Autoloader for dependencies.
27
-	if ( file_exists( WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php' ) ) {
28
-		require WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php';
27
+	if (file_exists(WL_FOOD_KG_DIR_PATH.'/third-party/vendor/scoper-autoload.php')) {
28
+		require WL_FOOD_KG_DIR_PATH.'/third-party/vendor/scoper-autoload.php';
29 29
 	}
30 30
 
31 31
 	// Autoloader for plugin itself.
32
-	if ( file_exists( WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php' ) ) {
33
-		require WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php';
32
+	if (file_exists(WL_FOOD_KG_DIR_PATH.'/includes/vendor/autoload.php')) {
33
+		require WL_FOOD_KG_DIR_PATH.'/includes/vendor/autoload.php';
34 34
 	}
35 35
 
36 36
 	$container_builder = new ContainerBuilder();
37
-	$loader            = new YamlFileLoader( $container_builder, new FileLocator( __DIR__ ) );
38
-	$loader->load( 'services.yml' );
37
+	$loader            = new YamlFileLoader($container_builder, new FileLocator(__DIR__));
38
+	$loader->load('services.yml');
39 39
 	$container_builder->compile();
40 40
 
41
-	$notices = $container_builder->get( 'Wordlift\Modules\Food_Kg\Notices' );
41
+	$notices = $container_builder->get('Wordlift\Modules\Food_Kg\Notices');
42 42
 	$notices->register_hooks();
43 43
 
44 44
 	/**
45 45
 	 * @var Preconditions $preconditions
46 46
 	 */
47
-	$preconditions = $container_builder->get( 'Wordlift\Modules\Food_Kg\Preconditions' );
48
-	if ( ! $preconditions->pass() ) {
47
+	$preconditions = $container_builder->get('Wordlift\Modules\Food_Kg\Preconditions');
48
+	if ( ! $preconditions->pass()) {
49 49
 		return;
50 50
 	}
51 51
 
52 52
 	// Meta Box.
53
-	$meta_box = $container_builder->get( 'Wordlift\Modules\Food_Kg\Meta_Box' );
53
+	$meta_box = $container_builder->get('Wordlift\Modules\Food_Kg\Meta_Box');
54 54
 	$meta_box->register_hooks();
55 55
 
56
-	$module = $container_builder->get( 'Wordlift\Modules\Food_Kg\Module' );
56
+	$module = $container_builder->get('Wordlift\Modules\Food_Kg\Module');
57 57
 	$module->register_hooks();
58 58
 
59 59
 	/** @var Jsonld $jsonld */
60
-	$jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Jsonld' );
60
+	$jsonld = $container_builder->get('Wordlift\Modules\Food_Kg\Jsonld');
61 61
 	$jsonld->register_hooks();
62 62
 
63 63
 	/** @var Main_Ingredient_Jsonld $jsonld */
64
-	$main_ingredient_jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld' );
64
+	$main_ingredient_jsonld = $container_builder->get('Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld');
65 65
 	$main_ingredient_jsonld->register_hooks();
66 66
 
67
-	if ( is_admin() ) {
68
-		$page = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Page' );
67
+	if (is_admin()) {
68
+		$page = $container_builder->get('Wordlift\Modules\Food_Kg\Admin\Page');
69 69
 		$page->register_hooks();
70 70
 
71 71
 		// Download Ingredients Data.
72
-		$download_ingredients_data = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Download_Ingredients_Data' );
72
+		$download_ingredients_data = $container_builder->get('Wordlift\Modules\Food_Kg\Admin\Download_Ingredients_Data');
73 73
 		$download_ingredients_data->register_hooks();
74 74
 	}
75 75
 }
76 76
 
77
-add_action( 'plugins_loaded', '__wl_foodkg__load' );
77
+add_action('plugins_loaded', '__wl_foodkg__load');
78 78
 
Please login to merge, or discard this patch.
src/modules/food-kg/includes/vendor/composer/autoload_classmap.php 1 patch
Spacing   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -6,27 +6,27 @@
 block discarded – undo
6 6
 $baseDir = dirname($vendorDir);
7 7
 
8 8
 return array(
9
-    'ComposerAutoloaderInitbaaf547b24d2757395578581da934187' => $vendorDir . '/composer/autoload_real.php',
10
-    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
11
-    'Wordlift\\Modules\\Food_Kg\\Admin\\Download_Ingredients_Data' => $baseDir . '/admin/Download_Ingredients_Data.php',
12
-    'Wordlift\\Modules\\Food_Kg\\Admin\\Full_Page_Delegate' => $baseDir . '/admin/Full_Page_Delegate.php',
13
-    'Wordlift\\Modules\\Food_Kg\\Admin\\Ingredients_List_Table' => $baseDir . '/admin/Ingredients_List_Table.php',
14
-    'Wordlift\\Modules\\Food_Kg\\Admin\\Ingredients_Modal_Page_Delegate' => $baseDir . '/admin/Ingredients_Modal_Page_Delegate.php',
15
-    'Wordlift\\Modules\\Food_Kg\\Admin\\Main_Ingredient_List_Table' => $baseDir . '/admin/Main_Ingredient_List_Table.php',
16
-    'Wordlift\\Modules\\Food_Kg\\Admin\\Main_Ingredient_Modal_Page_Delegate' => $baseDir . '/admin/Main_Ingredient_Modal_Page_Delegate.php',
17
-    'Wordlift\\Modules\\Food_Kg\\Admin\\Page' => $baseDir . '/admin/Page.php',
18
-    'Wordlift\\Modules\\Food_Kg\\Admin\\Page_Delegate' => $baseDir . '/admin/Page_Delegate.php',
19
-    'Wordlift\\Modules\\Food_Kg\\Ingredients' => $baseDir . '/Ingredients.php',
20
-    'Wordlift\\Modules\\Food_Kg\\Ingredients_Client' => $baseDir . '/Ingredients_Client.php',
21
-    'Wordlift\\Modules\\Food_Kg\\Ingredients_Taxonomy_Recipe_Lift_Strategy' => $baseDir . '/Ingredients_Taxonomy_Recipe_Lift_Strategy.php',
22
-    'Wordlift\\Modules\\Food_Kg\\Jsonld' => $baseDir . '/Jsonld.php',
23
-    'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Jsonld' => $baseDir . '/Main_Ingredient_Jsonld.php',
24
-    'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Recipe_Lift_Strategy' => $baseDir . '/Main_Ingredient_Recipe_Lift_Strategy.php',
25
-    'Wordlift\\Modules\\Food_Kg\\Meta_Box' => $baseDir . '/Meta_Box.php',
26
-    'Wordlift\\Modules\\Food_Kg\\Module' => $baseDir . '/Module.php',
27
-    'Wordlift\\Modules\\Food_Kg\\Notices' => $baseDir . '/Notices.php',
28
-    'Wordlift\\Modules\\Food_Kg\\Preconditions' => $baseDir . '/Preconditions.php',
29
-    'Wordlift\\Modules\\Food_Kg\\Recipe_Lift_Strategy' => $baseDir . '/Recipe_Lift_Strategy.php',
30
-    'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ClassLoader' => $vendorDir . '/composer/ClassLoader.php',
31
-    'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ComposerStaticInitbaaf547b24d2757395578581da934187' => $vendorDir . '/composer/autoload_static.php',
9
+    'ComposerAutoloaderInitbaaf547b24d2757395578581da934187' => $vendorDir.'/composer/autoload_real.php',
10
+    'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php',
11
+    'Wordlift\\Modules\\Food_Kg\\Admin\\Download_Ingredients_Data' => $baseDir.'/admin/Download_Ingredients_Data.php',
12
+    'Wordlift\\Modules\\Food_Kg\\Admin\\Full_Page_Delegate' => $baseDir.'/admin/Full_Page_Delegate.php',
13
+    'Wordlift\\Modules\\Food_Kg\\Admin\\Ingredients_List_Table' => $baseDir.'/admin/Ingredients_List_Table.php',
14
+    'Wordlift\\Modules\\Food_Kg\\Admin\\Ingredients_Modal_Page_Delegate' => $baseDir.'/admin/Ingredients_Modal_Page_Delegate.php',
15
+    'Wordlift\\Modules\\Food_Kg\\Admin\\Main_Ingredient_List_Table' => $baseDir.'/admin/Main_Ingredient_List_Table.php',
16
+    'Wordlift\\Modules\\Food_Kg\\Admin\\Main_Ingredient_Modal_Page_Delegate' => $baseDir.'/admin/Main_Ingredient_Modal_Page_Delegate.php',
17
+    'Wordlift\\Modules\\Food_Kg\\Admin\\Page' => $baseDir.'/admin/Page.php',
18
+    'Wordlift\\Modules\\Food_Kg\\Admin\\Page_Delegate' => $baseDir.'/admin/Page_Delegate.php',
19
+    'Wordlift\\Modules\\Food_Kg\\Ingredients' => $baseDir.'/Ingredients.php',
20
+    'Wordlift\\Modules\\Food_Kg\\Ingredients_Client' => $baseDir.'/Ingredients_Client.php',
21
+    'Wordlift\\Modules\\Food_Kg\\Ingredients_Taxonomy_Recipe_Lift_Strategy' => $baseDir.'/Ingredients_Taxonomy_Recipe_Lift_Strategy.php',
22
+    'Wordlift\\Modules\\Food_Kg\\Jsonld' => $baseDir.'/Jsonld.php',
23
+    'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Jsonld' => $baseDir.'/Main_Ingredient_Jsonld.php',
24
+    'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Recipe_Lift_Strategy' => $baseDir.'/Main_Ingredient_Recipe_Lift_Strategy.php',
25
+    'Wordlift\\Modules\\Food_Kg\\Meta_Box' => $baseDir.'/Meta_Box.php',
26
+    'Wordlift\\Modules\\Food_Kg\\Module' => $baseDir.'/Module.php',
27
+    'Wordlift\\Modules\\Food_Kg\\Notices' => $baseDir.'/Notices.php',
28
+    'Wordlift\\Modules\\Food_Kg\\Preconditions' => $baseDir.'/Preconditions.php',
29
+    'Wordlift\\Modules\\Food_Kg\\Recipe_Lift_Strategy' => $baseDir.'/Recipe_Lift_Strategy.php',
30
+    'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ClassLoader' => $vendorDir.'/composer/ClassLoader.php',
31
+    'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ComposerStaticInitbaaf547b24d2757395578581da934187' => $vendorDir.'/composer/autoload_static.php',
32 32
 );
Please login to merge, or discard this patch.
src/modules/food-kg/includes/vendor/composer/autoload_static.php 1 patch
Spacing   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -6,35 +6,35 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInitbaaf547b24d2757395578581da934187
8 8
 {
9
-    public static $classMap = array (
10
-        'ComposerAutoloaderInitbaaf547b24d2757395578581da934187' => __DIR__ . '/..' . '/composer/autoload_real.php',
11
-        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
12
-        'Wordlift\\Modules\\Food_Kg\\Admin\\Download_Ingredients_Data' => __DIR__ . '/../..' . '/admin/Download_Ingredients_Data.php',
13
-        'Wordlift\\Modules\\Food_Kg\\Admin\\Full_Page_Delegate' => __DIR__ . '/../..' . '/admin/Full_Page_Delegate.php',
14
-        'Wordlift\\Modules\\Food_Kg\\Admin\\Ingredients_List_Table' => __DIR__ . '/../..' . '/admin/Ingredients_List_Table.php',
15
-        'Wordlift\\Modules\\Food_Kg\\Admin\\Ingredients_Modal_Page_Delegate' => __DIR__ . '/../..' . '/admin/Ingredients_Modal_Page_Delegate.php',
16
-        'Wordlift\\Modules\\Food_Kg\\Admin\\Main_Ingredient_List_Table' => __DIR__ . '/../..' . '/admin/Main_Ingredient_List_Table.php',
17
-        'Wordlift\\Modules\\Food_Kg\\Admin\\Main_Ingredient_Modal_Page_Delegate' => __DIR__ . '/../..' . '/admin/Main_Ingredient_Modal_Page_Delegate.php',
18
-        'Wordlift\\Modules\\Food_Kg\\Admin\\Page' => __DIR__ . '/../..' . '/admin/Page.php',
19
-        'Wordlift\\Modules\\Food_Kg\\Admin\\Page_Delegate' => __DIR__ . '/../..' . '/admin/Page_Delegate.php',
20
-        'Wordlift\\Modules\\Food_Kg\\Ingredients' => __DIR__ . '/../..' . '/Ingredients.php',
21
-        'Wordlift\\Modules\\Food_Kg\\Ingredients_Client' => __DIR__ . '/../..' . '/Ingredients_Client.php',
22
-        'Wordlift\\Modules\\Food_Kg\\Ingredients_Taxonomy_Recipe_Lift_Strategy' => __DIR__ . '/../..' . '/Ingredients_Taxonomy_Recipe_Lift_Strategy.php',
23
-        'Wordlift\\Modules\\Food_Kg\\Jsonld' => __DIR__ . '/../..' . '/Jsonld.php',
24
-        'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Jsonld' => __DIR__ . '/../..' . '/Main_Ingredient_Jsonld.php',
25
-        'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Recipe_Lift_Strategy' => __DIR__ . '/../..' . '/Main_Ingredient_Recipe_Lift_Strategy.php',
26
-        'Wordlift\\Modules\\Food_Kg\\Meta_Box' => __DIR__ . '/../..' . '/Meta_Box.php',
27
-        'Wordlift\\Modules\\Food_Kg\\Module' => __DIR__ . '/../..' . '/Module.php',
28
-        'Wordlift\\Modules\\Food_Kg\\Notices' => __DIR__ . '/../..' . '/Notices.php',
29
-        'Wordlift\\Modules\\Food_Kg\\Preconditions' => __DIR__ . '/../..' . '/Preconditions.php',
30
-        'Wordlift\\Modules\\Food_Kg\\Recipe_Lift_Strategy' => __DIR__ . '/../..' . '/Recipe_Lift_Strategy.php',
31
-        'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ClassLoader' => __DIR__ . '/..' . '/composer/ClassLoader.php',
32
-        'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ComposerStaticInitbaaf547b24d2757395578581da934187' => __DIR__ . '/..' . '/composer/autoload_static.php',
9
+    public static $classMap = array(
10
+        'ComposerAutoloaderInitbaaf547b24d2757395578581da934187' => __DIR__.'/..'.'/composer/autoload_real.php',
11
+        'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php',
12
+        'Wordlift\\Modules\\Food_Kg\\Admin\\Download_Ingredients_Data' => __DIR__.'/../..'.'/admin/Download_Ingredients_Data.php',
13
+        'Wordlift\\Modules\\Food_Kg\\Admin\\Full_Page_Delegate' => __DIR__.'/../..'.'/admin/Full_Page_Delegate.php',
14
+        'Wordlift\\Modules\\Food_Kg\\Admin\\Ingredients_List_Table' => __DIR__.'/../..'.'/admin/Ingredients_List_Table.php',
15
+        'Wordlift\\Modules\\Food_Kg\\Admin\\Ingredients_Modal_Page_Delegate' => __DIR__.'/../..'.'/admin/Ingredients_Modal_Page_Delegate.php',
16
+        'Wordlift\\Modules\\Food_Kg\\Admin\\Main_Ingredient_List_Table' => __DIR__.'/../..'.'/admin/Main_Ingredient_List_Table.php',
17
+        'Wordlift\\Modules\\Food_Kg\\Admin\\Main_Ingredient_Modal_Page_Delegate' => __DIR__.'/../..'.'/admin/Main_Ingredient_Modal_Page_Delegate.php',
18
+        'Wordlift\\Modules\\Food_Kg\\Admin\\Page' => __DIR__.'/../..'.'/admin/Page.php',
19
+        'Wordlift\\Modules\\Food_Kg\\Admin\\Page_Delegate' => __DIR__.'/../..'.'/admin/Page_Delegate.php',
20
+        'Wordlift\\Modules\\Food_Kg\\Ingredients' => __DIR__.'/../..'.'/Ingredients.php',
21
+        'Wordlift\\Modules\\Food_Kg\\Ingredients_Client' => __DIR__.'/../..'.'/Ingredients_Client.php',
22
+        'Wordlift\\Modules\\Food_Kg\\Ingredients_Taxonomy_Recipe_Lift_Strategy' => __DIR__.'/../..'.'/Ingredients_Taxonomy_Recipe_Lift_Strategy.php',
23
+        'Wordlift\\Modules\\Food_Kg\\Jsonld' => __DIR__.'/../..'.'/Jsonld.php',
24
+        'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Jsonld' => __DIR__.'/../..'.'/Main_Ingredient_Jsonld.php',
25
+        'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Recipe_Lift_Strategy' => __DIR__.'/../..'.'/Main_Ingredient_Recipe_Lift_Strategy.php',
26
+        'Wordlift\\Modules\\Food_Kg\\Meta_Box' => __DIR__.'/../..'.'/Meta_Box.php',
27
+        'Wordlift\\Modules\\Food_Kg\\Module' => __DIR__.'/../..'.'/Module.php',
28
+        'Wordlift\\Modules\\Food_Kg\\Notices' => __DIR__.'/../..'.'/Notices.php',
29
+        'Wordlift\\Modules\\Food_Kg\\Preconditions' => __DIR__.'/../..'.'/Preconditions.php',
30
+        'Wordlift\\Modules\\Food_Kg\\Recipe_Lift_Strategy' => __DIR__.'/../..'.'/Recipe_Lift_Strategy.php',
31
+        'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ClassLoader' => __DIR__.'/..'.'/composer/ClassLoader.php',
32
+        'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ComposerStaticInitbaaf547b24d2757395578581da934187' => __DIR__.'/..'.'/composer/autoload_static.php',
33 33
     );
34 34
 
35 35
     public static function getInitializer(ClassLoader $loader)
36 36
     {
37
-        return \Closure::bind(function () use ($loader) {
37
+        return \Closure::bind(function() use ($loader) {
38 38
             $loader->classMap = ComposerStaticInitbaaf547b24d2757395578581da934187::$classMap;
39 39
 
40 40
         }, null, ClassLoader::class);
Please login to merge, or discard this patch.
src/modules/food-kg/includes/admin/Full_Page_Delegate.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,15 +4,15 @@
 block discarded – undo
4 4
 
5 5
 class Full_Page_Delegate implements Page_Delegate {
6 6
 
7
-	public function render() {
8
-		include WL_FOOD_KG_DIR_PATH . '/includes/admin/partials/main_ingredient.php';
9
-	}
7
+    public function render() {
8
+        include WL_FOOD_KG_DIR_PATH . '/includes/admin/partials/main_ingredient.php';
9
+    }
10 10
 
11
-	public function admin_enqueue_scripts() {
12
-		wp_enqueue_style( 'thickbox' );
13
-		wp_enqueue_script( 'plugin-install' );
11
+    public function admin_enqueue_scripts() {
12
+        wp_enqueue_style( 'thickbox' );
13
+        wp_enqueue_script( 'plugin-install' );
14 14
 
15
-		wp_enqueue_style( 'wl-ingredients', plugin_dir_url( __FILE__ ) . '/assets/css/ingredients.css', array(), WORDLIFT_VERSION );
16
-	}
15
+        wp_enqueue_style( 'wl-ingredients', plugin_dir_url( __FILE__ ) . '/assets/css/ingredients.css', array(), WORDLIFT_VERSION );
16
+    }
17 17
 
18 18
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,14 +5,14 @@
 block discarded – undo
5 5
 class Full_Page_Delegate implements Page_Delegate {
6 6
 
7 7
 	public function render() {
8
-		include WL_FOOD_KG_DIR_PATH . '/includes/admin/partials/main_ingredient.php';
8
+		include WL_FOOD_KG_DIR_PATH.'/includes/admin/partials/main_ingredient.php';
9 9
 	}
10 10
 
11 11
 	public function admin_enqueue_scripts() {
12
-		wp_enqueue_style( 'thickbox' );
13
-		wp_enqueue_script( 'plugin-install' );
12
+		wp_enqueue_style('thickbox');
13
+		wp_enqueue_script('plugin-install');
14 14
 
15
-		wp_enqueue_style( 'wl-ingredients', plugin_dir_url( __FILE__ ) . '/assets/css/ingredients.css', array(), WORDLIFT_VERSION );
15
+		wp_enqueue_style('wl-ingredients', plugin_dir_url(__FILE__).'/assets/css/ingredients.css', array(), WORDLIFT_VERSION);
16 16
 	}
17 17
 
18 18
 }
Please login to merge, or discard this patch.