Completed
Pull Request — develop (#1581)
by David
01:14
created
src/modules/food-kg/includes/admin/partials/main_ingredient.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
 	</div>
11 11
 	<?php
12 12
 
13
-	// Prepare Table of elements
14
-	$main_ingredient_list_table = new Main_Ingredient_List_Table();
15
-	$main_ingredient_list_table->prepare_items();
16
-	$main_ingredient_list_table->display();
17
-	?>
13
+    // Prepare Table of elements
14
+    $main_ingredient_list_table = new Main_Ingredient_List_Table();
15
+    $main_ingredient_list_table->prepare_items();
16
+    $main_ingredient_list_table->display();
17
+    ?>
18 18
 </div>
Please login to merge, or discard this patch.
src/modules/food-kg/scoper.inc.php 1 patch
Indentation   +84 added lines, -84 removed lines patch added patch discarded remove patch
@@ -16,97 +16,97 @@
 block discarded – undo
16 16
 $wp_constants = json_decode( file_get_contents( 'vendor/sniccowp/php-scoper-wordpress-excludes/generated/exclude-wordpress-constants.json' ), true );
17 17
 
18 18
 return array(
19
-	// The prefix configuration. If a non null value is be used, a random prefix
20
-	// will be generated instead.
21
-	//
22
-	// For more see: https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#prefix
23
-	'prefix'             => 'Wordlift\Modules\Common',
19
+    // The prefix configuration. If a non null value is be used, a random prefix
20
+    // will be generated instead.
21
+    //
22
+    // For more see: https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#prefix
23
+    'prefix'             => 'Wordlift\Modules\Common',
24 24
 
25
-	// By default when running php-scoper add-prefix, it will prefix all relevant code found in the current working
26
-	// directory. You can however define which files should be scoped by defining a collection of Finders in the
27
-	// following configuration key.
28
-	//
29
-	// This configuration entry is completely ignored when using Box.
30
-	//
31
-	// For more see: https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#finders-and-paths
32
-	'finders'            => array(
33
-		Finder::create()
34
-			  ->files()
35
-			  ->ignoreVCS( true )
36
-			  ->notName( '/LICENSE|.*\\.md|.*\\.dist|Makefile|composer\\.json|composer\\.lock/' )
37
-			->exclude(
38
-				array(
39
-					'doc',
40
-					'test',
41
-					'test_old',
42
-					'tests',
43
-					'Tests',
44
-					'vendor-bin',
45
-				)
46
-			)
47
-			->in(
48
-				array(
49
-					'vendor/cweagans/composer-patches',
50
-					'vendor/mcaskill/composer-exclude-files',
51
-					'vendor/psr/container',
52
-					'vendor/symfony/config',
53
-					'vendor/symfony/dependency-injection',
54
-					'vendor/symfony/filesystem',
55
-					'vendor/symfony/polyfill-ctype',
56
-					'vendor/symfony/polyfill-php73',
57
-					'vendor/symfony/polyfill-php80',
58
-					'vendor/symfony/yaml',
59
-				)
60
-			),
25
+    // By default when running php-scoper add-prefix, it will prefix all relevant code found in the current working
26
+    // directory. You can however define which files should be scoped by defining a collection of Finders in the
27
+    // following configuration key.
28
+    //
29
+    // This configuration entry is completely ignored when using Box.
30
+    //
31
+    // For more see: https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#finders-and-paths
32
+    'finders'            => array(
33
+        Finder::create()
34
+                ->files()
35
+                ->ignoreVCS( true )
36
+                ->notName( '/LICENSE|.*\\.md|.*\\.dist|Makefile|composer\\.json|composer\\.lock/' )
37
+            ->exclude(
38
+                array(
39
+                    'doc',
40
+                    'test',
41
+                    'test_old',
42
+                    'tests',
43
+                    'Tests',
44
+                    'vendor-bin',
45
+                )
46
+            )
47
+            ->in(
48
+                array(
49
+                    'vendor/cweagans/composer-patches',
50
+                    'vendor/mcaskill/composer-exclude-files',
51
+                    'vendor/psr/container',
52
+                    'vendor/symfony/config',
53
+                    'vendor/symfony/dependency-injection',
54
+                    'vendor/symfony/filesystem',
55
+                    'vendor/symfony/polyfill-ctype',
56
+                    'vendor/symfony/polyfill-php73',
57
+                    'vendor/symfony/polyfill-php80',
58
+                    'vendor/symfony/yaml',
59
+                )
60
+            ),
61 61
 
62
-		// Symfony mbstring polyfill.
63
-		Finder::create()
64
-			  ->files()
65
-			  ->ignoreVCS( true )
66
-			  ->ignoreDotFiles( true )
67
-			  ->name( '/\.*.php8?/' )
68
-			  ->in( 'vendor/symfony/polyfill-mbstring/Resources' )
69
-			->append(
70
-				array(
71
-					'vendor/symfony/polyfill-mbstring/Mbstring.php',
72
-					'vendor/symfony/polyfill-mbstring/composer.json',
73
-				)
74
-			),
62
+        // Symfony mbstring polyfill.
63
+        Finder::create()
64
+                ->files()
65
+                ->ignoreVCS( true )
66
+                ->ignoreDotFiles( true )
67
+                ->name( '/\.*.php8?/' )
68
+                ->in( 'vendor/symfony/polyfill-mbstring/Resources' )
69
+            ->append(
70
+                array(
71
+                    'vendor/symfony/polyfill-mbstring/Mbstring.php',
72
+                    'vendor/symfony/polyfill-mbstring/composer.json',
73
+                )
74
+            ),
75 75
 
76
-		Finder::create()->append(
77
-			array(
78
-				'composer.json',
79
-			)
80
-		),
81
-	),
76
+        Finder::create()->append(
77
+            array(
78
+                'composer.json',
79
+            )
80
+        ),
81
+    ),
82 82
 
83
-	// List of excluded files, i.e. files for which the content will be left untouched.
84
-	// Paths are relative to the configuration file unless if they are already absolute
85
-	//
86
-	// For more see: https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#patchers
87
-	'exclude-files'      => array(),
83
+    // List of excluded files, i.e. files for which the content will be left untouched.
84
+    // Paths are relative to the configuration file unless if they are already absolute
85
+    //
86
+    // For more see: https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#patchers
87
+    'exclude-files'      => array(),
88 88
 
89
-	// When scoping PHP files, there will be scenarios where some of the code being scoped indirectly references the
90
-	// original namespace. These will include, for example, strings or string manipulations. PHP-Scoper has limited
91
-	// support for prefixing such strings. To circumvent that, you can define patchers to manipulate the file to your
92
-	// heart contents.
93
-	//
94
-	// For more see: https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#patchers
95
-	'patchers'           => array(),
89
+    // When scoping PHP files, there will be scenarios where some of the code being scoped indirectly references the
90
+    // original namespace. These will include, for example, strings or string manipulations. PHP-Scoper has limited
91
+    // support for prefixing such strings. To circumvent that, you can define patchers to manipulate the file to your
92
+    // heart contents.
93
+    //
94
+    // For more see: https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#patchers
95
+    'patchers'           => array(),
96 96
 
97
-	// List of symbols to consider internal i.e. to leave untouched.
98
-	//
99
-	// For more information see: https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#excluded-symbols
100
-	'exclude-namespaces' => array(
101
-		// 'Acme\Foo'                     // The Acme\Foo namespace (and sub-namespaces)
102
-		// '~^PHPUnit\\\\Framework$~',    // The whole namespace PHPUnit\Framework (but not sub-namespaces)
103
-		// '~^$~',                        // The root namespace only
104
-		// '',                            // Any namespace
105
-	),
106
-	'exclude-classes'    => $wp_classes,
97
+    // List of symbols to consider internal i.e. to leave untouched.
98
+    //
99
+    // For more information see: https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#excluded-symbols
100
+    'exclude-namespaces' => array(
101
+        // 'Acme\Foo'                     // The Acme\Foo namespace (and sub-namespaces)
102
+        // '~^PHPUnit\\\\Framework$~',    // The whole namespace PHPUnit\Framework (but not sub-namespaces)
103
+        // '~^$~',                        // The root namespace only
104
+        // '',                            // Any namespace
105
+    ),
106
+    'exclude-classes'    => $wp_classes,
107 107
 
108
-	'exclude-functions'  => $wp_functions,
108
+    'exclude-functions'  => $wp_functions,
109 109
 
110
-	'exclude-constants'  => $wp_constants,
110
+    'exclude-constants'  => $wp_constants,
111 111
 
112 112
 );
Please login to merge, or discard this patch.
src/js/dist/mappings-edit.asset.php 1 patch
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'      => '5efaf042695a86b61d23bde696138273',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
+    'version'      => '5efaf042695a86b61d23bde696138273',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/block-editor.asset.php 1 patch
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', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-rich-text' ),
3
-	'version'      => 'c2d4e8d1ba36b81089eee91a400e6b6b',
2
+    'dependencies' => array( 'react', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-rich-text' ),
3
+    'version'      => 'c2d4e8d1ba36b81089eee91a400e6b6b',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/term.asset.php 1 patch
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'      => '3f75b6cd2913381c9e2d4e054a9bef55',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
+    'version'      => '3f75b6cd2913381c9e2d4e054a9bef55',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/block-editor-faq-plugin.asset.php 1 patch
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', 'wp-polyfill', 'wp-rich-text' ),
3
-	'version'      => '5b1a813827dca8592bb5172444391515',
2
+    'dependencies' => array( 'react', 'wp-polyfill', 'wp-rich-text' ),
3
+    'version'      => '5b1a813827dca8592bb5172444391515',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/tinymce-faq-plugin.asset.php 1 patch
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', 'wp-polyfill' ),
3
-	'version'      => '5b1ab73b7c0eff89531a9d4f06f6ee85',
2
+    'dependencies' => array( 'react', 'wp-polyfill' ),
3
+    'version'      => '5b1ab73b7c0eff89531a9d4f06f6ee85',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/no-editor-analysis.asset.php 1 patch
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-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-rich-text' ),
3
-	'version'      => 'd2c47fb4b8668591d6e6540ac83ae274',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-rich-text' ),
3
+    'version'      => 'd2c47fb4b8668591d6e6540ac83ae274',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/vocabulary-settings-page.asset.php 1 patch
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'      => '43c90c11cb58abf51acb31fd848704ab',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
+    'version'      => '43c90c11cb58abf51acb31fd848704ab',
4 4
 );
Please login to merge, or discard this patch.