Skip to content

Commit b5309a3

Browse files
authored
Merge pull request #355 from thecodingmachine/create-pull-request/regenerate-files
Automatically regenerate the files
2 parents 0d3e7f1 + 8cf9dd6 commit b5309a3

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@
119119
"dev-master": "2.2.x-dev"
120120
}
121121
}
122-
}
122+
}

generated/datetime.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,15 @@ function gmstrftime(string $format, int $timestamp = null): string
535535
* Month number
536536
*
537537
*
538+
* N
539+
* ISO-8601 day of the week (1 for Monday
540+
* through 7 for Sunday)
541+
*
542+
*
543+
* o
544+
* ISO-8601 year (4 digits)
545+
*
546+
*
538547
* s
539548
* Seconds
540549
*

generated/pgsql.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ function pg_delete($connection, string $table_name, array $conditions, int $flag
244244
* When connection is NULL, the default connection is used.
245245
* The default connection is the last connection made by pg_connect
246246
* or pg_pconnect.
247+
* As of PHP 8.1.0, using the default connection is deprecated.
247248
* @throws PgsqlException
248249
*
249250
*/
@@ -281,6 +282,7 @@ function pg_end_copy($connection = null): void
281282
* When connection is unspecified, the default connection is used.
282283
* The default connection is the last connection made by pg_connect
283284
* or pg_pconnect.
285+
* As of PHP 8.1.0, using the default connection is deprecated.
284286
* @param string $stmtname The name of the prepared statement to execute. if
285287
* "" is specified, then the unnamed statement is executed. The name must have
286288
* been previously prepared using pg_prepare,
@@ -393,6 +395,7 @@ function pg_free_result($result): void
393395
* When connection is NULL, the default connection is used.
394396
* The default connection is the last connection made by pg_connect
395397
* or pg_pconnect.
398+
* As of PHP 8.1.0, using the default connection is deprecated.
396399
* @return string A string containing the name of the host the
397400
* connection is to.
398401
* @throws PgsqlException
@@ -532,6 +535,7 @@ function pg_lo_close($lob): void
532535
* When connection is unspecified, the default connection is used.
533536
* The default connection is the last connection made by pg_connect
534537
* or pg_pconnect.
538+
* As of PHP 8.1.0, using the default connection is deprecated.
535539
* @param int $oid The OID of the large object in the database.
536540
* @param string $pathname The full path and file name of the file in which to write the
537541
* large object on the client filesystem.
@@ -568,6 +572,7 @@ function pg_lo_export($connection = null, int $oid = null, string $pathname = nu
568572
* When connection is unspecified, the default connection is used.
569573
* The default connection is the last connection made by pg_connect
570574
* or pg_pconnect.
575+
* As of PHP 8.1.0, using the default connection is deprecated.
571576
* @param string $pathname The full path and file name of the file on the client
572577
* filesystem from which to read the large object data.
573578
* @param $object_id If an object_id is given the function
@@ -609,6 +614,7 @@ function pg_lo_import($connection = null, string $pathname = null, $object_id =
609614
* When connection is unspecified, the default connection is used.
610615
* The default connection is the last connection made by pg_connect
611616
* or pg_pconnect.
617+
* As of PHP 8.1.0, using the default connection is deprecated.
612618
* @param int $oid The OID of the large object in the database.
613619
* @param string $mode Can be either "r" for read-only, "w" for write only or "rw" for read and
614620
* write.
@@ -709,6 +715,7 @@ function pg_lo_truncate($lob, int $size): void
709715
* When connection is unspecified, the default connection is used.
710716
* The default connection is the last connection made by pg_connect
711717
* or pg_pconnect.
718+
* As of PHP 8.1.0, using the default connection is deprecated.
712719
* @param int $oid The OID of the large object in the database.
713720
* @throws PgsqlException
714721
*
@@ -806,6 +813,7 @@ function pg_meta_data($connection, string $table_name, bool $extended = false):
806813
* When connection is unspecified, the default connection is used.
807814
* The default connection is the last connection made by pg_connect
808815
* or pg_pconnect.
816+
* As of PHP 8.1.0, using the default connection is deprecated.
809817
* @param string $param_name Possible param_name values include server_version,
810818
* server_encoding, client_encoding,
811819
* is_superuser, session_authorization,
@@ -896,6 +904,7 @@ function pg_pconnect(string $connection_string, int $flags = 0)
896904
* When connection is NULL, the default connection is used.
897905
* The default connection is the last connection made by pg_connect
898906
* or pg_pconnect.
907+
* As of PHP 8.1.0, using the default connection is deprecated.
899908
* @throws PgsqlException
900909
*
901910
*/
@@ -938,6 +947,7 @@ function pg_ping($connection = null): void
938947
* When connection is unspecified, the default connection is used.
939948
* The default connection is the last connection made by pg_connect
940949
* or pg_pconnect.
950+
* As of PHP 8.1.0, using the default connection is deprecated.
941951
* @param string $stmtname The name to give the prepared statement. Must be unique per-connection. If
942952
* "" is specified, then an unnamed statement is created, overwriting any
943953
* previously defined unnamed statement.
@@ -984,6 +994,7 @@ function pg_prepare($connection = null, string $stmtname = null, string $query =
984994
* When connection is unspecified, the default connection is used.
985995
* The default connection is the last connection made by pg_connect
986996
* or pg_pconnect.
997+
* As of PHP 8.1.0, using the default connection is deprecated.
987998
* @param string $data A line of text to be sent directly to the PostgreSQL backend. A NULL
988999
* terminator is added automatically.
9891000
* @throws PgsqlException
@@ -1034,6 +1045,7 @@ function pg_put_line($connection = null, string $data = null): void
10341045
* When connection is unspecified, the default connection is used.
10351046
* The default connection is the last connection made by pg_connect
10361047
* or pg_pconnect.
1048+
* As of PHP 8.1.0, using the default connection is deprecated.
10371049
* @param string $query The parameterized SQL statement. Must contain only a single statement.
10381050
* (multiple statements separated by semi-colons are not allowed.) If any parameters
10391051
* are used, they are referred to as $1, $2, etc.
@@ -1096,6 +1108,7 @@ function pg_query_params($connection = null, string $query = null, array $params
10961108
* When connection is unspecified, the default connection is used.
10971109
* The default connection is the last connection made by pg_connect
10981110
* or pg_pconnect.
1111+
* As of PHP 8.1.0, using the default connection is deprecated.
10991112
* @param string $query The SQL statement or statements to be executed. When multiple statements are passed to the function,
11001113
* they are automatically executed as one transaction, unless there are explicit BEGIN/COMMIT commands
11011114
* included in the query string. However, using multiple transactions in one function call is not recommended.
@@ -1281,6 +1294,7 @@ function pg_socket($connection)
12811294
* When connection is NULL, the default connection is used.
12821295
* The default connection is the last connection made by pg_connect
12831296
* or pg_pconnect.
1297+
* As of PHP 8.1.0, using the default connection is deprecated.
12841298
* @throws PgsqlException
12851299
*
12861300
*/

0 commit comments

Comments
 (0)