Completed
Push — environmentTesting ( 91607b...83c5de )
by Wahiba
03:44
created
Features/ProductTinyMce/functions.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,15 +6,15 @@
 block discarded – undo
6 6
     add_filter('acf/fields/wysiwyg/toolbars', function ($toolbars) {
7 7
         $toolbars['product'] = [];
8 8
         $toolbars['product'][1] = [
9
-          'bold',
10
-          'italic',
11
-          'underline',
12
-          '|',
13
-          'link',
14
-          'unlink',
15
-          '|',
16
-          'undo',
17
-          'redo',
9
+            'bold',
10
+            'italic',
11
+            'underline',
12
+            '|',
13
+            'link',
14
+            'unlink',
15
+            '|',
16
+            'undo',
17
+            'redo',
18 18
         ];
19 19
         return $toolbars;
20 20
     });
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Flynt\Features\ProductTinyMce;
4 4
 
5
-add_action('init', function () {
6
-    add_filter('acf/fields/wysiwyg/toolbars', function ($toolbars) {
5
+add_action('init', function() {
6
+    add_filter('acf/fields/wysiwyg/toolbars', function($toolbars) {
7 7
         $toolbars['product'] = [];
8 8
         $toolbars['product'][1] = [
9 9
           'bold',
Please login to merge, or discard this patch.
Features/Navigation/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Flynt\Features\Navigation;
4 4
 
5
-add_action('init', function () {
5
+add_action('init', function() {
6 6
     register_nav_menus([
7 7
         'navigation_main' => __('Navigation Main', 'flynt-theme'),
8 8
         'navigation_footer' => __('Navigation Footer', 'flynt-theme')
Please login to merge, or discard this patch.
Features/SomeProductFeature/functions.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
         $manager = AdminNoticeManager::getInstance();
10 10
         $messages = ['Please fill Some Feature Number'];
11 11
         $options = [
12
-          'type' => 'error',
13
-          'title' => 'Some Product Feature',
14
-          'dismissible' => true,
15
-          'filenames' => 'functions.php'
12
+            'type' => 'error',
13
+            'title' => 'Some Product Feature',
14
+            'dismissible' => true,
15
+            'filenames' => 'functions.php'
16 16
         ];
17 17
         $manager->addNotice($messages, $options);
18 18
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use Flynt\Features\Acf\OptionPages;
4 4
 use Flynt\Features\AdminNotices\AdminNoticeManager;
5 5
 
6
-add_action('init', function () {
6
+add_action('init', function() {
7 7
     $someFeatureNumber = OptionPages::getOption('globalOptions', 'feature', 'someProductFeature', 'someFeatureNumber');
8 8
     if (!$someFeatureNumber) {
9 9
         $manager = AdminNoticeManager::getInstance();
Please login to merge, or discard this patch.
Features/CustomTaxonomies/Translator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         if (is_array($value)) {
53 53
             // Loop through array and apply translations while keeping keys intact
54 54
             // NOTE: assuming it's a single dimensional array
55
-            return array_reduce(array_keys($value), function ($carry, $key) use ($value) {
55
+            return array_reduce(array_keys($value), function($carry, $key) use ($value) {
56 56
                 return array_merge($carry, [
57 57
                     $key => _x($value[$key], $key, 'flynt-theme')
58 58
                 ]);
Please login to merge, or discard this patch.