Completed
Pull Request — master (#141)
by Bhanu
37:51 queued 34s
created
dhtmlxSuite_v50_std/samples/dhtmlxTreeView/common/connector/tools.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -67,6 +67,10 @@
 block discarded – undo
67 67
         self::$eventsStatic[$name][] = $method;
68 68
     }
69 69
 
70
+    /**
71
+     * @param string $name
72
+     * @param Connector $method
73
+     */
70 74
     public static function trigger_static($name, $method)
71 75
     {
72 76
         $arg_list = func_get_args();
Please login to merge, or discard this patch.
dhtmlxSuite_v50_std/samples/dhtmlxTreeView/common/connector/xss_filter.php 3 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -190,6 +190,9 @@
 block discarded – undo
190 190
         die();
191 191
     }
192 192
 
193
+    /**
194
+     * @param boolean $edit
195
+     */
193 196
     public static function checkCSRF($edit)
194 197
     {
195 198
         if (self::$security_key) {
Please login to merge, or discard this patch.
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -121,19 +121,19 @@
 block discarded – undo
121 121
         if (class_exists('tidy')) {
122 122
             $tidy = new tidy();
123 123
             $tidyOptions = ['output-xhtml'                     => true,
124
-                                 'show-body-only'              => true,
125
-                                 'clean'                       => true,
126
-                                 'wrap'                        => '350',
127
-                                 'indent'                      => true,
128
-                                 'indent-spaces'               => 1,
129
-                                 'ascii-chars'                 => false,
130
-                                 'wrap-attributes'             => false,
131
-                                 'alt-text'                    => '',
132
-                                 'doctype'                     => 'loose',
133
-                                 'numeric-entities'            => true,
134
-                                 'drop-proprietary-attributes' => true,
135
-                                 'enclose-text'                => false,
136
-                                 'enclose-block-text'          => false,
124
+                                    'show-body-only'              => true,
125
+                                    'clean'                       => true,
126
+                                    'wrap'                        => '350',
127
+                                    'indent'                      => true,
128
+                                    'indent-spaces'               => 1,
129
+                                    'ascii-chars'                 => false,
130
+                                    'wrap-attributes'             => false,
131
+                                    'alt-text'                    => '',
132
+                                    'doctype'                     => 'loose',
133
+                                    'numeric-entities'            => true,
134
+                                    'drop-proprietary-attributes' => true,
135
+                                    'enclose-text'                => false,
136
+                                    'enclose-block-text'          => false,
137 137
 
138 138
             ];
139 139
             $tidy->parseString($string, $tidyOptions, 'utf8');
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
 
178 178
             return self::$filterClass->basic($value);
179 179
         }
180
-        throw new Error('Invalid security mode:' + $mode);
180
+        throw new Error('Invalid security mode:' +$mode);
181 181
     }
182 182
 
183 183
     public static function CSRF_detected()
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_mailchimp_lists_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('mailchimp_lists', function (Blueprint $table) {
15
+        Schema::create('mailchimp_lists', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->string('list_id');
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_frontend_pages_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('frontend_pages', function (Blueprint $table) {
15
+        Schema::create('frontend_pages', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('parent_page_id');
18 18
             $table->string('slug');
Please login to merge, or discard this patch.
2017_06_10_062632_add_foreign_keys_to_product_bundle_relations_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::table('product_bundle_relations', function (Blueprint $table) {
15
+        Schema::table('product_bundle_relations', function(Blueprint $table) {
16 16
             $table->foreign('bundle_id')->references('id')->on('product_bundles')->onUpdate('RESTRICT')->onDelete('RESTRICT');
17 17
             $table->foreign('product_id')->references('id')->on('products')->onUpdate('RESTRICT')->onDelete('RESTRICT');
18 18
         });
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function down()
27 27
     {
28
-        Schema::table('product_bundle_relations', function (Blueprint $table) {
28
+        Schema::table('product_bundle_relations', function(Blueprint $table) {
29 29
             $table->dropForeign('product_bundle_relations_bundle_id_foreign');
30 30
             $table->dropForeign('product_bundle_relations_product_id_foreign');
31 31
         });
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_currencies_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('currencies', function (Blueprint $table) {
15
+        Schema::create('currencies', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('code')->unique();
18 18
             $table->string('symbol');
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_company_types_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('company_types', function (Blueprint $table) {
15
+        Schema::create('company_types', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->string('short');
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_ccavenue_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('ccavenue', function (Blueprint $table) {
15
+        Schema::create('ccavenue', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('merchant_id');
18 18
             $table->string('access_code');
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_product_groups_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('product_groups', function (Blueprint $table) {
15
+        Schema::create('product_groups', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->string('headline');
Please login to merge, or discard this patch.