Skip to content

Commit 27e949b

Browse files
committed
fastbill#36 - apply new coding style
1 parent c3b64d9 commit 27e949b

File tree

117 files changed

+269
-156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+269
-156
lines changed

examples/contact/create.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -25,4 +26,4 @@
2526
echo '<pre>';
2627
var_dump($result);
2728
echo '</pre>';
28-
die();
29+
exit();

examples/contact/delete.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -23,4 +24,4 @@
2324
echo '<pre>';
2425
var_dump($result);
2526
echo '</pre>';
26-
die();
27+
exit();

examples/contact/get.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -23,4 +24,4 @@
2324
echo '<pre>';
2425
var_dump($result);
2526
echo '</pre>';
26-
die();
27+
exit();

examples/contact/update.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -25,4 +26,4 @@
2526
echo '<pre>';
2627
var_dump($result);
2728
echo '</pre>';
28-
die();
29+
exit();

examples/customer/create.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -26,4 +27,4 @@
2627
echo '<pre>';
2728
var_dump($result);
2829
echo '</pre>';
29-
die();
30+
exit();

examples/customer/delete.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -24,4 +25,4 @@
2425
echo '<pre>';
2526
var_dump($result);
2627
echo '</pre>';
27-
die();
28+
exit();

examples/customer/get.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -23,4 +24,4 @@
2324
echo '<pre>';
2425
var_dump($result);
2526
echo '</pre>';
26-
die();
27+
exit();

examples/customer/update.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -27,4 +28,4 @@
2728
echo '<pre>';
2829
var_dump($result);
2930
echo '</pre>';
30-
die();
31+
exit();

examples/estimate/create.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -31,4 +32,4 @@
3132
echo '<pre>';
3233
var_dump($result);
3334
echo '</pre>';
34-
die();
35+
exit();

examples/estimate/createinvoice.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -26,4 +27,4 @@
2627
echo '<pre>';
2728
var_dump($result);
2829
echo '</pre>';
29-
die();
30+
exit();

examples/estimate/delete.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -25,4 +26,4 @@
2526
echo '<pre>';
2627
var_dump($result);
2728
echo '</pre>';
28-
die();
29+
exit();

examples/estimate/get.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -24,4 +25,4 @@
2425
echo '<pre>';
2526
var_dump($result);
2627
echo '</pre>';
27-
die();
28+
exit();

examples/estimate/sendbyemail.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -30,4 +31,4 @@
3031
echo '<pre>';
3132
var_dump($result);
3233
echo '</pre>';
33-
die();
34+
exit();

examples/expense/create.php

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
namespace FastBillSdk\Invoice;
45

@@ -44,7 +45,7 @@
4445
ini_set('xdebug.var_display_max_depth', '5');
4546
ini_set('xdebug.var_display_max_children', '256');
4647
ini_set('xdebug.var_display_max_data', '1024');
47-
echo'<pre>';
48+
echo '<pre>';
4849
var_dump($result);
49-
echo'</pre>';
50-
die();
50+
echo '</pre>';
51+
exit();

examples/expense/get.php

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
namespace FastBillSdk\Invoice;
45

@@ -29,7 +30,7 @@
2930
ini_set('xdebug.var_display_max_depth', '5');
3031
ini_set('xdebug.var_display_max_children', '256');
3132
ini_set('xdebug.var_display_max_data', '1024');
32-
echo'<pre>';
33+
echo '<pre>';
3334
var_dump($result);
34-
echo'</pre>';
35-
die();
35+
echo '</pre>';
36+
exit();

examples/generator.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');

examples/invoice/cancel.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
namespace FastBillSdk\Invoice;
45

@@ -31,4 +32,4 @@
3132
echo '<pre>';
3233
var_dump($result);
3334
echo '</pre>';
34-
die();
35+
exit();

examples/invoice/complete.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
namespace FastBillSdk\Invoice;
45

@@ -37,4 +38,4 @@
3738
echo '<pre>';
3839
var_dump($result);
3940
echo '</pre>';
40-
die();
41+
exit();

examples/invoice/create.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
namespace FastBillSdk\Invoice;
45

@@ -42,4 +43,4 @@
4243
echo '<pre>';
4344
var_dump($result);
4445
echo '</pre>';
45-
die();
46+
exit();

examples/invoice/delete.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
namespace FastBillSdk\Invoice;
45

@@ -31,4 +32,4 @@
3132
echo '<pre>';
3233
var_dump($result);
3334
echo '</pre>';
34-
die();
35+
exit();

examples/invoice/get.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
namespace FastBillSdk\Invoice;
45

@@ -31,4 +32,4 @@
3132
var_dump($result[0]->servicePeriodStart);
3233
var_dump($result[0]->servicePeriodEnd);
3334
echo '</pre>';
34-
die();
35+
exit();

examples/invoice/sendbyemail.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
namespace FastBillSdk\Invoice;
45

@@ -37,4 +38,4 @@
3738
echo '<pre>';
3839
var_dump($result);
3940
echo '</pre>';
40-
die();
41+
exit();

examples/invoice/sendbypost.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
namespace FastBillSdk\Invoice;
45

@@ -31,4 +32,4 @@
3132
echo '<pre>';
3233
var_dump($result);
3334
echo '</pre>';
34-
die();
35+
exit();

examples/invoice/setpaid.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
namespace FastBillSdk\Invoice;
45

@@ -39,4 +40,4 @@
3940
echo '<pre>';
4041
var_dump($result);
4142
echo '</pre>';
42-
die();
43+
exit();

examples/invoice/update.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
namespace FastBillSdk\Invoice;
45

@@ -44,4 +45,4 @@
4445
echo '<pre>';
4546
var_dump($result);
4647
echo '</pre>';
47-
die();
48+
exit();

examples/product/create.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -29,4 +30,4 @@
2930
echo '<pre>';
3031
var_dump($result);
3132
echo '</pre>';
32-
die();
33+
exit();

examples/product/delete.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -25,4 +26,4 @@
2526
echo '<pre>';
2627
var_dump($result);
2728
echo '</pre>';
28-
die();
29+
exit();

examples/product/get.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -22,4 +23,4 @@
2223
echo '<pre>';
2324
var_dump($result);
2425
echo '</pre>';
25-
die();
26+
exit();

examples/product/update.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
error_reporting(E_ALL);
45
ini_set('display_errors', 'on');
@@ -28,4 +29,4 @@
2829
echo '<pre>';
2930
var_dump($result);
3031
echo '</pre>';
31-
die();
32+
exit();

examples/recurring-invoice/create.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
declare(strict_types=1);
23

34
namespace FastBillSdk\Invoice;
45

@@ -45,4 +46,4 @@
4546
echo '<pre>';
4647
var_dump($result);
4748
echo '</pre>';
48-
die();
49+
exit();

0 commit comments

Comments
 (0)