Skip to content

Commit 5437b46

Browse files
committed
Automatic Code style fixes through PHPCS' PHP Code Beautifier
1 parent b45d14f commit 5437b46

File tree

6 files changed

+4
-9
lines changed

6 files changed

+4
-9
lines changed

samples/tutorials/php/2.0 PHP Server programming - Stored procedures, Transactions, and UDFs/test.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
<h1> Transaction was commited </h1>
7575

7676
<?php
77-
7877
} else {
7978
sqlsrv_rollback($conn);
8079
echo "Transaction was rolled back.\n";
@@ -123,10 +122,11 @@
123122
break;
124123
}
125124
$ctr++;
126-
echo $row['SalesOrderID'] . str_repeat('&nbsp;', 13) . $row['CustomerID'] . str_repeat('&nbsp;',
127-
11) . $row['TotalItems'];
125+
echo $row['SalesOrderID'] . str_repeat('&nbsp;', 13) . $row['CustomerID'] . str_repeat(
126+
'&nbsp;',
127+
11
128+
) . $row['TotalItems'];
128129
echo("<br/>");
129130
$productCount++;
130-
131131
}
132132
sqlsrv_free_stmt($getProducts);

samples/tutorials/php/RHEL/SqlServerColumnstoreSample/columnstore.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
}
2020
while ($row = sqlsrv_fetch_array($getResults, SQLSRV_FETCH_ASSOC)) {
2121
echo($row['sum'] . PHP_EOL);
22-
2322
}
2423
sqlsrv_free_stmt($getResults);
2524

samples/tutorials/php/RHEL/SqlServerSample/crud.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
}
5959
while ($row = sqlsrv_fetch_array($getResults, SQLSRV_FETCH_ASSOC)) {
6060
echo($row['Id'] . " " . $row['Name'] . " " . $row['Location'] . PHP_EOL);
61-
6261
}
6362
sqlsrv_free_stmt($getResults);
6463

samples/tutorials/php/Ubuntu/SqlServerColumnstoreSample/columnstore.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
}
2020
while ($row = sqlsrv_fetch_array($getResults, SQLSRV_FETCH_ASSOC)) {
2121
echo($row['sum'] . PHP_EOL);
22-
2322
}
2423
sqlsrv_free_stmt($getResults);
2524

samples/tutorials/php/Ubuntu/SqlServerSample/crud.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
}
5959
while ($row = sqlsrv_fetch_array($getResults, SQLSRV_FETCH_ASSOC)) {
6060
echo($row['Id'] . " " . $row['Name'] . " " . $row['Location'] . PHP_EOL);
61-
6261
}
6362
sqlsrv_free_stmt($getResults);
6463

samples/tutorials/php/Windows/SqlServerColumnstoreSample/columnstore.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
}
2020
while ($row = sqlsrv_fetch_array($getResults, SQLSRV_FETCH_ASSOC)) {
2121
echo($row['sum'] . PHP_EOL);
22-
2322
}
2423
sqlsrv_free_stmt($getResults);
2524

0 commit comments

Comments
 (0)