Completed
Push — master ( 69f1bc...444b7c )
by
unknown
02:38
created
vendor-bin/php-scoper/vendor/thecodingmachine/safe/generated/yaml.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -25,12 +25,12 @@  discard block
 block discarded – undo
25 25
  */
26 26
 function yaml_parse_file(string $filename, int $pos = 0, ?int &$ndocs = null, array $callbacks = null)
27 27
 {
28
-    error_clear_last();
29
-    $result = \yaml_parse_file($filename, $pos, $ndocs, $callbacks);
30
-    if ($result === false) {
31
-        throw YamlException::createFromPhpError();
32
-    }
33
-    return $result;
28
+	error_clear_last();
29
+	$result = \yaml_parse_file($filename, $pos, $ndocs, $callbacks);
30
+	if ($result === false) {
31
+		throw YamlException::createFromPhpError();
32
+	}
33
+	return $result;
34 34
 }
35 35
 
36 36
 
@@ -58,12 +58,12 @@  discard block
 block discarded – undo
58 58
  */
59 59
 function yaml_parse_url(string $url, int $pos = 0, ?int &$ndocs = null, array $callbacks = null)
60 60
 {
61
-    error_clear_last();
62
-    $result = \yaml_parse_url($url, $pos, $ndocs, $callbacks);
63
-    if ($result === false) {
64
-        throw YamlException::createFromPhpError();
65
-    }
66
-    return $result;
61
+	error_clear_last();
62
+	$result = \yaml_parse_url($url, $pos, $ndocs, $callbacks);
63
+	if ($result === false) {
64
+		throw YamlException::createFromPhpError();
65
+	}
66
+	return $result;
67 67
 }
68 68
 
69 69
 
@@ -88,10 +88,10 @@  discard block
 block discarded – undo
88 88
  */
89 89
 function yaml_parse(string $input, int $pos = 0, ?int &$ndocs = null, array $callbacks = null)
90 90
 {
91
-    error_clear_last();
92
-    $result = \yaml_parse($input, $pos, $ndocs, $callbacks);
93
-    if ($result === false) {
94
-        throw YamlException::createFromPhpError();
95
-    }
96
-    return $result;
91
+	error_clear_last();
92
+	$result = \yaml_parse($input, $pos, $ndocs, $callbacks);
93
+	if ($result === false) {
94
+		throw YamlException::createFromPhpError();
95
+	}
96
+	return $result;
97 97
 }
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/thecodingmachine/safe/generated/inotify.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -14,12 +14,12 @@  discard block
 block discarded – undo
14 14
  */
15 15
 function inotify_init()
16 16
 {
17
-    error_clear_last();
18
-    $result = \inotify_init();
19
-    if ($result === false) {
20
-        throw InotifyException::createFromPhpError();
21
-    }
22
-    return $result;
17
+	error_clear_last();
18
+	$result = \inotify_init();
19
+	if ($result === false) {
20
+		throw InotifyException::createFromPhpError();
21
+	}
22
+	return $result;
23 23
 }
24 24
 
25 25
 
@@ -36,9 +36,9 @@  discard block
 block discarded – undo
36 36
  */
37 37
 function inotify_rm_watch($inotify_instance, int $watch_descriptor): void
38 38
 {
39
-    error_clear_last();
40
-    $result = \inotify_rm_watch($inotify_instance, $watch_descriptor);
41
-    if ($result === false) {
42
-        throw InotifyException::createFromPhpError();
43
-    }
39
+	error_clear_last();
40
+	$result = \inotify_rm_watch($inotify_instance, $watch_descriptor);
41
+	if ($result === false) {
42
+		throw InotifyException::createFromPhpError();
43
+	}
44 44
 }
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/thecodingmachine/safe/generated/swoole.php 1 patch
Indentation   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -16,17 +16,17 @@  discard block
 block discarded – undo
16 16
  */
17 17
 function swoole_async_write(string $filename, string $content, int $offset = null, callable $callback = null): void
18 18
 {
19
-    error_clear_last();
20
-    if ($callback !== null) {
21
-        $result = \swoole_async_write($filename, $content, $offset, $callback);
22
-    } elseif ($offset !== null) {
23
-        $result = \swoole_async_write($filename, $content, $offset);
24
-    } else {
25
-        $result = \swoole_async_write($filename, $content);
26
-    }
27
-    if ($result === false) {
28
-        throw SwooleException::createFromPhpError();
29
-    }
19
+	error_clear_last();
20
+	if ($callback !== null) {
21
+		$result = \swoole_async_write($filename, $content, $offset, $callback);
22
+	} elseif ($offset !== null) {
23
+		$result = \swoole_async_write($filename, $content, $offset);
24
+	} else {
25
+		$result = \swoole_async_write($filename, $content);
26
+	}
27
+	if ($result === false) {
28
+		throw SwooleException::createFromPhpError();
29
+	}
30 30
 }
31 31
 
32 32
 
@@ -42,17 +42,17 @@  discard block
 block discarded – undo
42 42
  */
43 43
 function swoole_async_writefile(string $filename, string $content, callable $callback = null, int $flags = 0): void
44 44
 {
45
-    error_clear_last();
46
-    if ($flags !== 0) {
47
-        $result = \swoole_async_writefile($filename, $content, $callback, $flags);
48
-    } elseif ($callback !== null) {
49
-        $result = \swoole_async_writefile($filename, $content, $callback);
50
-    } else {
51
-        $result = \swoole_async_writefile($filename, $content);
52
-    }
53
-    if ($result === false) {
54
-        throw SwooleException::createFromPhpError();
55
-    }
45
+	error_clear_last();
46
+	if ($flags !== 0) {
47
+		$result = \swoole_async_writefile($filename, $content, $callback, $flags);
48
+	} elseif ($callback !== null) {
49
+		$result = \swoole_async_writefile($filename, $content, $callback);
50
+	} else {
51
+		$result = \swoole_async_writefile($filename, $content);
52
+	}
53
+	if ($result === false) {
54
+		throw SwooleException::createFromPhpError();
55
+	}
56 56
 }
57 57
 
58 58
 
@@ -65,11 +65,11 @@  discard block
 block discarded – undo
65 65
  */
66 66
 function swoole_event_defer(callable $callback): void
67 67
 {
68
-    error_clear_last();
69
-    $result = \swoole_event_defer($callback);
70
-    if ($result === false) {
71
-        throw SwooleException::createFromPhpError();
72
-    }
68
+	error_clear_last();
69
+	$result = \swoole_event_defer($callback);
70
+	if ($result === false) {
71
+		throw SwooleException::createFromPhpError();
72
+	}
73 73
 }
74 74
 
75 75
 
@@ -82,11 +82,11 @@  discard block
 block discarded – undo
82 82
  */
83 83
 function swoole_event_del(int $fd): void
84 84
 {
85
-    error_clear_last();
86
-    $result = \swoole_event_del($fd);
87
-    if ($result === false) {
88
-        throw SwooleException::createFromPhpError();
89
-    }
85
+	error_clear_last();
86
+	$result = \swoole_event_del($fd);
87
+	if ($result === false) {
88
+		throw SwooleException::createFromPhpError();
89
+	}
90 90
 }
91 91
 
92 92
 
@@ -100,9 +100,9 @@  discard block
 block discarded – undo
100 100
  */
101 101
 function swoole_event_write(int $fd, string $data): void
102 102
 {
103
-    error_clear_last();
104
-    $result = \swoole_event_write($fd, $data);
105
-    if ($result === false) {
106
-        throw SwooleException::createFromPhpError();
107
-    }
103
+	error_clear_last();
104
+	$result = \swoole_event_write($fd, $data);
105
+	if ($result === false) {
106
+		throw SwooleException::createFromPhpError();
107
+	}
108 108
 }
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/thecodingmachine/safe/generated/uodbc.php 1 patch
Indentation   +196 added lines, -196 removed lines patch added patch discarded remove patch
@@ -26,12 +26,12 @@  discard block
 block discarded – undo
26 26
  */
27 27
 function odbc_autocommit($connection_id, bool $OnOff = false)
28 28
 {
29
-    error_clear_last();
30
-    $result = \odbc_autocommit($connection_id, $OnOff);
31
-    if ($result === false) {
32
-        throw UodbcException::createFromPhpError();
33
-    }
34
-    return $result;
29
+	error_clear_last();
30
+	$result = \odbc_autocommit($connection_id, $OnOff);
31
+	if ($result === false) {
32
+		throw UodbcException::createFromPhpError();
33
+	}
34
+	return $result;
35 35
 }
36 36
 
37 37
 
@@ -136,11 +136,11 @@  discard block
 block discarded – undo
136 136
  */
137 137
 function odbc_binmode(int $result_id, int $mode): void
138 138
 {
139
-    error_clear_last();
140
-    $result = \odbc_binmode($result_id, $mode);
141
-    if ($result === false) {
142
-        throw UodbcException::createFromPhpError();
143
-    }
139
+	error_clear_last();
140
+	$result = \odbc_binmode($result_id, $mode);
141
+	if ($result === false) {
142
+		throw UodbcException::createFromPhpError();
143
+	}
144 144
 }
145 145
 
146 146
 
@@ -183,12 +183,12 @@  discard block
 block discarded – undo
183 183
  */
184 184
 function odbc_columnprivileges($connection_id, string $catalog, string $schema, string $table_name, string $column_name)
185 185
 {
186
-    error_clear_last();
187
-    $result = \odbc_columnprivileges($connection_id, $catalog, $schema, $table_name, $column_name);
188
-    if ($result === false) {
189
-        throw UodbcException::createFromPhpError();
190
-    }
191
-    return $result;
186
+	error_clear_last();
187
+	$result = \odbc_columnprivileges($connection_id, $catalog, $schema, $table_name, $column_name);
188
+	if ($result === false) {
189
+		throw UodbcException::createFromPhpError();
190
+	}
191
+	return $result;
192 192
 }
193 193
 
194 194
 
@@ -239,22 +239,22 @@  discard block
 block discarded – undo
239 239
  */
240 240
 function odbc_columns($connection_id, string $catalog = null, string $schema = null, string $table_name = null, string $column_name = null)
241 241
 {
242
-    error_clear_last();
243
-    if ($column_name !== null) {
244
-        $result = \odbc_columns($connection_id, $catalog, $schema, $table_name, $column_name);
245
-    } elseif ($table_name !== null) {
246
-        $result = \odbc_columns($connection_id, $catalog, $schema, $table_name);
247
-    } elseif ($schema !== null) {
248
-        $result = \odbc_columns($connection_id, $catalog, $schema);
249
-    } elseif ($catalog !== null) {
250
-        $result = \odbc_columns($connection_id, $catalog);
251
-    } else {
252
-        $result = \odbc_columns($connection_id);
253
-    }
254
-    if ($result === false) {
255
-        throw UodbcException::createFromPhpError();
256
-    }
257
-    return $result;
242
+	error_clear_last();
243
+	if ($column_name !== null) {
244
+		$result = \odbc_columns($connection_id, $catalog, $schema, $table_name, $column_name);
245
+	} elseif ($table_name !== null) {
246
+		$result = \odbc_columns($connection_id, $catalog, $schema, $table_name);
247
+	} elseif ($schema !== null) {
248
+		$result = \odbc_columns($connection_id, $catalog, $schema);
249
+	} elseif ($catalog !== null) {
250
+		$result = \odbc_columns($connection_id, $catalog);
251
+	} else {
252
+		$result = \odbc_columns($connection_id);
253
+	}
254
+	if ($result === false) {
255
+		throw UodbcException::createFromPhpError();
256
+	}
257
+	return $result;
258 258
 }
259 259
 
260 260
 
@@ -268,11 +268,11 @@  discard block
 block discarded – undo
268 268
  */
269 269
 function odbc_commit($connection_id): void
270 270
 {
271
-    error_clear_last();
272
-    $result = \odbc_commit($connection_id);
273
-    if ($result === false) {
274
-        throw UodbcException::createFromPhpError();
275
-    }
271
+	error_clear_last();
272
+	$result = \odbc_commit($connection_id);
273
+	if ($result === false) {
274
+		throw UodbcException::createFromPhpError();
275
+	}
276 276
 }
277 277
 
278 278
 
@@ -293,12 +293,12 @@  discard block
 block discarded – undo
293 293
  */
294 294
 function odbc_data_source($connection_id, int $fetch_type): array
295 295
 {
296
-    error_clear_last();
297
-    $result = \odbc_data_source($connection_id, $fetch_type);
298
-    if ($result === false) {
299
-        throw UodbcException::createFromPhpError();
300
-    }
301
-    return $result;
296
+	error_clear_last();
297
+	$result = \odbc_data_source($connection_id, $fetch_type);
298
+	if ($result === false) {
299
+		throw UodbcException::createFromPhpError();
300
+	}
301
+	return $result;
302 302
 }
303 303
 
304 304
 
@@ -316,16 +316,16 @@  discard block
 block discarded – undo
316 316
  */
317 317
 function odbc_exec($connection_id, string $query_string, int $flags = null)
318 318
 {
319
-    error_clear_last();
320
-    if ($flags !== null) {
321
-        $result = \odbc_exec($connection_id, $query_string, $flags);
322
-    } else {
323
-        $result = \odbc_exec($connection_id, $query_string);
324
-    }
325
-    if ($result === false) {
326
-        throw UodbcException::createFromPhpError();
327
-    }
328
-    return $result;
319
+	error_clear_last();
320
+	if ($flags !== null) {
321
+		$result = \odbc_exec($connection_id, $query_string, $flags);
322
+	} else {
323
+		$result = \odbc_exec($connection_id, $query_string);
324
+	}
325
+	if ($result === false) {
326
+		throw UodbcException::createFromPhpError();
327
+	}
328
+	return $result;
329 329
 }
330 330
 
331 331
 
@@ -347,15 +347,15 @@  discard block
 block discarded – undo
347 347
  */
348 348
 function odbc_execute($result_id, array $parameters_array = null): void
349 349
 {
350
-    error_clear_last();
351
-    if ($parameters_array !== null) {
352
-        $result = \odbc_execute($result_id, $parameters_array);
353
-    } else {
354
-        $result = \odbc_execute($result_id);
355
-    }
356
-    if ($result === false) {
357
-        throw UodbcException::createFromPhpError();
358
-    }
350
+	error_clear_last();
351
+	if ($parameters_array !== null) {
352
+		$result = \odbc_execute($result_id, $parameters_array);
353
+	} else {
354
+		$result = \odbc_execute($result_id);
355
+	}
356
+	if ($result === false) {
357
+		throw UodbcException::createFromPhpError();
358
+	}
359 359
 }
360 360
 
361 361
 
@@ -375,16 +375,16 @@  discard block
 block discarded – undo
375 375
  */
376 376
 function odbc_fetch_into($result_id, ?array &$result_array, int $rownumber = null): int
377 377
 {
378
-    error_clear_last();
379
-    if ($rownumber !== null) {
380
-        $result = \odbc_fetch_into($result_id, $result_array, $rownumber);
381
-    } else {
382
-        $result = \odbc_fetch_into($result_id, $result_array);
383
-    }
384
-    if ($result === false) {
385
-        throw UodbcException::createFromPhpError();
386
-    }
387
-    return $result;
378
+	error_clear_last();
379
+	if ($rownumber !== null) {
380
+		$result = \odbc_fetch_into($result_id, $result_array, $rownumber);
381
+	} else {
382
+		$result = \odbc_fetch_into($result_id, $result_array);
383
+	}
384
+	if ($result === false) {
385
+		throw UodbcException::createFromPhpError();
386
+	}
387
+	return $result;
388 388
 }
389 389
 
390 390
 
@@ -400,12 +400,12 @@  discard block
 block discarded – undo
400 400
  */
401 401
 function odbc_field_len($result_id, int $field_number): int
402 402
 {
403
-    error_clear_last();
404
-    $result = \odbc_field_len($result_id, $field_number);
405
-    if ($result === false) {
406
-        throw UodbcException::createFromPhpError();
407
-    }
408
-    return $result;
403
+	error_clear_last();
404
+	$result = \odbc_field_len($result_id, $field_number);
405
+	if ($result === false) {
406
+		throw UodbcException::createFromPhpError();
407
+	}
408
+	return $result;
409 409
 }
410 410
 
411 411
 
@@ -421,12 +421,12 @@  discard block
 block discarded – undo
421 421
  */
422 422
 function odbc_field_name($result_id, int $field_number): string
423 423
 {
424
-    error_clear_last();
425
-    $result = \odbc_field_name($result_id, $field_number);
426
-    if ($result === false) {
427
-        throw UodbcException::createFromPhpError();
428
-    }
429
-    return $result;
424
+	error_clear_last();
425
+	$result = \odbc_field_name($result_id, $field_number);
426
+	if ($result === false) {
427
+		throw UodbcException::createFromPhpError();
428
+	}
429
+	return $result;
430 430
 }
431 431
 
432 432
 
@@ -443,12 +443,12 @@  discard block
 block discarded – undo
443 443
  */
444 444
 function odbc_field_num($result_id, string $field_name): int
445 445
 {
446
-    error_clear_last();
447
-    $result = \odbc_field_num($result_id, $field_name);
448
-    if ($result === false) {
449
-        throw UodbcException::createFromPhpError();
450
-    }
451
-    return $result;
446
+	error_clear_last();
447
+	$result = \odbc_field_num($result_id, $field_name);
448
+	if ($result === false) {
449
+		throw UodbcException::createFromPhpError();
450
+	}
451
+	return $result;
452 452
 }
453 453
 
454 454
 
@@ -464,12 +464,12 @@  discard block
 block discarded – undo
464 464
  */
465 465
 function odbc_field_scale($result_id, int $field_number): int
466 466
 {
467
-    error_clear_last();
468
-    $result = \odbc_field_scale($result_id, $field_number);
469
-    if ($result === false) {
470
-        throw UodbcException::createFromPhpError();
471
-    }
472
-    return $result;
467
+	error_clear_last();
468
+	$result = \odbc_field_scale($result_id, $field_number);
469
+	if ($result === false) {
470
+		throw UodbcException::createFromPhpError();
471
+	}
472
+	return $result;
473 473
 }
474 474
 
475 475
 
@@ -485,12 +485,12 @@  discard block
 block discarded – undo
485 485
  */
486 486
 function odbc_field_type($result_id, int $field_number): string
487 487
 {
488
-    error_clear_last();
489
-    $result = \odbc_field_type($result_id, $field_number);
490
-    if ($result === false) {
491
-        throw UodbcException::createFromPhpError();
492
-    }
493
-    return $result;
488
+	error_clear_last();
489
+	$result = \odbc_field_type($result_id, $field_number);
490
+	if ($result === false) {
491
+		throw UodbcException::createFromPhpError();
492
+	}
493
+	return $result;
494 494
 }
495 495
 
496 496
 
@@ -532,12 +532,12 @@  discard block
 block discarded – undo
532 532
  */
533 533
 function odbc_foreignkeys($connection_id, string $pk_catalog, string $pk_schema, string $pk_table, string $fk_catalog, string $fk_schema, string $fk_table)
534 534
 {
535
-    error_clear_last();
536
-    $result = \odbc_foreignkeys($connection_id, $pk_catalog, $pk_schema, $pk_table, $fk_catalog, $fk_schema, $fk_table);
537
-    if ($result === false) {
538
-        throw UodbcException::createFromPhpError();
539
-    }
540
-    return $result;
535
+	error_clear_last();
536
+	$result = \odbc_foreignkeys($connection_id, $pk_catalog, $pk_schema, $pk_table, $fk_catalog, $fk_schema, $fk_table);
537
+	if ($result === false) {
538
+		throw UodbcException::createFromPhpError();
539
+	}
540
+	return $result;
541 541
 }
542 542
 
543 543
 
@@ -575,16 +575,16 @@  discard block
 block discarded – undo
575 575
  */
576 576
 function odbc_gettypeinfo($connection_id, int $data_type = null)
577 577
 {
578
-    error_clear_last();
579
-    if ($data_type !== null) {
580
-        $result = \odbc_gettypeinfo($connection_id, $data_type);
581
-    } else {
582
-        $result = \odbc_gettypeinfo($connection_id);
583
-    }
584
-    if ($result === false) {
585
-        throw UodbcException::createFromPhpError();
586
-    }
587
-    return $result;
578
+	error_clear_last();
579
+	if ($data_type !== null) {
580
+		$result = \odbc_gettypeinfo($connection_id, $data_type);
581
+	} else {
582
+		$result = \odbc_gettypeinfo($connection_id);
583
+	}
584
+	if ($result === false) {
585
+		throw UodbcException::createFromPhpError();
586
+	}
587
+	return $result;
588 588
 }
589 589
 
590 590
 
@@ -602,11 +602,11 @@  discard block
 block discarded – undo
602 602
  */
603 603
 function odbc_longreadlen($result_id, int $length): void
604 604
 {
605
-    error_clear_last();
606
-    $result = \odbc_longreadlen($result_id, $length);
607
-    if ($result === false) {
608
-        throw UodbcException::createFromPhpError();
609
-    }
605
+	error_clear_last();
606
+	$result = \odbc_longreadlen($result_id, $length);
607
+	if ($result === false) {
608
+		throw UodbcException::createFromPhpError();
609
+	}
610 610
 }
611 611
 
612 612
 
@@ -629,12 +629,12 @@  discard block
 block discarded – undo
629 629
  */
630 630
 function odbc_prepare($connection_id, string $query_string)
631 631
 {
632
-    error_clear_last();
633
-    $result = \odbc_prepare($connection_id, $query_string);
634
-    if ($result === false) {
635
-        throw UodbcException::createFromPhpError();
636
-    }
637
-    return $result;
632
+	error_clear_last();
633
+	$result = \odbc_prepare($connection_id, $query_string);
634
+	if ($result === false) {
635
+		throw UodbcException::createFromPhpError();
636
+	}
637
+	return $result;
638 638
 }
639 639
 
640 640
 
@@ -664,12 +664,12 @@  discard block
 block discarded – undo
664 664
  */
665 665
 function odbc_primarykeys($connection_id, string $catalog, string $schema, string $table)
666 666
 {
667
-    error_clear_last();
668
-    $result = \odbc_primarykeys($connection_id, $catalog, $schema, $table);
669
-    if ($result === false) {
670
-        throw UodbcException::createFromPhpError();
671
-    }
672
-    return $result;
667
+	error_clear_last();
668
+	$result = \odbc_primarykeys($connection_id, $catalog, $schema, $table);
669
+	if ($result === false) {
670
+		throw UodbcException::createFromPhpError();
671
+	}
672
+	return $result;
673 673
 }
674 674
 
675 675
 
@@ -689,16 +689,16 @@  discard block
 block discarded – undo
689 689
  */
690 690
 function odbc_result_all($result_id, string $format = null): int
691 691
 {
692
-    error_clear_last();
693
-    if ($format !== null) {
694
-        $result = \odbc_result_all($result_id, $format);
695
-    } else {
696
-        $result = \odbc_result_all($result_id);
697
-    }
698
-    if ($result === false) {
699
-        throw UodbcException::createFromPhpError();
700
-    }
701
-    return $result;
692
+	error_clear_last();
693
+	if ($format !== null) {
694
+		$result = \odbc_result_all($result_id, $format);
695
+	} else {
696
+		$result = \odbc_result_all($result_id);
697
+	}
698
+	if ($result === false) {
699
+		throw UodbcException::createFromPhpError();
700
+	}
701
+	return $result;
702 702
 }
703 703
 
704 704
 
@@ -716,12 +716,12 @@  discard block
 block discarded – undo
716 716
  */
717 717
 function odbc_result($result_id, $field)
718 718
 {
719
-    error_clear_last();
720
-    $result = \odbc_result($result_id, $field);
721
-    if ($result === false) {
722
-        throw UodbcException::createFromPhpError();
723
-    }
724
-    return $result;
719
+	error_clear_last();
720
+	$result = \odbc_result($result_id, $field);
721
+	if ($result === false) {
722
+		throw UodbcException::createFromPhpError();
723
+	}
724
+	return $result;
725 725
 }
726 726
 
727 727
 
@@ -735,11 +735,11 @@  discard block
 block discarded – undo
735 735
  */
736 736
 function odbc_rollback($connection_id): void
737 737
 {
738
-    error_clear_last();
739
-    $result = \odbc_rollback($connection_id);
740
-    if ($result === false) {
741
-        throw UodbcException::createFromPhpError();
742
-    }
738
+	error_clear_last();
739
+	$result = \odbc_rollback($connection_id);
740
+	if ($result === false) {
741
+		throw UodbcException::createFromPhpError();
742
+	}
743 743
 }
744 744
 
745 745
 
@@ -775,11 +775,11 @@  discard block
 block discarded – undo
775 775
  */
776 776
 function odbc_setoption($id, int $function, int $option, int $param): void
777 777
 {
778
-    error_clear_last();
779
-    $result = \odbc_setoption($id, $function, $option, $param);
780
-    if ($result === false) {
781
-        throw UodbcException::createFromPhpError();
782
-    }
778
+	error_clear_last();
779
+	$result = \odbc_setoption($id, $function, $option, $param);
780
+	if ($result === false) {
781
+		throw UodbcException::createFromPhpError();
782
+	}
783 783
 }
784 784
 
785 785
 
@@ -818,12 +818,12 @@  discard block
 block discarded – undo
818 818
  */
819 819
 function odbc_specialcolumns($connection_id, int $type, string $catalog, string $schema, string $table, int $scope, int $nullable)
820 820
 {
821
-    error_clear_last();
822
-    $result = \odbc_specialcolumns($connection_id, $type, $catalog, $schema, $table, $scope, $nullable);
823
-    if ($result === false) {
824
-        throw UodbcException::createFromPhpError();
825
-    }
826
-    return $result;
821
+	error_clear_last();
822
+	$result = \odbc_specialcolumns($connection_id, $type, $catalog, $schema, $table, $scope, $nullable);
823
+	if ($result === false) {
824
+		throw UodbcException::createFromPhpError();
825
+	}
826
+	return $result;
827 827
 }
828 828
 
829 829
 
@@ -864,12 +864,12 @@  discard block
 block discarded – undo
864 864
  */
865 865
 function odbc_statistics($connection_id, string $catalog, string $schema, string $table_name, int $unique, int $accuracy)
866 866
 {
867
-    error_clear_last();
868
-    $result = \odbc_statistics($connection_id, $catalog, $schema, $table_name, $unique, $accuracy);
869
-    if ($result === false) {
870
-        throw UodbcException::createFromPhpError();
871
-    }
872
-    return $result;
867
+	error_clear_last();
868
+	$result = \odbc_statistics($connection_id, $catalog, $schema, $table_name, $unique, $accuracy);
869
+	if ($result === false) {
870
+		throw UodbcException::createFromPhpError();
871
+	}
872
+	return $result;
873 873
 }
874 874
 
875 875
 
@@ -906,12 +906,12 @@  discard block
 block discarded – undo
906 906
  */
907 907
 function odbc_tableprivileges($connection_id, string $catalog, string $schema, string $name)
908 908
 {
909
-    error_clear_last();
910
-    $result = \odbc_tableprivileges($connection_id, $catalog, $schema, $name);
911
-    if ($result === false) {
912
-        throw UodbcException::createFromPhpError();
913
-    }
914
-    return $result;
909
+	error_clear_last();
910
+	$result = \odbc_tableprivileges($connection_id, $catalog, $schema, $name);
911
+	if ($result === false) {
912
+		throw UodbcException::createFromPhpError();
913
+	}
914
+	return $result;
915 915
 }
916 916
 
917 917
 
@@ -990,20 +990,20 @@  discard block
 block discarded – undo
990 990
  */
991 991
 function odbc_tables($connection_id, string $catalog = null, string $schema = null, string $name = null, string $types = null)
992 992
 {
993
-    error_clear_last();
994
-    if ($types !== null) {
995
-        $result = \odbc_tables($connection_id, $catalog, $schema, $name, $types);
996
-    } elseif ($name !== null) {
997
-        $result = \odbc_tables($connection_id, $catalog, $schema, $name);
998
-    } elseif ($schema !== null) {
999
-        $result = \odbc_tables($connection_id, $catalog, $schema);
1000
-    } elseif ($catalog !== null) {
1001
-        $result = \odbc_tables($connection_id, $catalog);
1002
-    } else {
1003
-        $result = \odbc_tables($connection_id);
1004
-    }
1005
-    if ($result === false) {
1006
-        throw UodbcException::createFromPhpError();
1007
-    }
1008
-    return $result;
993
+	error_clear_last();
994
+	if ($types !== null) {
995
+		$result = \odbc_tables($connection_id, $catalog, $schema, $name, $types);
996
+	} elseif ($name !== null) {
997
+		$result = \odbc_tables($connection_id, $catalog, $schema, $name);
998
+	} elseif ($schema !== null) {
999
+		$result = \odbc_tables($connection_id, $catalog, $schema);
1000
+	} elseif ($catalog !== null) {
1001
+		$result = \odbc_tables($connection_id, $catalog);
1002
+	} else {
1003
+		$result = \odbc_tables($connection_id);
1004
+	}
1005
+	if ($result === false) {
1006
+		throw UodbcException::createFromPhpError();
1007
+	}
1008
+	return $result;
1009 1009
 }
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/thecodingmachine/safe/generated/gnupg.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@  discard block
 block discarded – undo
16 16
  */
17 17
 function gnupg_adddecryptkey($identifier, string $fingerprint, string $passphrase): void
18 18
 {
19
-    error_clear_last();
20
-    $result = \gnupg_adddecryptkey($identifier, $fingerprint, $passphrase);
21
-    if ($result === false) {
22
-        throw GnupgException::createFromPhpError();
23
-    }
19
+	error_clear_last();
20
+	$result = \gnupg_adddecryptkey($identifier, $fingerprint, $passphrase);
21
+	if ($result === false) {
22
+		throw GnupgException::createFromPhpError();
23
+	}
24 24
 }
25 25
 
26 26
 
@@ -35,11 +35,11 @@  discard block
 block discarded – undo
35 35
  */
36 36
 function gnupg_addencryptkey($identifier, string $fingerprint): void
37 37
 {
38
-    error_clear_last();
39
-    $result = \gnupg_addencryptkey($identifier, $fingerprint);
40
-    if ($result === false) {
41
-        throw GnupgException::createFromPhpError();
42
-    }
38
+	error_clear_last();
39
+	$result = \gnupg_addencryptkey($identifier, $fingerprint);
40
+	if ($result === false) {
41
+		throw GnupgException::createFromPhpError();
42
+	}
43 43
 }
44 44
 
45 45
 
@@ -55,15 +55,15 @@  discard block
 block discarded – undo
55 55
  */
56 56
 function gnupg_addsignkey($identifier, string $fingerprint, string $passphrase = null): void
57 57
 {
58
-    error_clear_last();
59
-    if ($passphrase !== null) {
60
-        $result = \gnupg_addsignkey($identifier, $fingerprint, $passphrase);
61
-    } else {
62
-        $result = \gnupg_addsignkey($identifier, $fingerprint);
63
-    }
64
-    if ($result === false) {
65
-        throw GnupgException::createFromPhpError();
66
-    }
58
+	error_clear_last();
59
+	if ($passphrase !== null) {
60
+		$result = \gnupg_addsignkey($identifier, $fingerprint, $passphrase);
61
+	} else {
62
+		$result = \gnupg_addsignkey($identifier, $fingerprint);
63
+	}
64
+	if ($result === false) {
65
+		throw GnupgException::createFromPhpError();
66
+	}
67 67
 }
68 68
 
69 69
 
@@ -77,11 +77,11 @@  discard block
 block discarded – undo
77 77
  */
78 78
 function gnupg_cleardecryptkeys($identifier): void
79 79
 {
80
-    error_clear_last();
81
-    $result = \gnupg_cleardecryptkeys($identifier);
82
-    if ($result === false) {
83
-        throw GnupgException::createFromPhpError();
84
-    }
80
+	error_clear_last();
81
+	$result = \gnupg_cleardecryptkeys($identifier);
82
+	if ($result === false) {
83
+		throw GnupgException::createFromPhpError();
84
+	}
85 85
 }
86 86
 
87 87
 
@@ -95,11 +95,11 @@  discard block
 block discarded – undo
95 95
  */
96 96
 function gnupg_clearencryptkeys($identifier): void
97 97
 {
98
-    error_clear_last();
99
-    $result = \gnupg_clearencryptkeys($identifier);
100
-    if ($result === false) {
101
-        throw GnupgException::createFromPhpError();
102
-    }
98
+	error_clear_last();
99
+	$result = \gnupg_clearencryptkeys($identifier);
100
+	if ($result === false) {
101
+		throw GnupgException::createFromPhpError();
102
+	}
103 103
 }
104 104
 
105 105
 
@@ -113,11 +113,11 @@  discard block
 block discarded – undo
113 113
  */
114 114
 function gnupg_clearsignkeys($identifier): void
115 115
 {
116
-    error_clear_last();
117
-    $result = \gnupg_clearsignkeys($identifier);
118
-    if ($result === false) {
119
-        throw GnupgException::createFromPhpError();
120
-    }
116
+	error_clear_last();
117
+	$result = \gnupg_clearsignkeys($identifier);
118
+	if ($result === false) {
119
+		throw GnupgException::createFromPhpError();
120
+	}
121 121
 }
122 122
 
123 123
 
@@ -134,11 +134,11 @@  discard block
 block discarded – undo
134 134
  */
135 135
 function gnupg_setarmor($identifier, int $armor): void
136 136
 {
137
-    error_clear_last();
138
-    $result = \gnupg_setarmor($identifier, $armor);
139
-    if ($result === false) {
140
-        throw GnupgException::createFromPhpError();
141
-    }
137
+	error_clear_last();
138
+	$result = \gnupg_setarmor($identifier, $armor);
139
+	if ($result === false) {
140
+		throw GnupgException::createFromPhpError();
141
+	}
142 142
 }
143 143
 
144 144
 
@@ -160,9 +160,9 @@  discard block
 block discarded – undo
160 160
  */
161 161
 function gnupg_setsignmode($identifier, int $signmode): void
162 162
 {
163
-    error_clear_last();
164
-    $result = \gnupg_setsignmode($identifier, $signmode);
165
-    if ($result === false) {
166
-        throw GnupgException::createFromPhpError();
167
-    }
163
+	error_clear_last();
164
+	$result = \gnupg_setsignmode($identifier, $signmode);
165
+	if ($result === false) {
166
+		throw GnupgException::createFromPhpError();
167
+	}
168 168
 }
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/thecodingmachine/safe/generated/sem.php 1 patch
Indentation   +61 added lines, -61 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@  discard block
 block discarded – undo
13 13
  */
14 14
 function msg_queue_exists(int $key): void
15 15
 {
16
-    error_clear_last();
17
-    $result = \msg_queue_exists($key);
18
-    if ($result === false) {
19
-        throw SemException::createFromPhpError();
20
-    }
16
+	error_clear_last();
17
+	$result = \msg_queue_exists($key);
18
+	if ($result === false) {
19
+		throw SemException::createFromPhpError();
20
+	}
21 21
 }
22 22
 
23 23
 
@@ -94,11 +94,11 @@  discard block
 block discarded – undo
94 94
  */
95 95
 function msg_receive($queue, int $desiredmsgtype, ?int &$msgtype, int $maxsize, &$message, bool $unserialize = true, int $flags = 0, ?int &$errorcode = null): void
96 96
 {
97
-    error_clear_last();
98
-    $result = \msg_receive($queue, $desiredmsgtype, $msgtype, $maxsize, $message, $unserialize, $flags, $errorcode);
99
-    if ($result === false) {
100
-        throw SemException::createFromPhpError();
101
-    }
97
+	error_clear_last();
98
+	$result = \msg_receive($queue, $desiredmsgtype, $msgtype, $maxsize, $message, $unserialize, $flags, $errorcode);
99
+	if ($result === false) {
100
+		throw SemException::createFromPhpError();
101
+	}
102 102
 }
103 103
 
104 104
 
@@ -114,11 +114,11 @@  discard block
 block discarded – undo
114 114
  */
115 115
 function msg_remove_queue($queue): void
116 116
 {
117
-    error_clear_last();
118
-    $result = \msg_remove_queue($queue);
119
-    if ($result === false) {
120
-        throw SemException::createFromPhpError();
121
-    }
117
+	error_clear_last();
118
+	$result = \msg_remove_queue($queue);
119
+	if ($result === false) {
120
+		throw SemException::createFromPhpError();
121
+	}
122 122
 }
123 123
 
124 124
 
@@ -157,11 +157,11 @@  discard block
 block discarded – undo
157 157
  */
158 158
 function msg_send($queue, int $msgtype, $message, bool $serialize = true, bool $blocking = true, ?int &$errorcode = null): void
159 159
 {
160
-    error_clear_last();
161
-    $result = \msg_send($queue, $msgtype, $message, $serialize, $blocking, $errorcode);
162
-    if ($result === false) {
163
-        throw SemException::createFromPhpError();
164
-    }
160
+	error_clear_last();
161
+	$result = \msg_send($queue, $msgtype, $message, $serialize, $blocking, $errorcode);
162
+	if ($result === false) {
163
+		throw SemException::createFromPhpError();
164
+	}
165 165
 }
166 166
 
167 167
 
@@ -184,11 +184,11 @@  discard block
 block discarded – undo
184 184
  */
185 185
 function msg_set_queue($queue, array $data): void
186 186
 {
187
-    error_clear_last();
188
-    $result = \msg_set_queue($queue, $data);
189
-    if ($result === false) {
190
-        throw SemException::createFromPhpError();
191
-    }
187
+	error_clear_last();
188
+	$result = \msg_set_queue($queue, $data);
189
+	if ($result === false) {
190
+		throw SemException::createFromPhpError();
191
+	}
192 192
 }
193 193
 
194 194
 
@@ -213,11 +213,11 @@  discard block
 block discarded – undo
213 213
  */
214 214
 function sem_acquire($sem_identifier, bool $nowait = false): void
215 215
 {
216
-    error_clear_last();
217
-    $result = \sem_acquire($sem_identifier, $nowait);
218
-    if ($result === false) {
219
-        throw SemException::createFromPhpError();
220
-    }
216
+	error_clear_last();
217
+	$result = \sem_acquire($sem_identifier, $nowait);
218
+	if ($result === false) {
219
+		throw SemException::createFromPhpError();
220
+	}
221 221
 }
222 222
 
223 223
 
@@ -246,12 +246,12 @@  discard block
 block discarded – undo
246 246
  */
247 247
 function sem_get(int $key, int $max_acquire = 1, int $perm = 0666, int $auto_release = 1)
248 248
 {
249
-    error_clear_last();
250
-    $result = \sem_get($key, $max_acquire, $perm, $auto_release);
251
-    if ($result === false) {
252
-        throw SemException::createFromPhpError();
253
-    }
254
-    return $result;
249
+	error_clear_last();
250
+	$result = \sem_get($key, $max_acquire, $perm, $auto_release);
251
+	if ($result === false) {
252
+		throw SemException::createFromPhpError();
253
+	}
254
+	return $result;
255 255
 }
256 256
 
257 257
 
@@ -270,11 +270,11 @@  discard block
 block discarded – undo
270 270
  */
271 271
 function sem_release($sem_identifier): void
272 272
 {
273
-    error_clear_last();
274
-    $result = \sem_release($sem_identifier);
275
-    if ($result === false) {
276
-        throw SemException::createFromPhpError();
277
-    }
273
+	error_clear_last();
274
+	$result = \sem_release($sem_identifier);
275
+	if ($result === false) {
276
+		throw SemException::createFromPhpError();
277
+	}
278 278
 }
279 279
 
280 280
 
@@ -290,11 +290,11 @@  discard block
 block discarded – undo
290 290
  */
291 291
 function sem_remove($sem_identifier): void
292 292
 {
293
-    error_clear_last();
294
-    $result = \sem_remove($sem_identifier);
295
-    if ($result === false) {
296
-        throw SemException::createFromPhpError();
297
-    }
293
+	error_clear_last();
294
+	$result = \sem_remove($sem_identifier);
295
+	if ($result === false) {
296
+		throw SemException::createFromPhpError();
297
+	}
298 298
 }
299 299
 
300 300
 
@@ -320,11 +320,11 @@  discard block
 block discarded – undo
320 320
  */
321 321
 function shm_put_var($shm_identifier, int $variable_key, $variable): void
322 322
 {
323
-    error_clear_last();
324
-    $result = \shm_put_var($shm_identifier, $variable_key, $variable);
325
-    if ($result === false) {
326
-        throw SemException::createFromPhpError();
327
-    }
323
+	error_clear_last();
324
+	$result = \shm_put_var($shm_identifier, $variable_key, $variable);
325
+	if ($result === false) {
326
+		throw SemException::createFromPhpError();
327
+	}
328 328
 }
329 329
 
330 330
 
@@ -340,11 +340,11 @@  discard block
 block discarded – undo
340 340
  */
341 341
 function shm_remove_var($shm_identifier, int $variable_key): void
342 342
 {
343
-    error_clear_last();
344
-    $result = \shm_remove_var($shm_identifier, $variable_key);
345
-    if ($result === false) {
346
-        throw SemException::createFromPhpError();
347
-    }
343
+	error_clear_last();
344
+	$result = \shm_remove_var($shm_identifier, $variable_key);
345
+	if ($result === false) {
346
+		throw SemException::createFromPhpError();
347
+	}
348 348
 }
349 349
 
350 350
 
@@ -359,9 +359,9 @@  discard block
 block discarded – undo
359 359
  */
360 360
 function shm_remove($shm_identifier): void
361 361
 {
362
-    error_clear_last();
363
-    $result = \shm_remove($shm_identifier);
364
-    if ($result === false) {
365
-        throw SemException::createFromPhpError();
366
-    }
362
+	error_clear_last();
363
+	$result = \shm_remove($shm_identifier);
364
+	if ($result === false) {
365
+		throw SemException::createFromPhpError();
366
+	}
367 367
 }
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/thecodingmachine/safe/generated/zlib.php 1 patch
Indentation   +128 added lines, -128 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@  discard block
 block discarded – undo
24 24
  */
25 25
 function deflate_add($context, string $data, int $flush_mode = ZLIB_SYNC_FLUSH): string
26 26
 {
27
-    error_clear_last();
28
-    $result = \deflate_add($context, $data, $flush_mode);
29
-    if ($result === false) {
30
-        throw ZlibException::createFromPhpError();
31
-    }
32
-    return $result;
27
+	error_clear_last();
28
+	$result = \deflate_add($context, $data, $flush_mode);
29
+	if ($result === false) {
30
+		throw ZlibException::createFromPhpError();
31
+	}
32
+	return $result;
33 33
 }
34 34
 
35 35
 
@@ -117,12 +117,12 @@  discard block
 block discarded – undo
117 117
  */
118 118
 function deflate_init(int $encoding, array $options = null)
119 119
 {
120
-    error_clear_last();
121
-    $result = \deflate_init($encoding, $options);
122
-    if ($result === false) {
123
-        throw ZlibException::createFromPhpError();
124
-    }
125
-    return $result;
120
+	error_clear_last();
121
+	$result = \deflate_init($encoding, $options);
122
+	if ($result === false) {
123
+		throw ZlibException::createFromPhpError();
124
+	}
125
+	return $result;
126 126
 }
127 127
 
128 128
 
@@ -136,11 +136,11 @@  discard block
 block discarded – undo
136 136
  */
137 137
 function gzclose($zp): void
138 138
 {
139
-    error_clear_last();
140
-    $result = \gzclose($zp);
141
-    if ($result === false) {
142
-        throw ZlibException::createFromPhpError();
143
-    }
139
+	error_clear_last();
140
+	$result = \gzclose($zp);
141
+	if ($result === false) {
142
+		throw ZlibException::createFromPhpError();
143
+	}
144 144
 }
145 145
 
146 146
 
@@ -164,12 +164,12 @@  discard block
 block discarded – undo
164 164
  */
165 165
 function gzcompress(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_DEFLATE): string
166 166
 {
167
-    error_clear_last();
168
-    $result = \gzcompress($data, $level, $encoding);
169
-    if ($result === false) {
170
-        throw ZlibException::createFromPhpError();
171
-    }
172
-    return $result;
167
+	error_clear_last();
168
+	$result = \gzcompress($data, $level, $encoding);
169
+	if ($result === false) {
170
+		throw ZlibException::createFromPhpError();
171
+	}
172
+	return $result;
173 173
 }
174 174
 
175 175
 
@@ -185,16 +185,16 @@  discard block
 block discarded – undo
185 185
  */
186 186
 function gzdecode(string $data, int $length = null): string
187 187
 {
188
-    error_clear_last();
189
-    if ($length !== null) {
190
-        $result = \gzdecode($data, $length);
191
-    } else {
192
-        $result = \gzdecode($data);
193
-    }
194
-    if ($result === false) {
195
-        throw ZlibException::createFromPhpError();
196
-    }
197
-    return $result;
188
+	error_clear_last();
189
+	if ($length !== null) {
190
+		$result = \gzdecode($data, $length);
191
+	} else {
192
+		$result = \gzdecode($data);
193
+	}
194
+	if ($result === false) {
195
+		throw ZlibException::createFromPhpError();
196
+	}
197
+	return $result;
198 198
 }
199 199
 
200 200
 
@@ -217,12 +217,12 @@  discard block
 block discarded – undo
217 217
  */
218 218
 function gzdeflate(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_RAW): string
219 219
 {
220
-    error_clear_last();
221
-    $result = \gzdeflate($data, $level, $encoding);
222
-    if ($result === false) {
223
-        throw ZlibException::createFromPhpError();
224
-    }
225
-    return $result;
220
+	error_clear_last();
221
+	$result = \gzdeflate($data, $level, $encoding);
222
+	if ($result === false) {
223
+		throw ZlibException::createFromPhpError();
224
+	}
225
+	return $result;
226 226
 }
227 227
 
228 228
 
@@ -255,12 +255,12 @@  discard block
 block discarded – undo
255 255
  */
256 256
 function gzencode(string $data, int $level = -1, int $encoding_mode = FORCE_GZIP): string
257 257
 {
258
-    error_clear_last();
259
-    $result = \gzencode($data, $level, $encoding_mode);
260
-    if ($result === false) {
261
-        throw ZlibException::createFromPhpError();
262
-    }
263
-    return $result;
258
+	error_clear_last();
259
+	$result = \gzencode($data, $level, $encoding_mode);
260
+	if ($result === false) {
261
+		throw ZlibException::createFromPhpError();
262
+	}
263
+	return $result;
264 264
 }
265 265
 
266 266
 
@@ -278,16 +278,16 @@  discard block
 block discarded – undo
278 278
  */
279 279
 function gzgets($zp, int $length = null): string
280 280
 {
281
-    error_clear_last();
282
-    if ($length !== null) {
283
-        $result = \gzgets($zp, $length);
284
-    } else {
285
-        $result = \gzgets($zp);
286
-    }
287
-    if ($result === false) {
288
-        throw ZlibException::createFromPhpError();
289
-    }
290
-    return $result;
281
+	error_clear_last();
282
+	if ($length !== null) {
283
+		$result = \gzgets($zp, $length);
284
+	} else {
285
+		$result = \gzgets($zp);
286
+	}
287
+	if ($result === false) {
288
+		throw ZlibException::createFromPhpError();
289
+	}
290
+	return $result;
291 291
 }
292 292
 
293 293
 
@@ -307,16 +307,16 @@  discard block
 block discarded – undo
307 307
  */
308 308
 function gzgetss($zp, int $length, string $allowable_tags = null): string
309 309
 {
310
-    error_clear_last();
311
-    if ($allowable_tags !== null) {
312
-        $result = \gzgetss($zp, $length, $allowable_tags);
313
-    } else {
314
-        $result = \gzgetss($zp, $length);
315
-    }
316
-    if ($result === false) {
317
-        throw ZlibException::createFromPhpError();
318
-    }
319
-    return $result;
310
+	error_clear_last();
311
+	if ($allowable_tags !== null) {
312
+		$result = \gzgetss($zp, $length, $allowable_tags);
313
+	} else {
314
+		$result = \gzgetss($zp, $length);
315
+	}
316
+	if ($result === false) {
317
+		throw ZlibException::createFromPhpError();
318
+	}
319
+	return $result;
320 320
 }
321 321
 
322 322
 
@@ -335,12 +335,12 @@  discard block
 block discarded – undo
335 335
  */
336 336
 function gzinflate(string $data, int $length = 0): string
337 337
 {
338
-    error_clear_last();
339
-    $result = \gzinflate($data, $length);
340
-    if ($result === false) {
341
-        throw ZlibException::createFromPhpError();
342
-    }
343
-    return $result;
338
+	error_clear_last();
339
+	$result = \gzinflate($data, $length);
340
+	if ($result === false) {
341
+		throw ZlibException::createFromPhpError();
342
+	}
343
+	return $result;
344 344
 }
345 345
 
346 346
 
@@ -357,12 +357,12 @@  discard block
 block discarded – undo
357 357
  */
358 358
 function gzpassthru($zp): int
359 359
 {
360
-    error_clear_last();
361
-    $result = \gzpassthru($zp);
362
-    if ($result === false) {
363
-        throw ZlibException::createFromPhpError();
364
-    }
365
-    return $result;
360
+	error_clear_last();
361
+	$result = \gzpassthru($zp);
362
+	if ($result === false) {
363
+		throw ZlibException::createFromPhpError();
364
+	}
365
+	return $result;
366 366
 }
367 367
 
368 368
 
@@ -377,11 +377,11 @@  discard block
 block discarded – undo
377 377
  */
378 378
 function gzrewind($zp): void
379 379
 {
380
-    error_clear_last();
381
-    $result = \gzrewind($zp);
382
-    if ($result === false) {
383
-        throw ZlibException::createFromPhpError();
384
-    }
380
+	error_clear_last();
381
+	$result = \gzrewind($zp);
382
+	if ($result === false) {
383
+		throw ZlibException::createFromPhpError();
384
+	}
385 385
 }
386 386
 
387 387
 
@@ -400,12 +400,12 @@  discard block
 block discarded – undo
400 400
  */
401 401
 function gzuncompress(string $data, int $length = 0): string
402 402
 {
403
-    error_clear_last();
404
-    $result = \gzuncompress($data, $length);
405
-    if ($result === false) {
406
-        throw ZlibException::createFromPhpError();
407
-    }
408
-    return $result;
403
+	error_clear_last();
404
+	$result = \gzuncompress($data, $length);
405
+	if ($result === false) {
406
+		throw ZlibException::createFromPhpError();
407
+	}
408
+	return $result;
409 409
 }
410 410
 
411 411
 
@@ -419,12 +419,12 @@  discard block
 block discarded – undo
419 419
  */
420 420
 function inflate_get_read_len($resource): int
421 421
 {
422
-    error_clear_last();
423
-    $result = \inflate_get_read_len($resource);
424
-    if ($result === false) {
425
-        throw ZlibException::createFromPhpError();
426
-    }
427
-    return $result;
422
+	error_clear_last();
423
+	$result = \inflate_get_read_len($resource);
424
+	if ($result === false) {
425
+		throw ZlibException::createFromPhpError();
426
+	}
427
+	return $result;
428 428
 }
429 429
 
430 430
 
@@ -438,12 +438,12 @@  discard block
 block discarded – undo
438 438
  */
439 439
 function inflate_get_status($resource): int
440 440
 {
441
-    error_clear_last();
442
-    $result = \inflate_get_status($resource);
443
-    if ($result === false) {
444
-        throw ZlibException::createFromPhpError();
445
-    }
446
-    return $result;
441
+	error_clear_last();
442
+	$result = \inflate_get_status($resource);
443
+	if ($result === false) {
444
+		throw ZlibException::createFromPhpError();
445
+	}
446
+	return $result;
447 447
 }
448 448
 
449 449
 
@@ -470,12 +470,12 @@  discard block
 block discarded – undo
470 470
  */
471 471
 function inflate_add($context, string $encoded_data, int $flush_mode = ZLIB_SYNC_FLUSH): string
472 472
 {
473
-    error_clear_last();
474
-    $result = \inflate_add($context, $encoded_data, $flush_mode);
475
-    if ($result === false) {
476
-        throw ZlibException::createFromPhpError();
477
-    }
478
-    return $result;
473
+	error_clear_last();
474
+	$result = \inflate_add($context, $encoded_data, $flush_mode);
475
+	if ($result === false) {
476
+		throw ZlibException::createFromPhpError();
477
+	}
478
+	return $result;
479 479
 }
480 480
 
481 481
 
@@ -552,12 +552,12 @@  discard block
 block discarded – undo
552 552
  */
553 553
 function inflate_init(int $encoding, array $options = null)
554 554
 {
555
-    error_clear_last();
556
-    $result = \inflate_init($encoding, $options);
557
-    if ($result === false) {
558
-        throw ZlibException::createFromPhpError();
559
-    }
560
-    return $result;
555
+	error_clear_last();
556
+	$result = \inflate_init($encoding, $options);
557
+	if ($result === false) {
558
+		throw ZlibException::createFromPhpError();
559
+	}
560
+	return $result;
561 561
 }
562 562
 
563 563
 
@@ -578,12 +578,12 @@  discard block
 block discarded – undo
578 578
  */
579 579
 function readgzfile(string $filename, int $use_include_path = 0): int
580 580
 {
581
-    error_clear_last();
582
-    $result = \readgzfile($filename, $use_include_path);
583
-    if ($result === false) {
584
-        throw ZlibException::createFromPhpError();
585
-    }
586
-    return $result;
581
+	error_clear_last();
582
+	$result = \readgzfile($filename, $use_include_path);
583
+	if ($result === false) {
584
+		throw ZlibException::createFromPhpError();
585
+	}
586
+	return $result;
587 587
 }
588 588
 
589 589
 
@@ -598,14 +598,14 @@  discard block
 block discarded – undo
598 598
  */
599 599
 function zlib_decode(string $data, int $max_decoded_len = null): string
600 600
 {
601
-    error_clear_last();
602
-    if ($max_decoded_len !== null) {
603
-        $result = \zlib_decode($data, $max_decoded_len);
604
-    } else {
605
-        $result = \zlib_decode($data);
606
-    }
607
-    if ($result === false) {
608
-        throw ZlibException::createFromPhpError();
609
-    }
610
-    return $result;
601
+	error_clear_last();
602
+	if ($max_decoded_len !== null) {
603
+		$result = \zlib_decode($data, $max_decoded_len);
604
+	} else {
605
+		$result = \zlib_decode($data);
606
+	}
607
+	if ($result === false) {
608
+		throw ZlibException::createFromPhpError();
609
+	}
610
+	return $result;
611 611
 }
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/thecodingmachine/safe/generated/password.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -113,14 +113,14 @@
 block discarded – undo
113 113
  */
114 114
 function password_hash(string $password, $algo, array $options = null): string
115 115
 {
116
-    error_clear_last();
117
-    if ($options !== null) {
118
-        $result = \password_hash($password, $algo, $options);
119
-    } else {
120
-        $result = \password_hash($password, $algo);
121
-    }
122
-    if ($result === false) {
123
-        throw PasswordException::createFromPhpError();
124
-    }
125
-    return $result;
116
+	error_clear_last();
117
+	if ($options !== null) {
118
+		$result = \password_hash($password, $algo, $options);
119
+	} else {
120
+		$result = \password_hash($password, $algo);
121
+	}
122
+	if ($result === false) {
123
+		throw PasswordException::createFromPhpError();
124
+	}
125
+	return $result;
126 126
 }
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/thecodingmachine/safe/generated/ps.php 1 patch
Indentation   +340 added lines, -340 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@  discard block
 block discarded – undo
27 27
  */
28 28
 function ps_add_launchlink($psdoc, float $llx, float $lly, float $urx, float $ury, string $filename): void
29 29
 {
30
-    error_clear_last();
31
-    $result = \ps_add_launchlink($psdoc, $llx, $lly, $urx, $ury, $filename);
32
-    if ($result === false) {
33
-        throw PsException::createFromPhpError();
34
-    }
30
+	error_clear_last();
31
+	$result = \ps_add_launchlink($psdoc, $llx, $lly, $urx, $ury, $filename);
32
+	if ($result === false) {
33
+		throw PsException::createFromPhpError();
34
+	}
35 35
 }
36 36
 
37 37
 
@@ -65,11 +65,11 @@  discard block
 block discarded – undo
65 65
  */
66 66
 function ps_add_locallink($psdoc, float $llx, float $lly, float $urx, float $ury, int $page, string $dest): void
67 67
 {
68
-    error_clear_last();
69
-    $result = \ps_add_locallink($psdoc, $llx, $lly, $urx, $ury, $page, $dest);
70
-    if ($result === false) {
71
-        throw PsException::createFromPhpError();
72
-    }
68
+	error_clear_last();
69
+	$result = \ps_add_locallink($psdoc, $llx, $lly, $urx, $ury, $page, $dest);
70
+	if ($result === false) {
71
+		throw PsException::createFromPhpError();
72
+	}
73 73
 }
74 74
 
75 75
 
@@ -104,11 +104,11 @@  discard block
 block discarded – undo
104 104
  */
105 105
 function ps_add_note($psdoc, float $llx, float $lly, float $urx, float $ury, string $contents, string $title, string $icon, int $open): void
106 106
 {
107
-    error_clear_last();
108
-    $result = \ps_add_note($psdoc, $llx, $lly, $urx, $ury, $contents, $title, $icon, $open);
109
-    if ($result === false) {
110
-        throw PsException::createFromPhpError();
111
-    }
107
+	error_clear_last();
108
+	$result = \ps_add_note($psdoc, $llx, $lly, $urx, $ury, $contents, $title, $icon, $open);
109
+	if ($result === false) {
110
+		throw PsException::createFromPhpError();
111
+	}
112 112
 }
113 113
 
114 114
 
@@ -144,11 +144,11 @@  discard block
 block discarded – undo
144 144
  */
145 145
 function ps_add_pdflink($psdoc, float $llx, float $lly, float $urx, float $ury, string $filename, int $page, string $dest): void
146 146
 {
147
-    error_clear_last();
148
-    $result = \ps_add_pdflink($psdoc, $llx, $lly, $urx, $ury, $filename, $page, $dest);
149
-    if ($result === false) {
150
-        throw PsException::createFromPhpError();
151
-    }
147
+	error_clear_last();
148
+	$result = \ps_add_pdflink($psdoc, $llx, $lly, $urx, $ury, $filename, $page, $dest);
149
+	if ($result === false) {
150
+		throw PsException::createFromPhpError();
151
+	}
152 152
 }
153 153
 
154 154
 
@@ -177,11 +177,11 @@  discard block
 block discarded – undo
177 177
  */
178 178
 function ps_add_weblink($psdoc, float $llx, float $lly, float $urx, float $ury, string $url): void
179 179
 {
180
-    error_clear_last();
181
-    $result = \ps_add_weblink($psdoc, $llx, $lly, $urx, $ury, $url);
182
-    if ($result === false) {
183
-        throw PsException::createFromPhpError();
184
-    }
180
+	error_clear_last();
181
+	$result = \ps_add_weblink($psdoc, $llx, $lly, $urx, $ury, $url);
182
+	if ($result === false) {
183
+		throw PsException::createFromPhpError();
184
+	}
185 185
 }
186 186
 
187 187
 
@@ -206,11 +206,11 @@  discard block
 block discarded – undo
206 206
  */
207 207
 function ps_arc($psdoc, float $x, float $y, float $radius, float $alpha, float $beta): void
208 208
 {
209
-    error_clear_last();
210
-    $result = \ps_arc($psdoc, $x, $y, $radius, $alpha, $beta);
211
-    if ($result === false) {
212
-        throw PsException::createFromPhpError();
213
-    }
209
+	error_clear_last();
210
+	$result = \ps_arc($psdoc, $x, $y, $radius, $alpha, $beta);
211
+	if ($result === false) {
212
+		throw PsException::createFromPhpError();
213
+	}
214 214
 }
215 215
 
216 216
 
@@ -235,11 +235,11 @@  discard block
 block discarded – undo
235 235
  */
236 236
 function ps_arcn($psdoc, float $x, float $y, float $radius, float $alpha, float $beta): void
237 237
 {
238
-    error_clear_last();
239
-    $result = \ps_arcn($psdoc, $x, $y, $radius, $alpha, $beta);
240
-    if ($result === false) {
241
-        throw PsException::createFromPhpError();
242
-    }
238
+	error_clear_last();
239
+	$result = \ps_arcn($psdoc, $x, $y, $radius, $alpha, $beta);
240
+	if ($result === false) {
241
+		throw PsException::createFromPhpError();
242
+	}
243 243
 }
244 244
 
245 245
 
@@ -286,11 +286,11 @@  discard block
 block discarded – undo
286 286
  */
287 287
 function ps_begin_page($psdoc, float $width, float $height): void
288 288
 {
289
-    error_clear_last();
290
-    $result = \ps_begin_page($psdoc, $width, $height);
291
-    if ($result === false) {
292
-        throw PsException::createFromPhpError();
293
-    }
289
+	error_clear_last();
290
+	$result = \ps_begin_page($psdoc, $width, $height);
291
+	if ($result === false) {
292
+		throw PsException::createFromPhpError();
293
+	}
294 294
 }
295 295
 
296 296
 
@@ -315,12 +315,12 @@  discard block
 block discarded – undo
315 315
  */
316 316
 function ps_begin_pattern($psdoc, float $width, float $height, float $xstep, float $ystep, int $painttype): int
317 317
 {
318
-    error_clear_last();
319
-    $result = \ps_begin_pattern($psdoc, $width, $height, $xstep, $ystep, $painttype);
320
-    if ($result === false) {
321
-        throw PsException::createFromPhpError();
322
-    }
323
-    return $result;
318
+	error_clear_last();
319
+	$result = \ps_begin_pattern($psdoc, $width, $height, $xstep, $ystep, $painttype);
320
+	if ($result === false) {
321
+		throw PsException::createFromPhpError();
322
+	}
323
+	return $result;
324 324
 }
325 325
 
326 326
 
@@ -342,12 +342,12 @@  discard block
 block discarded – undo
342 342
  */
343 343
 function ps_begin_template($psdoc, float $width, float $height): int
344 344
 {
345
-    error_clear_last();
346
-    $result = \ps_begin_template($psdoc, $width, $height);
347
-    if ($result === false) {
348
-        throw PsException::createFromPhpError();
349
-    }
350
-    return $result;
345
+	error_clear_last();
346
+	$result = \ps_begin_template($psdoc, $width, $height);
347
+	if ($result === false) {
348
+		throw PsException::createFromPhpError();
349
+	}
350
+	return $result;
351 351
 }
352 352
 
353 353
 
@@ -371,11 +371,11 @@  discard block
 block discarded – undo
371 371
  */
372 372
 function ps_circle($psdoc, float $x, float $y, float $radius): void
373 373
 {
374
-    error_clear_last();
375
-    $result = \ps_circle($psdoc, $x, $y, $radius);
376
-    if ($result === false) {
377
-        throw PsException::createFromPhpError();
378
-    }
374
+	error_clear_last();
375
+	$result = \ps_circle($psdoc, $x, $y, $radius);
376
+	if ($result === false) {
377
+		throw PsException::createFromPhpError();
378
+	}
379 379
 }
380 380
 
381 381
 
@@ -390,11 +390,11 @@  discard block
 block discarded – undo
390 390
  */
391 391
 function ps_clip($psdoc): void
392 392
 {
393
-    error_clear_last();
394
-    $result = \ps_clip($psdoc);
395
-    if ($result === false) {
396
-        throw PsException::createFromPhpError();
397
-    }
393
+	error_clear_last();
394
+	$result = \ps_clip($psdoc);
395
+	if ($result === false) {
396
+		throw PsException::createFromPhpError();
397
+	}
398 398
 }
399 399
 
400 400
 
@@ -412,11 +412,11 @@  discard block
 block discarded – undo
412 412
  */
413 413
 function ps_close_image($psdoc, int $imageid): void
414 414
 {
415
-    error_clear_last();
416
-    $result = \ps_close_image($psdoc, $imageid);
417
-    if ($result === false) {
418
-        throw PsException::createFromPhpError();
419
-    }
415
+	error_clear_last();
416
+	$result = \ps_close_image($psdoc, $imageid);
417
+	if ($result === false) {
418
+		throw PsException::createFromPhpError();
419
+	}
420 420
 }
421 421
 
422 422
 
@@ -437,11 +437,11 @@  discard block
 block discarded – undo
437 437
  */
438 438
 function ps_close($psdoc): void
439 439
 {
440
-    error_clear_last();
441
-    $result = \ps_close($psdoc);
442
-    if ($result === false) {
443
-        throw PsException::createFromPhpError();
444
-    }
440
+	error_clear_last();
441
+	$result = \ps_close($psdoc);
442
+	if ($result === false) {
443
+		throw PsException::createFromPhpError();
444
+	}
445 445
 }
446 446
 
447 447
 
@@ -456,11 +456,11 @@  discard block
 block discarded – undo
456 456
  */
457 457
 function ps_closepath_stroke($psdoc): void
458 458
 {
459
-    error_clear_last();
460
-    $result = \ps_closepath_stroke($psdoc);
461
-    if ($result === false) {
462
-        throw PsException::createFromPhpError();
463
-    }
459
+	error_clear_last();
460
+	$result = \ps_closepath_stroke($psdoc);
461
+	if ($result === false) {
462
+		throw PsException::createFromPhpError();
463
+	}
464 464
 }
465 465
 
466 466
 
@@ -475,11 +475,11 @@  discard block
 block discarded – undo
475 475
  */
476 476
 function ps_closepath($psdoc): void
477 477
 {
478
-    error_clear_last();
479
-    $result = \ps_closepath($psdoc);
480
-    if ($result === false) {
481
-        throw PsException::createFromPhpError();
482
-    }
478
+	error_clear_last();
479
+	$result = \ps_closepath($psdoc);
480
+	if ($result === false) {
481
+		throw PsException::createFromPhpError();
482
+	}
483 483
 }
484 484
 
485 485
 
@@ -498,11 +498,11 @@  discard block
 block discarded – undo
498 498
  */
499 499
 function ps_continue_text($psdoc, string $text): void
500 500
 {
501
-    error_clear_last();
502
-    $result = \ps_continue_text($psdoc, $text);
503
-    if ($result === false) {
504
-        throw PsException::createFromPhpError();
505
-    }
501
+	error_clear_last();
502
+	$result = \ps_continue_text($psdoc, $text);
503
+	if ($result === false) {
504
+		throw PsException::createFromPhpError();
505
+	}
506 506
 }
507 507
 
508 508
 
@@ -523,11 +523,11 @@  discard block
 block discarded – undo
523 523
  */
524 524
 function ps_curveto($psdoc, float $x1, float $y1, float $x2, float $y2, float $x3, float $y3): void
525 525
 {
526
-    error_clear_last();
527
-    $result = \ps_curveto($psdoc, $x1, $y1, $x2, $y2, $x3, $y3);
528
-    if ($result === false) {
529
-        throw PsException::createFromPhpError();
530
-    }
526
+	error_clear_last();
527
+	$result = \ps_curveto($psdoc, $x1, $y1, $x2, $y2, $x3, $y3);
528
+	if ($result === false) {
529
+		throw PsException::createFromPhpError();
530
+	}
531 531
 }
532 532
 
533 533
 
@@ -546,11 +546,11 @@  discard block
 block discarded – undo
546 546
  */
547 547
 function ps_delete($psdoc): void
548 548
 {
549
-    error_clear_last();
550
-    $result = \ps_delete($psdoc);
551
-    if ($result === false) {
552
-        throw PsException::createFromPhpError();
553
-    }
549
+	error_clear_last();
550
+	$result = \ps_delete($psdoc);
551
+	if ($result === false) {
552
+		throw PsException::createFromPhpError();
553
+	}
554 554
 }
555 555
 
556 556
 
@@ -567,11 +567,11 @@  discard block
 block discarded – undo
567 567
  */
568 568
 function ps_end_page($psdoc): void
569 569
 {
570
-    error_clear_last();
571
-    $result = \ps_end_page($psdoc);
572
-    if ($result === false) {
573
-        throw PsException::createFromPhpError();
574
-    }
570
+	error_clear_last();
571
+	$result = \ps_end_page($psdoc);
572
+	if ($result === false) {
573
+		throw PsException::createFromPhpError();
574
+	}
575 575
 }
576 576
 
577 577
 
@@ -587,11 +587,11 @@  discard block
 block discarded – undo
587 587
  */
588 588
 function ps_end_pattern($psdoc): void
589 589
 {
590
-    error_clear_last();
591
-    $result = \ps_end_pattern($psdoc);
592
-    if ($result === false) {
593
-        throw PsException::createFromPhpError();
594
-    }
590
+	error_clear_last();
591
+	$result = \ps_end_pattern($psdoc);
592
+	if ($result === false) {
593
+		throw PsException::createFromPhpError();
594
+	}
595 595
 }
596 596
 
597 597
 
@@ -606,11 +606,11 @@  discard block
 block discarded – undo
606 606
  */
607 607
 function ps_end_template($psdoc): void
608 608
 {
609
-    error_clear_last();
610
-    $result = \ps_end_template($psdoc);
611
-    if ($result === false) {
612
-        throw PsException::createFromPhpError();
613
-    }
609
+	error_clear_last();
610
+	$result = \ps_end_template($psdoc);
611
+	if ($result === false) {
612
+		throw PsException::createFromPhpError();
613
+	}
614 614
 }
615 615
 
616 616
 
@@ -625,11 +625,11 @@  discard block
 block discarded – undo
625 625
  */
626 626
 function ps_fill_stroke($psdoc): void
627 627
 {
628
-    error_clear_last();
629
-    $result = \ps_fill_stroke($psdoc);
630
-    if ($result === false) {
631
-        throw PsException::createFromPhpError();
632
-    }
628
+	error_clear_last();
629
+	$result = \ps_fill_stroke($psdoc);
630
+	if ($result === false) {
631
+		throw PsException::createFromPhpError();
632
+	}
633 633
 }
634 634
 
635 635
 
@@ -644,11 +644,11 @@  discard block
 block discarded – undo
644 644
  */
645 645
 function ps_fill($psdoc): void
646 646
 {
647
-    error_clear_last();
648
-    $result = \ps_fill($psdoc);
649
-    if ($result === false) {
650
-        throw PsException::createFromPhpError();
651
-    }
647
+	error_clear_last();
648
+	$result = \ps_fill($psdoc);
649
+	if ($result === false) {
650
+		throw PsException::createFromPhpError();
651
+	}
652 652
 }
653 653
 
654 654
 
@@ -780,16 +780,16 @@  discard block
 block discarded – undo
780 780
  */
781 781
 function ps_get_parameter($psdoc, string $name, float $modifier = null): string
782 782
 {
783
-    error_clear_last();
784
-    if ($modifier !== null) {
785
-        $result = \ps_get_parameter($psdoc, $name, $modifier);
786
-    } else {
787
-        $result = \ps_get_parameter($psdoc, $name);
788
-    }
789
-    if ($result === false) {
790
-        throw PsException::createFromPhpError();
791
-    }
792
-    return $result;
783
+	error_clear_last();
784
+	if ($modifier !== null) {
785
+		$result = \ps_get_parameter($psdoc, $name, $modifier);
786
+	} else {
787
+		$result = \ps_get_parameter($psdoc, $name);
788
+	}
789
+	if ($result === false) {
790
+		throw PsException::createFromPhpError();
791
+	}
792
+	return $result;
793 793
 }
794 794
 
795 795
 
@@ -816,12 +816,12 @@  discard block
 block discarded – undo
816 816
  */
817 817
 function ps_hyphenate($psdoc, string $text): array
818 818
 {
819
-    error_clear_last();
820
-    $result = \ps_hyphenate($psdoc, $text);
821
-    if ($result === false) {
822
-        throw PsException::createFromPhpError();
823
-    }
824
-    return $result;
819
+	error_clear_last();
820
+	$result = \ps_hyphenate($psdoc, $text);
821
+	if ($result === false) {
822
+		throw PsException::createFromPhpError();
823
+	}
824
+	return $result;
825 825
 }
826 826
 
827 827
 
@@ -838,11 +838,11 @@  discard block
 block discarded – undo
838 838
  */
839 839
 function ps_include_file($psdoc, string $file): void
840 840
 {
841
-    error_clear_last();
842
-    $result = \ps_include_file($psdoc, $file);
843
-    if ($result === false) {
844
-        throw PsException::createFromPhpError();
845
-    }
841
+	error_clear_last();
842
+	$result = \ps_include_file($psdoc, $file);
843
+	if ($result === false) {
844
+		throw PsException::createFromPhpError();
845
+	}
846 846
 }
847 847
 
848 848
 
@@ -860,11 +860,11 @@  discard block
 block discarded – undo
860 860
  */
861 861
 function ps_lineto($psdoc, float $x, float $y): void
862 862
 {
863
-    error_clear_last();
864
-    $result = \ps_lineto($psdoc, $x, $y);
865
-    if ($result === false) {
866
-        throw PsException::createFromPhpError();
867
-    }
863
+	error_clear_last();
864
+	$result = \ps_lineto($psdoc, $x, $y);
865
+	if ($result === false) {
866
+		throw PsException::createFromPhpError();
867
+	}
868 868
 }
869 869
 
870 870
 
@@ -883,11 +883,11 @@  discard block
 block discarded – undo
883 883
  */
884 884
 function ps_moveto($psdoc, float $x, float $y): void
885 885
 {
886
-    error_clear_last();
887
-    $result = \ps_moveto($psdoc, $x, $y);
888
-    if ($result === false) {
889
-        throw PsException::createFromPhpError();
890
-    }
886
+	error_clear_last();
887
+	$result = \ps_moveto($psdoc, $x, $y);
888
+	if ($result === false) {
889
+		throw PsException::createFromPhpError();
890
+	}
891 891
 }
892 892
 
893 893
 
@@ -904,12 +904,12 @@  discard block
 block discarded – undo
904 904
  */
905 905
 function ps_new()
906 906
 {
907
-    error_clear_last();
908
-    $result = \ps_new();
909
-    if ($result === false) {
910
-        throw PsException::createFromPhpError();
911
-    }
912
-    return $result;
907
+	error_clear_last();
908
+	$result = \ps_new();
909
+	if ($result === false) {
910
+		throw PsException::createFromPhpError();
911
+	}
912
+	return $result;
913 913
 }
914 914
 
915 915
 
@@ -927,15 +927,15 @@  discard block
 block discarded – undo
927 927
  */
928 928
 function ps_open_file($psdoc, string $filename = null): void
929 929
 {
930
-    error_clear_last();
931
-    if ($filename !== null) {
932
-        $result = \ps_open_file($psdoc, $filename);
933
-    } else {
934
-        $result = \ps_open_file($psdoc);
935
-    }
936
-    if ($result === false) {
937
-        throw PsException::createFromPhpError();
938
-    }
930
+	error_clear_last();
931
+	if ($filename !== null) {
932
+		$result = \ps_open_file($psdoc, $filename);
933
+	} else {
934
+		$result = \ps_open_file($psdoc);
935
+	}
936
+	if ($result === false) {
937
+		throw PsException::createFromPhpError();
938
+	}
939 939
 }
940 940
 
941 941
 
@@ -959,11 +959,11 @@  discard block
 block discarded – undo
959 959
  */
960 960
 function ps_place_image($psdoc, int $imageid, float $x, float $y, float $scale): void
961 961
 {
962
-    error_clear_last();
963
-    $result = \ps_place_image($psdoc, $imageid, $x, $y, $scale);
964
-    if ($result === false) {
965
-        throw PsException::createFromPhpError();
966
-    }
962
+	error_clear_last();
963
+	$result = \ps_place_image($psdoc, $imageid, $x, $y, $scale);
964
+	if ($result === false) {
965
+		throw PsException::createFromPhpError();
966
+	}
967 967
 }
968 968
 
969 969
 
@@ -986,11 +986,11 @@  discard block
 block discarded – undo
986 986
  */
987 987
 function ps_rect($psdoc, float $x, float $y, float $width, float $height): void
988 988
 {
989
-    error_clear_last();
990
-    $result = \ps_rect($psdoc, $x, $y, $width, $height);
991
-    if ($result === false) {
992
-        throw PsException::createFromPhpError();
993
-    }
989
+	error_clear_last();
990
+	$result = \ps_rect($psdoc, $x, $y, $width, $height);
991
+	if ($result === false) {
992
+		throw PsException::createFromPhpError();
993
+	}
994 994
 }
995 995
 
996 996
 
@@ -1008,11 +1008,11 @@  discard block
 block discarded – undo
1008 1008
  */
1009 1009
 function ps_restore($psdoc): void
1010 1010
 {
1011
-    error_clear_last();
1012
-    $result = \ps_restore($psdoc);
1013
-    if ($result === false) {
1014
-        throw PsException::createFromPhpError();
1015
-    }
1011
+	error_clear_last();
1012
+	$result = \ps_restore($psdoc);
1013
+	if ($result === false) {
1014
+		throw PsException::createFromPhpError();
1015
+	}
1016 1016
 }
1017 1017
 
1018 1018
 
@@ -1027,11 +1027,11 @@  discard block
 block discarded – undo
1027 1027
  */
1028 1028
 function ps_rotate($psdoc, float $rot): void
1029 1029
 {
1030
-    error_clear_last();
1031
-    $result = \ps_rotate($psdoc, $rot);
1032
-    if ($result === false) {
1033
-        throw PsException::createFromPhpError();
1034
-    }
1030
+	error_clear_last();
1031
+	$result = \ps_rotate($psdoc, $rot);
1032
+	if ($result === false) {
1033
+		throw PsException::createFromPhpError();
1034
+	}
1035 1035
 }
1036 1036
 
1037 1037
 
@@ -1047,11 +1047,11 @@  discard block
 block discarded – undo
1047 1047
  */
1048 1048
 function ps_save($psdoc): void
1049 1049
 {
1050
-    error_clear_last();
1051
-    $result = \ps_save($psdoc);
1052
-    if ($result === false) {
1053
-        throw PsException::createFromPhpError();
1054
-    }
1050
+	error_clear_last();
1051
+	$result = \ps_save($psdoc);
1052
+	if ($result === false) {
1053
+		throw PsException::createFromPhpError();
1054
+	}
1055 1055
 }
1056 1056
 
1057 1057
 
@@ -1067,11 +1067,11 @@  discard block
 block discarded – undo
1067 1067
  */
1068 1068
 function ps_scale($psdoc, float $x, float $y): void
1069 1069
 {
1070
-    error_clear_last();
1071
-    $result = \ps_scale($psdoc, $x, $y);
1072
-    if ($result === false) {
1073
-        throw PsException::createFromPhpError();
1074
-    }
1070
+	error_clear_last();
1071
+	$result = \ps_scale($psdoc, $x, $y);
1072
+	if ($result === false) {
1073
+		throw PsException::createFromPhpError();
1074
+	}
1075 1075
 }
1076 1076
 
1077 1077
 
@@ -1093,11 +1093,11 @@  discard block
 block discarded – undo
1093 1093
  */
1094 1094
 function ps_set_border_color($psdoc, float $red, float $green, float $blue): void
1095 1095
 {
1096
-    error_clear_last();
1097
-    $result = \ps_set_border_color($psdoc, $red, $green, $blue);
1098
-    if ($result === false) {
1099
-        throw PsException::createFromPhpError();
1100
-    }
1096
+	error_clear_last();
1097
+	$result = \ps_set_border_color($psdoc, $red, $green, $blue);
1098
+	if ($result === false) {
1099
+		throw PsException::createFromPhpError();
1100
+	}
1101 1101
 }
1102 1102
 
1103 1103
 
@@ -1119,11 +1119,11 @@  discard block
 block discarded – undo
1119 1119
  */
1120 1120
 function ps_set_border_dash($psdoc, float $black, float $white): void
1121 1121
 {
1122
-    error_clear_last();
1123
-    $result = \ps_set_border_dash($psdoc, $black, $white);
1124
-    if ($result === false) {
1125
-        throw PsException::createFromPhpError();
1126
-    }
1122
+	error_clear_last();
1123
+	$result = \ps_set_border_dash($psdoc, $black, $white);
1124
+	if ($result === false) {
1125
+		throw PsException::createFromPhpError();
1126
+	}
1127 1127
 }
1128 1128
 
1129 1129
 
@@ -1145,11 +1145,11 @@  discard block
 block discarded – undo
1145 1145
  */
1146 1146
 function ps_set_border_style($psdoc, string $style, float $width): void
1147 1147
 {
1148
-    error_clear_last();
1149
-    $result = \ps_set_border_style($psdoc, $style, $width);
1150
-    if ($result === false) {
1151
-        throw PsException::createFromPhpError();
1152
-    }
1148
+	error_clear_last();
1149
+	$result = \ps_set_border_style($psdoc, $style, $width);
1150
+	if ($result === false) {
1151
+		throw PsException::createFromPhpError();
1152
+	}
1153 1153
 }
1154 1154
 
1155 1155
 
@@ -1192,11 +1192,11 @@  discard block
 block discarded – undo
1192 1192
  */
1193 1193
 function ps_set_info($p, string $key, string $val): void
1194 1194
 {
1195
-    error_clear_last();
1196
-    $result = \ps_set_info($p, $key, $val);
1197
-    if ($result === false) {
1198
-        throw PsException::createFromPhpError();
1199
-    }
1195
+	error_clear_last();
1196
+	$result = \ps_set_info($p, $key, $val);
1197
+	if ($result === false) {
1198
+		throw PsException::createFromPhpError();
1199
+	}
1200 1200
 }
1201 1201
 
1202 1202
 
@@ -1213,11 +1213,11 @@  discard block
 block discarded – undo
1213 1213
  */
1214 1214
 function ps_set_parameter($psdoc, string $name, string $value): void
1215 1215
 {
1216
-    error_clear_last();
1217
-    $result = \ps_set_parameter($psdoc, $name, $value);
1218
-    if ($result === false) {
1219
-        throw PsException::createFromPhpError();
1220
-    }
1216
+	error_clear_last();
1217
+	$result = \ps_set_parameter($psdoc, $name, $value);
1218
+	if ($result === false) {
1219
+		throw PsException::createFromPhpError();
1220
+	}
1221 1221
 }
1222 1222
 
1223 1223
 
@@ -1240,11 +1240,11 @@  discard block
 block discarded – undo
1240 1240
  */
1241 1241
 function ps_set_text_pos($psdoc, float $x, float $y): void
1242 1242
 {
1243
-    error_clear_last();
1244
-    $result = \ps_set_text_pos($psdoc, $x, $y);
1245
-    if ($result === false) {
1246
-        throw PsException::createFromPhpError();
1247
-    }
1243
+	error_clear_last();
1244
+	$result = \ps_set_text_pos($psdoc, $x, $y);
1245
+	if ($result === false) {
1246
+		throw PsException::createFromPhpError();
1247
+	}
1248 1248
 }
1249 1249
 
1250 1250
 
@@ -1313,11 +1313,11 @@  discard block
 block discarded – undo
1313 1313
  */
1314 1314
 function ps_set_value($psdoc, string $name, float $value): void
1315 1315
 {
1316
-    error_clear_last();
1317
-    $result = \ps_set_value($psdoc, $name, $value);
1318
-    if ($result === false) {
1319
-        throw PsException::createFromPhpError();
1320
-    }
1316
+	error_clear_last();
1317
+	$result = \ps_set_value($psdoc, $name, $value);
1318
+	if ($result === false) {
1319
+		throw PsException::createFromPhpError();
1320
+	}
1321 1321
 }
1322 1322
 
1323 1323
 
@@ -1348,11 +1348,11 @@  discard block
 block discarded – undo
1348 1348
  */
1349 1349
 function ps_setcolor($psdoc, string $type, string $colorspace, float $c1, float $c2, float $c3, float $c4): void
1350 1350
 {
1351
-    error_clear_last();
1352
-    $result = \ps_setcolor($psdoc, $type, $colorspace, $c1, $c2, $c3, $c4);
1353
-    if ($result === false) {
1354
-        throw PsException::createFromPhpError();
1355
-    }
1351
+	error_clear_last();
1352
+	$result = \ps_setcolor($psdoc, $type, $colorspace, $c1, $c2, $c3, $c4);
1353
+	if ($result === false) {
1354
+		throw PsException::createFromPhpError();
1355
+	}
1356 1356
 }
1357 1357
 
1358 1358
 
@@ -1368,11 +1368,11 @@  discard block
 block discarded – undo
1368 1368
  */
1369 1369
 function ps_setdash($psdoc, float $on, float $off): void
1370 1370
 {
1371
-    error_clear_last();
1372
-    $result = \ps_setdash($psdoc, $on, $off);
1373
-    if ($result === false) {
1374
-        throw PsException::createFromPhpError();
1375
-    }
1371
+	error_clear_last();
1372
+	$result = \ps_setdash($psdoc, $on, $off);
1373
+	if ($result === false) {
1374
+		throw PsException::createFromPhpError();
1375
+	}
1376 1376
 }
1377 1377
 
1378 1378
 
@@ -1389,11 +1389,11 @@  discard block
 block discarded – undo
1389 1389
  */
1390 1390
 function ps_setflat($psdoc, float $value): void
1391 1391
 {
1392
-    error_clear_last();
1393
-    $result = \ps_setflat($psdoc, $value);
1394
-    if ($result === false) {
1395
-        throw PsException::createFromPhpError();
1396
-    }
1392
+	error_clear_last();
1393
+	$result = \ps_setflat($psdoc, $value);
1394
+	if ($result === false) {
1395
+		throw PsException::createFromPhpError();
1396
+	}
1397 1397
 }
1398 1398
 
1399 1399
 
@@ -1411,11 +1411,11 @@  discard block
 block discarded – undo
1411 1411
  */
1412 1412
 function ps_setfont($psdoc, int $fontid, float $size): void
1413 1413
 {
1414
-    error_clear_last();
1415
-    $result = \ps_setfont($psdoc, $fontid, $size);
1416
-    if ($result === false) {
1417
-        throw PsException::createFromPhpError();
1418
-    }
1414
+	error_clear_last();
1415
+	$result = \ps_setfont($psdoc, $fontid, $size);
1416
+	if ($result === false) {
1417
+		throw PsException::createFromPhpError();
1418
+	}
1419 1419
 }
1420 1420
 
1421 1421
 
@@ -1430,11 +1430,11 @@  discard block
 block discarded – undo
1430 1430
  */
1431 1431
 function ps_setgray($psdoc, float $gray): void
1432 1432
 {
1433
-    error_clear_last();
1434
-    $result = \ps_setgray($psdoc, $gray);
1435
-    if ($result === false) {
1436
-        throw PsException::createFromPhpError();
1437
-    }
1433
+	error_clear_last();
1434
+	$result = \ps_setgray($psdoc, $gray);
1435
+	if ($result === false) {
1436
+		throw PsException::createFromPhpError();
1437
+	}
1438 1438
 }
1439 1439
 
1440 1440
 
@@ -1452,11 +1452,11 @@  discard block
 block discarded – undo
1452 1452
  */
1453 1453
 function ps_setlinecap($psdoc, int $type): void
1454 1454
 {
1455
-    error_clear_last();
1456
-    $result = \ps_setlinecap($psdoc, $type);
1457
-    if ($result === false) {
1458
-        throw PsException::createFromPhpError();
1459
-    }
1455
+	error_clear_last();
1456
+	$result = \ps_setlinecap($psdoc, $type);
1457
+	if ($result === false) {
1458
+		throw PsException::createFromPhpError();
1459
+	}
1460 1460
 }
1461 1461
 
1462 1462
 
@@ -1474,11 +1474,11 @@  discard block
 block discarded – undo
1474 1474
  */
1475 1475
 function ps_setlinejoin($psdoc, int $type): void
1476 1476
 {
1477
-    error_clear_last();
1478
-    $result = \ps_setlinejoin($psdoc, $type);
1479
-    if ($result === false) {
1480
-        throw PsException::createFromPhpError();
1481
-    }
1477
+	error_clear_last();
1478
+	$result = \ps_setlinejoin($psdoc, $type);
1479
+	if ($result === false) {
1480
+		throw PsException::createFromPhpError();
1481
+	}
1482 1482
 }
1483 1483
 
1484 1484
 
@@ -1493,11 +1493,11 @@  discard block
 block discarded – undo
1493 1493
  */
1494 1494
 function ps_setlinewidth($psdoc, float $width): void
1495 1495
 {
1496
-    error_clear_last();
1497
-    $result = \ps_setlinewidth($psdoc, $width);
1498
-    if ($result === false) {
1499
-        throw PsException::createFromPhpError();
1500
-    }
1496
+	error_clear_last();
1497
+	$result = \ps_setlinewidth($psdoc, $width);
1498
+	if ($result === false) {
1499
+		throw PsException::createFromPhpError();
1500
+	}
1501 1501
 }
1502 1502
 
1503 1503
 
@@ -1517,11 +1517,11 @@  discard block
 block discarded – undo
1517 1517
  */
1518 1518
 function ps_setmiterlimit($psdoc, float $value): void
1519 1519
 {
1520
-    error_clear_last();
1521
-    $result = \ps_setmiterlimit($psdoc, $value);
1522
-    if ($result === false) {
1523
-        throw PsException::createFromPhpError();
1524
-    }
1520
+	error_clear_last();
1521
+	$result = \ps_setmiterlimit($psdoc, $value);
1522
+	if ($result === false) {
1523
+		throw PsException::createFromPhpError();
1524
+	}
1525 1525
 }
1526 1526
 
1527 1527
 
@@ -1538,11 +1538,11 @@  discard block
 block discarded – undo
1538 1538
  */
1539 1539
 function ps_setoverprintmode($psdoc, int $mode): void
1540 1540
 {
1541
-    error_clear_last();
1542
-    $result = \ps_setoverprintmode($psdoc, $mode);
1543
-    if ($result === false) {
1544
-        throw PsException::createFromPhpError();
1545
-    }
1541
+	error_clear_last();
1542
+	$result = \ps_setoverprintmode($psdoc, $mode);
1543
+	if ($result === false) {
1544
+		throw PsException::createFromPhpError();
1545
+	}
1546 1546
 }
1547 1547
 
1548 1548
 
@@ -1560,11 +1560,11 @@  discard block
 block discarded – undo
1560 1560
  */
1561 1561
 function ps_setpolydash($psdoc, float $arr): void
1562 1562
 {
1563
-    error_clear_last();
1564
-    $result = \ps_setpolydash($psdoc, $arr);
1565
-    if ($result === false) {
1566
-        throw PsException::createFromPhpError();
1567
-    }
1563
+	error_clear_last();
1564
+	$result = \ps_setpolydash($psdoc, $arr);
1565
+	if ($result === false) {
1566
+		throw PsException::createFromPhpError();
1567
+	}
1568 1568
 }
1569 1569
 
1570 1570
 
@@ -1584,12 +1584,12 @@  discard block
 block discarded – undo
1584 1584
  */
1585 1585
 function ps_shading_pattern($psdoc, int $shadingid, string $optlist): int
1586 1586
 {
1587
-    error_clear_last();
1588
-    $result = \ps_shading_pattern($psdoc, $shadingid, $optlist);
1589
-    if ($result === false) {
1590
-        throw PsException::createFromPhpError();
1591
-    }
1592
-    return $result;
1587
+	error_clear_last();
1588
+	$result = \ps_shading_pattern($psdoc, $shadingid, $optlist);
1589
+	if ($result === false) {
1590
+		throw PsException::createFromPhpError();
1591
+	}
1592
+	return $result;
1593 1593
 }
1594 1594
 
1595 1595
 
@@ -1629,12 +1629,12 @@  discard block
 block discarded – undo
1629 1629
  */
1630 1630
 function ps_shading($psdoc, string $type, float $x0, float $y0, float $x1, float $y1, float $c1, float $c2, float $c3, float $c4, string $optlist): int
1631 1631
 {
1632
-    error_clear_last();
1633
-    $result = \ps_shading($psdoc, $type, $x0, $y0, $x1, $y1, $c1, $c2, $c3, $c4, $optlist);
1634
-    if ($result === false) {
1635
-        throw PsException::createFromPhpError();
1636
-    }
1637
-    return $result;
1632
+	error_clear_last();
1633
+	$result = \ps_shading($psdoc, $type, $x0, $y0, $x1, $y1, $c1, $c2, $c3, $c4, $optlist);
1634
+	if ($result === false) {
1635
+		throw PsException::createFromPhpError();
1636
+	}
1637
+	return $result;
1638 1638
 }
1639 1639
 
1640 1640
 
@@ -1653,11 +1653,11 @@  discard block
 block discarded – undo
1653 1653
  */
1654 1654
 function ps_shfill($psdoc, int $shadingid): void
1655 1655
 {
1656
-    error_clear_last();
1657
-    $result = \ps_shfill($psdoc, $shadingid);
1658
-    if ($result === false) {
1659
-        throw PsException::createFromPhpError();
1660
-    }
1656
+	error_clear_last();
1657
+	$result = \ps_shfill($psdoc, $shadingid);
1658
+	if ($result === false) {
1659
+		throw PsException::createFromPhpError();
1660
+	}
1661 1661
 }
1662 1662
 
1663 1663
 
@@ -1674,11 +1674,11 @@  discard block
 block discarded – undo
1674 1674
  */
1675 1675
 function ps_show_xy($psdoc, string $text, float $x, float $y): void
1676 1676
 {
1677
-    error_clear_last();
1678
-    $result = \ps_show_xy($psdoc, $text, $x, $y);
1679
-    if ($result === false) {
1680
-        throw PsException::createFromPhpError();
1681
-    }
1677
+	error_clear_last();
1678
+	$result = \ps_show_xy($psdoc, $text, $x, $y);
1679
+	if ($result === false) {
1680
+		throw PsException::createFromPhpError();
1681
+	}
1682 1682
 }
1683 1683
 
1684 1684
 
@@ -1697,11 +1697,11 @@  discard block
 block discarded – undo
1697 1697
  */
1698 1698
 function ps_show_xy2($psdoc, string $text, int $len, float $xcoor, float $ycoor): void
1699 1699
 {
1700
-    error_clear_last();
1701
-    $result = \ps_show_xy2($psdoc, $text, $len, $xcoor, $ycoor);
1702
-    if ($result === false) {
1703
-        throw PsException::createFromPhpError();
1704
-    }
1700
+	error_clear_last();
1701
+	$result = \ps_show_xy2($psdoc, $text, $len, $xcoor, $ycoor);
1702
+	if ($result === false) {
1703
+		throw PsException::createFromPhpError();
1704
+	}
1705 1705
 }
1706 1706
 
1707 1707
 
@@ -1724,11 +1724,11 @@  discard block
 block discarded – undo
1724 1724
  */
1725 1725
 function ps_show($psdoc, string $text): void
1726 1726
 {
1727
-    error_clear_last();
1728
-    $result = \ps_show($psdoc, $text);
1729
-    if ($result === false) {
1730
-        throw PsException::createFromPhpError();
1731
-    }
1727
+	error_clear_last();
1728
+	$result = \ps_show($psdoc, $text);
1729
+	if ($result === false) {
1730
+		throw PsException::createFromPhpError();
1731
+	}
1732 1732
 }
1733 1733
 
1734 1734
 
@@ -1744,11 +1744,11 @@  discard block
 block discarded – undo
1744 1744
  */
1745 1745
 function ps_show2($psdoc, string $text, int $len): void
1746 1746
 {
1747
-    error_clear_last();
1748
-    $result = \ps_show2($psdoc, $text, $len);
1749
-    if ($result === false) {
1750
-        throw PsException::createFromPhpError();
1751
-    }
1747
+	error_clear_last();
1748
+	$result = \ps_show2($psdoc, $text, $len);
1749
+	if ($result === false) {
1750
+		throw PsException::createFromPhpError();
1751
+	}
1752 1752
 }
1753 1753
 
1754 1754
 
@@ -1763,11 +1763,11 @@  discard block
 block discarded – undo
1763 1763
  */
1764 1764
 function ps_stroke($psdoc): void
1765 1765
 {
1766
-    error_clear_last();
1767
-    $result = \ps_stroke($psdoc);
1768
-    if ($result === false) {
1769
-        throw PsException::createFromPhpError();
1770
-    }
1766
+	error_clear_last();
1767
+	$result = \ps_stroke($psdoc);
1768
+	if ($result === false) {
1769
+		throw PsException::createFromPhpError();
1770
+	}
1771 1771
 }
1772 1772
 
1773 1773
 
@@ -1784,11 +1784,11 @@  discard block
 block discarded – undo
1784 1784
  */
1785 1785
 function ps_symbol($psdoc, int $ord): void
1786 1786
 {
1787
-    error_clear_last();
1788
-    $result = \ps_symbol($psdoc, $ord);
1789
-    if ($result === false) {
1790
-        throw PsException::createFromPhpError();
1791
-    }
1787
+	error_clear_last();
1788
+	$result = \ps_symbol($psdoc, $ord);
1789
+	if ($result === false) {
1790
+		throw PsException::createFromPhpError();
1791
+	}
1792 1792
 }
1793 1793
 
1794 1794
 
@@ -1804,9 +1804,9 @@  discard block
 block discarded – undo
1804 1804
  */
1805 1805
 function ps_translate($psdoc, float $x, float $y): void
1806 1806
 {
1807
-    error_clear_last();
1808
-    $result = \ps_translate($psdoc, $x, $y);
1809
-    if ($result === false) {
1810
-        throw PsException::createFromPhpError();
1811
-    }
1807
+	error_clear_last();
1808
+	$result = \ps_translate($psdoc, $x, $y);
1809
+	if ($result === false) {
1810
+		throw PsException::createFromPhpError();
1811
+	}
1812 1812
 }
Please login to merge, or discard this patch.