Completed
Pull Request — develop (#1596)
by David
01:06
created
src/modules/food-kg/load.php 2 patches
Indentation   +71 added lines, -71 removed lines patch added patch discarded remove patch
@@ -20,83 +20,83 @@
 block discarded – undo
20 20
 use Wordlift\Task\Background\Background_Task_Route;
21 21
 
22 22
 if ( ! defined( 'ABSPATH' ) ) {
23
-	exit;
23
+    exit;
24 24
 }
25 25
 
26 26
 define( 'WL_FOOD_KG_FILE', __FILE__ );
27 27
 define( 'WL_FOOD_KG_DIR_PATH', dirname( WL_FOOD_KG_FILE ) );
28 28
 
29 29
 function __wl_foodkg__load() {
30
-	// Autoloader for dependencies.
31
-	if ( file_exists( WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php' ) ) {
32
-		require WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php';
33
-	}
34
-
35
-	// Autoloader for plugin itself.
36
-	if ( file_exists( WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php' ) ) {
37
-		require WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php';
38
-	}
39
-
40
-	$container_builder = new ContainerBuilder();
41
-	$loader            = new YamlFileLoader( $container_builder, new FileLocator( __DIR__ ) );
42
-	$loader->load( 'services.yml' );
43
-	$container_builder->compile();
44
-
45
-	$notices = $container_builder->get( 'Wordlift\Modules\Food_Kg\Notices' );
46
-	$notices->register_hooks();
47
-
48
-	/**
49
-	 * @var Preconditions $preconditions
50
-	 */
51
-	$preconditions = $container_builder->get( 'Wordlift\Modules\Food_Kg\Preconditions' );
52
-	if ( ! $preconditions->pass() ) {
53
-		return;
54
-	}
55
-
56
-	// Meta Box.
57
-	$meta_box = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Meta_Box' );
58
-	$meta_box->register_hooks();
59
-
60
-	$module = $container_builder->get( 'Wordlift\Modules\Food_Kg\Module' );
61
-	$module->register_hooks();
62
-
63
-	/** @var Jsonld $jsonld */
64
-	$jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Jsonld' );
65
-	$jsonld->register_hooks();
66
-
67
-	/**
68
-	 * Ingredients API.
69
-	 */
70
-	$ingredients_api = $container_builder->get( 'Wordlift\Modules\Food_Kg\Ingredients_API' );
71
-	$ingredients_api->register_hooks();
72
-
73
-	/** @var Main_Ingredient_Jsonld $jsonld */
74
-	$main_ingredient_jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld' );
75
-	$main_ingredient_jsonld->register_hooks();
76
-
77
-	/** Prepare the background task. */
78
-	$main_ingredient_recipe_lift = $container_builder->get( 'Wordlift\Modules\Food_Kg\Main_Ingredient_Recipe_Lift_Strategy' );
79
-	$task                        = new All_Posts_Task(
80
-		array(
81
-			$main_ingredient_recipe_lift,
82
-			'process',
83
-		),
84
-		'wprm_recipe',
85
-		'sync-main-ingredient'
86
-	);
87
-	$background_task             = Background_Task::create( $task );
88
-	$background_task_route       = Background_Task_Route::create( $background_task, '/main-ingredient' );
89
-	Background_Task_Page::create( __( 'Synchronize Main Ingredient', 'wordlift' ), 'sync-main-ingredient', $background_task_route );
90
-
91
-	if ( is_admin() ) {
92
-		$page = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Page' );
93
-		$page->register_hooks();
94
-
95
-		// Download Ingredients Data.
96
-		$download_ingredients_data = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Download_Ingredients_Data' );
97
-		$download_ingredients_data->register_hooks();
98
-
99
-	}
30
+    // Autoloader for dependencies.
31
+    if ( file_exists( WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php' ) ) {
32
+        require WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php';
33
+    }
34
+
35
+    // Autoloader for plugin itself.
36
+    if ( file_exists( WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php' ) ) {
37
+        require WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php';
38
+    }
39
+
40
+    $container_builder = new ContainerBuilder();
41
+    $loader            = new YamlFileLoader( $container_builder, new FileLocator( __DIR__ ) );
42
+    $loader->load( 'services.yml' );
43
+    $container_builder->compile();
44
+
45
+    $notices = $container_builder->get( 'Wordlift\Modules\Food_Kg\Notices' );
46
+    $notices->register_hooks();
47
+
48
+    /**
49
+     * @var Preconditions $preconditions
50
+     */
51
+    $preconditions = $container_builder->get( 'Wordlift\Modules\Food_Kg\Preconditions' );
52
+    if ( ! $preconditions->pass() ) {
53
+        return;
54
+    }
55
+
56
+    // Meta Box.
57
+    $meta_box = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Meta_Box' );
58
+    $meta_box->register_hooks();
59
+
60
+    $module = $container_builder->get( 'Wordlift\Modules\Food_Kg\Module' );
61
+    $module->register_hooks();
62
+
63
+    /** @var Jsonld $jsonld */
64
+    $jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Jsonld' );
65
+    $jsonld->register_hooks();
66
+
67
+    /**
68
+     * Ingredients API.
69
+     */
70
+    $ingredients_api = $container_builder->get( 'Wordlift\Modules\Food_Kg\Ingredients_API' );
71
+    $ingredients_api->register_hooks();
72
+
73
+    /** @var Main_Ingredient_Jsonld $jsonld */
74
+    $main_ingredient_jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld' );
75
+    $main_ingredient_jsonld->register_hooks();
76
+
77
+    /** Prepare the background task. */
78
+    $main_ingredient_recipe_lift = $container_builder->get( 'Wordlift\Modules\Food_Kg\Main_Ingredient_Recipe_Lift_Strategy' );
79
+    $task                        = new All_Posts_Task(
80
+        array(
81
+            $main_ingredient_recipe_lift,
82
+            'process',
83
+        ),
84
+        'wprm_recipe',
85
+        'sync-main-ingredient'
86
+    );
87
+    $background_task             = Background_Task::create( $task );
88
+    $background_task_route       = Background_Task_Route::create( $background_task, '/main-ingredient' );
89
+    Background_Task_Page::create( __( 'Synchronize Main Ingredient', 'wordlift' ), 'sync-main-ingredient', $background_task_route );
90
+
91
+    if ( is_admin() ) {
92
+        $page = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Page' );
93
+        $page->register_hooks();
94
+
95
+        // Download Ingredients Data.
96
+        $download_ingredients_data = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Download_Ingredients_Data' );
97
+        $download_ingredients_data->register_hooks();
98
+
99
+    }
100 100
 }
101 101
 
102 102
 add_action( 'plugins_loaded', '__wl_foodkg__load' );
Please login to merge, or discard this patch.
Spacing   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -19,63 +19,63 @@  discard block
 block discarded – undo
19 19
 use Wordlift\Task\Background\Background_Task_Page;
20 20
 use Wordlift\Task\Background\Background_Task_Route;
21 21
 
22
-if ( ! defined( 'ABSPATH' ) ) {
22
+if ( ! defined('ABSPATH')) {
23 23
 	exit;
24 24
 }
25 25
 
26
-define( 'WL_FOOD_KG_FILE', __FILE__ );
27
-define( 'WL_FOOD_KG_DIR_PATH', dirname( WL_FOOD_KG_FILE ) );
26
+define('WL_FOOD_KG_FILE', __FILE__);
27
+define('WL_FOOD_KG_DIR_PATH', dirname(WL_FOOD_KG_FILE));
28 28
 
29 29
 function __wl_foodkg__load() {
30 30
 	// Autoloader for dependencies.
31
-	if ( file_exists( WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php' ) ) {
32
-		require WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php';
31
+	if (file_exists(WL_FOOD_KG_DIR_PATH.'/third-party/vendor/scoper-autoload.php')) {
32
+		require WL_FOOD_KG_DIR_PATH.'/third-party/vendor/scoper-autoload.php';
33 33
 	}
34 34
 
35 35
 	// Autoloader for plugin itself.
36
-	if ( file_exists( WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php' ) ) {
37
-		require WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php';
36
+	if (file_exists(WL_FOOD_KG_DIR_PATH.'/includes/vendor/autoload.php')) {
37
+		require WL_FOOD_KG_DIR_PATH.'/includes/vendor/autoload.php';
38 38
 	}
39 39
 
40 40
 	$container_builder = new ContainerBuilder();
41
-	$loader            = new YamlFileLoader( $container_builder, new FileLocator( __DIR__ ) );
42
-	$loader->load( 'services.yml' );
41
+	$loader            = new YamlFileLoader($container_builder, new FileLocator(__DIR__));
42
+	$loader->load('services.yml');
43 43
 	$container_builder->compile();
44 44
 
45
-	$notices = $container_builder->get( 'Wordlift\Modules\Food_Kg\Notices' );
45
+	$notices = $container_builder->get('Wordlift\Modules\Food_Kg\Notices');
46 46
 	$notices->register_hooks();
47 47
 
48 48
 	/**
49 49
 	 * @var Preconditions $preconditions
50 50
 	 */
51
-	$preconditions = $container_builder->get( 'Wordlift\Modules\Food_Kg\Preconditions' );
52
-	if ( ! $preconditions->pass() ) {
51
+	$preconditions = $container_builder->get('Wordlift\Modules\Food_Kg\Preconditions');
52
+	if ( ! $preconditions->pass()) {
53 53
 		return;
54 54
 	}
55 55
 
56 56
 	// Meta Box.
57
-	$meta_box = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Meta_Box' );
57
+	$meta_box = $container_builder->get('Wordlift\Modules\Food_Kg\Admin\Meta_Box');
58 58
 	$meta_box->register_hooks();
59 59
 
60
-	$module = $container_builder->get( 'Wordlift\Modules\Food_Kg\Module' );
60
+	$module = $container_builder->get('Wordlift\Modules\Food_Kg\Module');
61 61
 	$module->register_hooks();
62 62
 
63 63
 	/** @var Jsonld $jsonld */
64
-	$jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Jsonld' );
64
+	$jsonld = $container_builder->get('Wordlift\Modules\Food_Kg\Jsonld');
65 65
 	$jsonld->register_hooks();
66 66
 
67 67
 	/**
68 68
 	 * Ingredients API.
69 69
 	 */
70
-	$ingredients_api = $container_builder->get( 'Wordlift\Modules\Food_Kg\Ingredients_API' );
70
+	$ingredients_api = $container_builder->get('Wordlift\Modules\Food_Kg\Ingredients_API');
71 71
 	$ingredients_api->register_hooks();
72 72
 
73 73
 	/** @var Main_Ingredient_Jsonld $jsonld */
74
-	$main_ingredient_jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld' );
74
+	$main_ingredient_jsonld = $container_builder->get('Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld');
75 75
 	$main_ingredient_jsonld->register_hooks();
76 76
 
77 77
 	/** Prepare the background task. */
78
-	$main_ingredient_recipe_lift = $container_builder->get( 'Wordlift\Modules\Food_Kg\Main_Ingredient_Recipe_Lift_Strategy' );
78
+	$main_ingredient_recipe_lift = $container_builder->get('Wordlift\Modules\Food_Kg\Main_Ingredient_Recipe_Lift_Strategy');
79 79
 	$task                        = new All_Posts_Task(
80 80
 		array(
81 81
 			$main_ingredient_recipe_lift,
@@ -84,20 +84,20 @@  discard block
 block discarded – undo
84 84
 		'wprm_recipe',
85 85
 		'sync-main-ingredient'
86 86
 	);
87
-	$background_task             = Background_Task::create( $task );
88
-	$background_task_route       = Background_Task_Route::create( $background_task, '/main-ingredient' );
89
-	Background_Task_Page::create( __( 'Synchronize Main Ingredient', 'wordlift' ), 'sync-main-ingredient', $background_task_route );
87
+	$background_task             = Background_Task::create($task);
88
+	$background_task_route       = Background_Task_Route::create($background_task, '/main-ingredient');
89
+	Background_Task_Page::create(__('Synchronize Main Ingredient', 'wordlift'), 'sync-main-ingredient', $background_task_route);
90 90
 
91
-	if ( is_admin() ) {
92
-		$page = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Page' );
91
+	if (is_admin()) {
92
+		$page = $container_builder->get('Wordlift\Modules\Food_Kg\Admin\Page');
93 93
 		$page->register_hooks();
94 94
 
95 95
 		// Download Ingredients Data.
96
-		$download_ingredients_data = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Download_Ingredients_Data' );
96
+		$download_ingredients_data = $container_builder->get('Wordlift\Modules\Food_Kg\Admin\Download_Ingredients_Data');
97 97
 		$download_ingredients_data->register_hooks();
98 98
 
99 99
 	}
100 100
 }
101 101
 
102
-add_action( 'plugins_loaded', '__wl_foodkg__load' );
102
+add_action('plugins_loaded', '__wl_foodkg__load');
103 103
 
Please login to merge, or discard this patch.
src/modules/food-kg/includes/services/Ingredients.php 2 patches
Indentation   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -9,18 +9,18 @@  discard block
 block discarded – undo
9 9
 
10 10
 class Ingredients {
11 11
 
12
-	/**
13
-	 * Get Ingredients Data.
14
-	 *
15
-	 * @param int $limit The number of items to return.
16
-	 * @param int $offset The offset.
17
-	 */
18
-	public function get_data( $limit = 20, $offset = 0 ) {
19
-		global $wpdb;
12
+    /**
13
+     * Get Ingredients Data.
14
+     *
15
+     * @param int $limit The number of items to return.
16
+     * @param int $offset The offset.
17
+     */
18
+    public function get_data( $limit = 20, $offset = 0 ) {
19
+        global $wpdb;
20 20
 
21
-		$ingredients = $wpdb->get_results(
22
-			$wpdb->prepare(
23
-				"SELECT p1.ID AS recipe_ID,
21
+        $ingredients = $wpdb->get_results(
22
+            $wpdb->prepare(
23
+                "SELECT p1.ID AS recipe_ID,
24 24
 						p1.post_title AS recipe_name,
25 25
 						p2.ID AS post_ID,
26 26
 						p2.post_title
@@ -30,39 +30,39 @@  discard block
 block discarded – undo
30 30
 							INNER JOIN $wpdb->postmeta pm2
31 31
 								ON pm2.post_ID = pm1.post_ID AND pm2.meta_key = 'wprm_parent_post_id'
32 32
 							INNER JOIN $wpdb->posts p2"
33
-				// The following ignore rule is used against the `LIKE CONCAT`. We only have const values.
34
-				// phpcs:ignore WordPress.DB.PreparedSQLPlaceholders.LikeWildcardsInQuery
35
-				. " ON p2.post_status = 'publish' AND p2.ID = pm2.meta_value
33
+                // The following ignore rule is used against the `LIKE CONCAT`. We only have const values.
34
+                // phpcs:ignore WordPress.DB.PreparedSQLPlaceholders.LikeWildcardsInQuery
35
+                . " ON p2.post_status = 'publish' AND p2.ID = pm2.meta_value
36 36
 							WHERE pm1.meta_key = '_wl_main_ingredient_jsonld'
37 37
 					LIMIT %d
38 38
 					OFFSET %d",
39
-				$limit,
40
-				$offset
41
-			)
42
-		);
39
+                $limit,
40
+                $offset
41
+            )
42
+        );
43 43
 
44
-		if ( empty( $ingredients ) ) {
45
-			return new \WP_Error( 'no_ingredients', __( 'No ingredients found.', 'wordlift' ), array( 'status' => 404 ) );
46
-		}
44
+        if ( empty( $ingredients ) ) {
45
+            return new \WP_Error( 'no_ingredients', __( 'No ingredients found.', 'wordlift' ), array( 'status' => 404 ) );
46
+        }
47 47
 
48
-		$data = array();
49
-		foreach ( $ingredients as $ingredient ) {
50
-			$recipe_json_ld = get_post_meta( $ingredient->recipe_ID, '_wl_main_ingredient_jsonld', true ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
51
-			$recipe         = json_decode( $recipe_json_ld, true );
48
+        $data = array();
49
+        foreach ( $ingredients as $ingredient ) {
50
+            $recipe_json_ld = get_post_meta( $ingredient->recipe_ID, '_wl_main_ingredient_jsonld', true ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
51
+            $recipe         = json_decode( $recipe_json_ld, true );
52 52
 
53
-			// phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
54
-			$data[] = array(
55
-				'main_ingredient_item_id' => $recipe ? $recipe['@id'] : null,
56
-				'main_ingredient_name'    => $recipe ? $recipe['name'] : null,
57
-				'recipe_id'               => (int) $ingredient->recipe_ID,
58
-				'recipe_name'             => htmlspecialchars_decode( $ingredient->recipe_name ),
59
-				'post_id'                 => (int) $ingredient->post_ID,
60
-				'post_name'               => $ingredient->post_title,
61
-				'post_url'                => get_the_permalink( $ingredient->post_ID ),
62
-			);
63
-			// phpcs:enable
64
-		}
53
+            // phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
54
+            $data[] = array(
55
+                'main_ingredient_item_id' => $recipe ? $recipe['@id'] : null,
56
+                'main_ingredient_name'    => $recipe ? $recipe['name'] : null,
57
+                'recipe_id'               => (int) $ingredient->recipe_ID,
58
+                'recipe_name'             => htmlspecialchars_decode( $ingredient->recipe_name ),
59
+                'post_id'                 => (int) $ingredient->post_ID,
60
+                'post_name'               => $ingredient->post_title,
61
+                'post_url'                => get_the_permalink( $ingredient->post_ID ),
62
+            );
63
+            // phpcs:enable
64
+        }
65 65
 
66
-		return $data;
67
-	}
66
+        return $data;
67
+    }
68 68
 }
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 	 * @param int $limit The number of items to return.
16 16
 	 * @param int $offset The offset.
17 17
 	 */
18
-	public function get_data( $limit = 20, $offset = 0 ) {
18
+	public function get_data($limit = 20, $offset = 0) {
19 19
 		global $wpdb;
20 20
 
21 21
 		$ingredients = $wpdb->get_results(
@@ -41,24 +41,24 @@  discard block
 block discarded – undo
41 41
 			)
42 42
 		);
43 43
 
44
-		if ( empty( $ingredients ) ) {
45
-			return new \WP_Error( 'no_ingredients', __( 'No ingredients found.', 'wordlift' ), array( 'status' => 404 ) );
44
+		if (empty($ingredients)) {
45
+			return new \WP_Error('no_ingredients', __('No ingredients found.', 'wordlift'), array('status' => 404));
46 46
 		}
47 47
 
48 48
 		$data = array();
49
-		foreach ( $ingredients as $ingredient ) {
50
-			$recipe_json_ld = get_post_meta( $ingredient->recipe_ID, '_wl_main_ingredient_jsonld', true ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
51
-			$recipe         = json_decode( $recipe_json_ld, true );
49
+		foreach ($ingredients as $ingredient) {
50
+			$recipe_json_ld = get_post_meta($ingredient->recipe_ID, '_wl_main_ingredient_jsonld', true); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
51
+			$recipe         = json_decode($recipe_json_ld, true);
52 52
 
53 53
 			// phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
54 54
 			$data[] = array(
55 55
 				'main_ingredient_item_id' => $recipe ? $recipe['@id'] : null,
56 56
 				'main_ingredient_name'    => $recipe ? $recipe['name'] : null,
57 57
 				'recipe_id'               => (int) $ingredient->recipe_ID,
58
-				'recipe_name'             => htmlspecialchars_decode( $ingredient->recipe_name ),
58
+				'recipe_name'             => htmlspecialchars_decode($ingredient->recipe_name),
59 59
 				'post_id'                 => (int) $ingredient->post_ID,
60 60
 				'post_name'               => $ingredient->post_title,
61
-				'post_url'                => get_the_permalink( $ingredient->post_ID ),
61
+				'post_url'                => get_the_permalink($ingredient->post_ID),
62 62
 			);
63 63
 			// phpcs:enable
64 64
 		}
Please login to merge, or discard this patch.
src/modules/food-kg/includes/Ingredients_API.php 2 patches
Indentation   +70 added lines, -70 removed lines patch added patch discarded remove patch
@@ -4,81 +4,81 @@
 block discarded – undo
4 4
 
5 5
 class Ingredients_API {
6 6
 
7
-	/**
8
-	 * Ingredients Service.
9
-	 *
10
-	 * @var \Wordlift\Modules\Food_Kg\Services\Ingredients $ingredients_service The Ingredients Service.
11
-	 */
12
-	public $ingredients_service;
7
+    /**
8
+     * Ingredients Service.
9
+     *
10
+     * @var \Wordlift\Modules\Food_Kg\Services\Ingredients $ingredients_service The Ingredients Service.
11
+     */
12
+    public $ingredients_service;
13 13
 
14
-	public function __construct( $ingredients_service ) {
15
-		$this->ingredients_service = $ingredients_service;
16
-	}
14
+    public function __construct( $ingredients_service ) {
15
+        $this->ingredients_service = $ingredients_service;
16
+    }
17 17
 
18
-	/**
19
-	 * Register Hooks.
20
-	 */
21
-	public function register_hooks() {
22
-		add_action( 'rest_api_init', array( $this, 'register_routes' ) );
23
-	}
18
+    /**
19
+     * Register Hooks.
20
+     */
21
+    public function register_hooks() {
22
+        add_action( 'rest_api_init', array( $this, 'register_routes' ) );
23
+    }
24 24
 
25
-	/**
26
-	 * Register Routes.
27
-	 */
28
-	public function register_routes() {
29
-		register_rest_route(
30
-			WL_REST_ROUTE_DEFAULT_NAMESPACE,
31
-			'/ingredients',
32
-			array(
33
-				'methods'             => \WP_REST_Server::READABLE,
34
-				'callback'            => array( $this, 'get_ingredients' ),
35
-				'permission_callback' => function () {
36
-					return current_user_can( 'manage_options' );
37
-				},
38
-				'args'                => array(
39
-					'per_page' => array(
40
-						'type'              => 'integer',
41
-						'validate_callback' => 'rest_validate_request_arg',
42
-						'default'           => 20,
43
-						'minimum'           => 1,
44
-						'maximum'           => 100,
45
-						'sanitize_callback' => 'absint',
46
-					),
47
-					'page'     => array(
48
-						'type'              => 'integer',
49
-						'validate_callback' => 'rest_validate_request_arg',
50
-						'default'           => 1,
51
-						'sanitize_callback' => 'absint',
52
-					),
53
-					'offset'   => array(
54
-						'type'              => 'integer',
55
-						'validate_callback' => 'rest_validate_request_arg',
56
-						'sanitize_callback' => 'absint',
57
-					),
58
-				),
59
-			)
60
-		);
61
-	}
25
+    /**
26
+     * Register Routes.
27
+     */
28
+    public function register_routes() {
29
+        register_rest_route(
30
+            WL_REST_ROUTE_DEFAULT_NAMESPACE,
31
+            '/ingredients',
32
+            array(
33
+                'methods'             => \WP_REST_Server::READABLE,
34
+                'callback'            => array( $this, 'get_ingredients' ),
35
+                'permission_callback' => function () {
36
+                    return current_user_can( 'manage_options' );
37
+                },
38
+                'args'                => array(
39
+                    'per_page' => array(
40
+                        'type'              => 'integer',
41
+                        'validate_callback' => 'rest_validate_request_arg',
42
+                        'default'           => 20,
43
+                        'minimum'           => 1,
44
+                        'maximum'           => 100,
45
+                        'sanitize_callback' => 'absint',
46
+                    ),
47
+                    'page'     => array(
48
+                        'type'              => 'integer',
49
+                        'validate_callback' => 'rest_validate_request_arg',
50
+                        'default'           => 1,
51
+                        'sanitize_callback' => 'absint',
52
+                    ),
53
+                    'offset'   => array(
54
+                        'type'              => 'integer',
55
+                        'validate_callback' => 'rest_validate_request_arg',
56
+                        'sanitize_callback' => 'absint',
57
+                    ),
58
+                ),
59
+            )
60
+        );
61
+    }
62 62
 
63
-	/**
64
-	 * Get Ingredients Data.
65
-	 *
66
-	 * @param \WP_REST_Request $request The request.
67
-	 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure.
68
-	 */
69
-	public function get_ingredients( \WP_REST_Request $request ) {
70
-		$per_page = $request['per_page'];
71
-		$page     = $request['page'];
72
-		$offset   = $request['offset'];
63
+    /**
64
+     * Get Ingredients Data.
65
+     *
66
+     * @param \WP_REST_Request $request The request.
67
+     * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure.
68
+     */
69
+    public function get_ingredients( \WP_REST_Request $request ) {
70
+        $per_page = $request['per_page'];
71
+        $page     = $request['page'];
72
+        $offset   = $request['offset'];
73 73
 
74
-		if ( isset( $offset ) ) {
75
-			$offset = (int) $offset;
76
-		} else {
77
-			$offset = ( $page - 1 ) * $per_page;
78
-		}
74
+        if ( isset( $offset ) ) {
75
+            $offset = (int) $offset;
76
+        } else {
77
+            $offset = ( $page - 1 ) * $per_page;
78
+        }
79 79
 
80
-		$data = $this->ingredients_service->get_data( $per_page, $offset );
80
+        $data = $this->ingredients_service->get_data( $per_page, $offset );
81 81
 
82
-		return rest_ensure_response( $data );
83
-	}
82
+        return rest_ensure_response( $data );
83
+    }
84 84
 }
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 	 */
12 12
 	public $ingredients_service;
13 13
 
14
-	public function __construct( $ingredients_service ) {
14
+	public function __construct($ingredients_service) {
15 15
 		$this->ingredients_service = $ingredients_service;
16 16
 	}
17 17
 
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 	 * Register Hooks.
20 20
 	 */
21 21
 	public function register_hooks() {
22
-		add_action( 'rest_api_init', array( $this, 'register_routes' ) );
22
+		add_action('rest_api_init', array($this, 'register_routes'));
23 23
 	}
24 24
 
25 25
 	/**
@@ -31,9 +31,9 @@  discard block
 block discarded – undo
31 31
 			'/ingredients',
32 32
 			array(
33 33
 				'methods'             => \WP_REST_Server::READABLE,
34
-				'callback'            => array( $this, 'get_ingredients' ),
35
-				'permission_callback' => function () {
36
-					return current_user_can( 'manage_options' );
34
+				'callback'            => array($this, 'get_ingredients'),
35
+				'permission_callback' => function() {
36
+					return current_user_can('manage_options');
37 37
 				},
38 38
 				'args'                => array(
39 39
 					'per_page' => array(
@@ -66,19 +66,19 @@  discard block
 block discarded – undo
66 66
 	 * @param \WP_REST_Request $request The request.
67 67
 	 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure.
68 68
 	 */
69
-	public function get_ingredients( \WP_REST_Request $request ) {
69
+	public function get_ingredients(\WP_REST_Request $request) {
70 70
 		$per_page = $request['per_page'];
71 71
 		$page     = $request['page'];
72 72
 		$offset   = $request['offset'];
73 73
 
74
-		if ( isset( $offset ) ) {
74
+		if (isset($offset)) {
75 75
 			$offset = (int) $offset;
76 76
 		} else {
77
-			$offset = ( $page - 1 ) * $per_page;
77
+			$offset = ($page - 1) * $per_page;
78 78
 		}
79 79
 
80
-		$data = $this->ingredients_service->get_data( $per_page, $offset );
80
+		$data = $this->ingredients_service->get_data($per_page, $offset);
81 81
 
82
-		return rest_ensure_response( $data );
82
+		return rest_ensure_response($data);
83 83
 	}
84 84
 }
Please login to merge, or discard this patch.
src/modules/food-kg/includes/vendor/autoload.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,14 +3,14 @@  discard block
 block discarded – undo
3 3
 // autoload.php @generated by Composer
4 4
 
5 5
 if (PHP_VERSION_ID < 50600) {
6
-    if (!headers_sent()) {
6
+    if ( ! headers_sent()) {
7 7
         header('HTTP/1.1 500 Internal Server Error');
8 8
     }
9 9
     $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
10
-    if (!ini_get('display_errors')) {
10
+    if ( ! ini_get('display_errors')) {
11 11
         if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
12 12
             fwrite(STDERR, $err);
13
-        } elseif (!headers_sent()) {
13
+        } elseif ( ! headers_sent()) {
14 14
             echo $err;
15 15
         }
16 16
     }
@@ -20,6 +20,6 @@  discard block
 block discarded – undo
20 20
     );
21 21
 }
22 22
 
23
-require_once __DIR__ . '/composer/autoload_real.php';
23
+require_once __DIR__.'/composer/autoload_real.php';
24 24
 
25 25
 return ComposerAutoloaderInitbaaf547b24d2757395578581da934187::getLoader();
Please login to merge, or discard this patch.
src/modules/food-kg/includes/vendor/composer/autoload_static.php 1 patch
Spacing   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -6,37 +6,37 @@
 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\\Meta_Box' => __DIR__ . '/../..' . '/admin/Meta_Box.php',
19
-        'Wordlift\\Modules\\Food_Kg\\Admin\\Page' => __DIR__ . '/../..' . '/admin/Page.php',
20
-        'Wordlift\\Modules\\Food_Kg\\Admin\\Page_Delegate' => __DIR__ . '/../..' . '/admin/Page_Delegate.php',
21
-        'Wordlift\\Modules\\Food_Kg\\Ingredients' => __DIR__ . '/../..' . '/Ingredients.php',
22
-        'Wordlift\\Modules\\Food_Kg\\Ingredients_API' => __DIR__ . '/../..' . '/Ingredients_API.php',
23
-        'Wordlift\\Modules\\Food_Kg\\Ingredients_Client' => __DIR__ . '/../..' . '/Ingredients_Client.php',
24
-        'Wordlift\\Modules\\Food_Kg\\Ingredients_Taxonomy_Recipe_Lift_Strategy' => __DIR__ . '/../..' . '/Ingredients_Taxonomy_Recipe_Lift_Strategy.php',
25
-        'Wordlift\\Modules\\Food_Kg\\Jsonld' => __DIR__ . '/../..' . '/Jsonld.php',
26
-        'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Jsonld' => __DIR__ . '/../..' . '/Main_Ingredient_Jsonld.php',
27
-        'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Recipe_Lift_Strategy' => __DIR__ . '/../..' . '/Main_Ingredient_Recipe_Lift_Strategy.php',
28
-        'Wordlift\\Modules\\Food_Kg\\Module' => __DIR__ . '/../..' . '/Module.php',
29
-        'Wordlift\\Modules\\Food_Kg\\Notices' => __DIR__ . '/../..' . '/Notices.php',
30
-        'Wordlift\\Modules\\Food_Kg\\Preconditions' => __DIR__ . '/../..' . '/Preconditions.php',
31
-        'Wordlift\\Modules\\Food_Kg\\Recipe_Lift_Strategy' => __DIR__ . '/../..' . '/Recipe_Lift_Strategy.php',
32
-        'Wordlift\\Modules\\Food_Kg\\Services\\Ingredients' => __DIR__ . '/../..' . '/services/Ingredients.php',
33
-        'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ClassLoader' => __DIR__ . '/..' . '/composer/ClassLoader.php',
34
-        '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\\Meta_Box' => __DIR__.'/../..'.'/admin/Meta_Box.php',
19
+        'Wordlift\\Modules\\Food_Kg\\Admin\\Page' => __DIR__.'/../..'.'/admin/Page.php',
20
+        'Wordlift\\Modules\\Food_Kg\\Admin\\Page_Delegate' => __DIR__.'/../..'.'/admin/Page_Delegate.php',
21
+        'Wordlift\\Modules\\Food_Kg\\Ingredients' => __DIR__.'/../..'.'/Ingredients.php',
22
+        'Wordlift\\Modules\\Food_Kg\\Ingredients_API' => __DIR__.'/../..'.'/Ingredients_API.php',
23
+        'Wordlift\\Modules\\Food_Kg\\Ingredients_Client' => __DIR__.'/../..'.'/Ingredients_Client.php',
24
+        'Wordlift\\Modules\\Food_Kg\\Ingredients_Taxonomy_Recipe_Lift_Strategy' => __DIR__.'/../..'.'/Ingredients_Taxonomy_Recipe_Lift_Strategy.php',
25
+        'Wordlift\\Modules\\Food_Kg\\Jsonld' => __DIR__.'/../..'.'/Jsonld.php',
26
+        'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Jsonld' => __DIR__.'/../..'.'/Main_Ingredient_Jsonld.php',
27
+        'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Recipe_Lift_Strategy' => __DIR__.'/../..'.'/Main_Ingredient_Recipe_Lift_Strategy.php',
28
+        'Wordlift\\Modules\\Food_Kg\\Module' => __DIR__.'/../..'.'/Module.php',
29
+        'Wordlift\\Modules\\Food_Kg\\Notices' => __DIR__.'/../..'.'/Notices.php',
30
+        'Wordlift\\Modules\\Food_Kg\\Preconditions' => __DIR__.'/../..'.'/Preconditions.php',
31
+        'Wordlift\\Modules\\Food_Kg\\Recipe_Lift_Strategy' => __DIR__.'/../..'.'/Recipe_Lift_Strategy.php',
32
+        'Wordlift\\Modules\\Food_Kg\\Services\\Ingredients' => __DIR__.'/../..'.'/services/Ingredients.php',
33
+        'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ClassLoader' => __DIR__.'/..'.'/composer/ClassLoader.php',
34
+        'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ComposerStaticInitbaaf547b24d2757395578581da934187' => __DIR__.'/..'.'/composer/autoload_static.php',
35 35
     );
36 36
 
37 37
     public static function getInitializer(ClassLoader $loader)
38 38
     {
39
-        return \Closure::bind(function () use ($loader) {
39
+        return \Closure::bind(function() use ($loader) {
40 40
             $loader->classMap = ComposerStaticInitbaaf547b24d2757395578581da934187::$classMap;
41 41
 
42 42
         }, null, ClassLoader::class);
Please login to merge, or discard this patch.
src/modules/food-kg/includes/vendor/composer/autoload_classmap.php 1 patch
Spacing   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -6,29 +6,29 @@
 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\\Meta_Box' => $baseDir . '/admin/Meta_Box.php',
18
-    'Wordlift\\Modules\\Food_Kg\\Admin\\Page' => $baseDir . '/admin/Page.php',
19
-    'Wordlift\\Modules\\Food_Kg\\Admin\\Page_Delegate' => $baseDir . '/admin/Page_Delegate.php',
20
-    'Wordlift\\Modules\\Food_Kg\\Ingredients' => $baseDir . '/Ingredients.php',
21
-    'Wordlift\\Modules\\Food_Kg\\Ingredients_API' => $baseDir . '/Ingredients_API.php',
22
-    'Wordlift\\Modules\\Food_Kg\\Ingredients_Client' => $baseDir . '/Ingredients_Client.php',
23
-    'Wordlift\\Modules\\Food_Kg\\Ingredients_Taxonomy_Recipe_Lift_Strategy' => $baseDir . '/Ingredients_Taxonomy_Recipe_Lift_Strategy.php',
24
-    'Wordlift\\Modules\\Food_Kg\\Jsonld' => $baseDir . '/Jsonld.php',
25
-    'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Jsonld' => $baseDir . '/Main_Ingredient_Jsonld.php',
26
-    'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Recipe_Lift_Strategy' => $baseDir . '/Main_Ingredient_Recipe_Lift_Strategy.php',
27
-    'Wordlift\\Modules\\Food_Kg\\Module' => $baseDir . '/Module.php',
28
-    'Wordlift\\Modules\\Food_Kg\\Notices' => $baseDir . '/Notices.php',
29
-    'Wordlift\\Modules\\Food_Kg\\Preconditions' => $baseDir . '/Preconditions.php',
30
-    'Wordlift\\Modules\\Food_Kg\\Recipe_Lift_Strategy' => $baseDir . '/Recipe_Lift_Strategy.php',
31
-    'Wordlift\\Modules\\Food_Kg\\Services\\Ingredients' => $baseDir . '/services/Ingredients.php',
32
-    'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ClassLoader' => $vendorDir . '/composer/ClassLoader.php',
33
-    '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\\Meta_Box' => $baseDir.'/admin/Meta_Box.php',
18
+    'Wordlift\\Modules\\Food_Kg\\Admin\\Page' => $baseDir.'/admin/Page.php',
19
+    'Wordlift\\Modules\\Food_Kg\\Admin\\Page_Delegate' => $baseDir.'/admin/Page_Delegate.php',
20
+    'Wordlift\\Modules\\Food_Kg\\Ingredients' => $baseDir.'/Ingredients.php',
21
+    'Wordlift\\Modules\\Food_Kg\\Ingredients_API' => $baseDir.'/Ingredients_API.php',
22
+    'Wordlift\\Modules\\Food_Kg\\Ingredients_Client' => $baseDir.'/Ingredients_Client.php',
23
+    'Wordlift\\Modules\\Food_Kg\\Ingredients_Taxonomy_Recipe_Lift_Strategy' => $baseDir.'/Ingredients_Taxonomy_Recipe_Lift_Strategy.php',
24
+    'Wordlift\\Modules\\Food_Kg\\Jsonld' => $baseDir.'/Jsonld.php',
25
+    'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Jsonld' => $baseDir.'/Main_Ingredient_Jsonld.php',
26
+    'Wordlift\\Modules\\Food_Kg\\Main_Ingredient_Recipe_Lift_Strategy' => $baseDir.'/Main_Ingredient_Recipe_Lift_Strategy.php',
27
+    'Wordlift\\Modules\\Food_Kg\\Module' => $baseDir.'/Module.php',
28
+    'Wordlift\\Modules\\Food_Kg\\Notices' => $baseDir.'/Notices.php',
29
+    'Wordlift\\Modules\\Food_Kg\\Preconditions' => $baseDir.'/Preconditions.php',
30
+    'Wordlift\\Modules\\Food_Kg\\Recipe_Lift_Strategy' => $baseDir.'/Recipe_Lift_Strategy.php',
31
+    'Wordlift\\Modules\\Food_Kg\\Services\\Ingredients' => $baseDir.'/services/Ingredients.php',
32
+    'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ClassLoader' => $vendorDir.'/composer/ClassLoader.php',
33
+    'Wordlift_Modules_Food_Kg_Composer\\Autoload\\ComposerStaticInitbaaf547b24d2757395578581da934187' => $vendorDir.'/composer/autoload_static.php',
34 34
 );
Please login to merge, or discard this patch.