Skip to content

Commit 0e82bdf

Browse files
committed
add missing PHP 8.4 entities
1 parent 09c9a72 commit 0e82bdf

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

PhpStormStubsMap.php

+3
Original file line numberDiff line numberDiff line change
@@ -4882,6 +4882,7 @@ final class PhpStormStubsMap
48824882
'pg_send_prepare' => 'pgsql/pgsql.php',
48834883
'pg_send_query' => 'pgsql/pgsql.php',
48844884
'pg_send_query_params' => 'pgsql/pgsql.php',
4885+
'pg_set_chunked_rows_size' => 'pgsql/pgsql.php',
48854886
'pg_set_client_encoding' => 'pgsql/pgsql.php',
48864887
'pg_set_error_context_visibility' => 'pgsql/pgsql.php',
48874888
'pg_set_error_verbosity' => 'pgsql/pgsql.php',
@@ -8661,6 +8662,7 @@ final class PhpStormStubsMap
86618662
'LIBXML_NONET' => 'libxml/libxml.php',
86628663
'LIBXML_NOWARNING' => 'libxml/libxml.php',
86638664
'LIBXML_NOXMLDECL' => 'libxml/libxml.php',
8665+
'LIBXML_NO_XXE' => 'libxml/libxml.php',
86648666
'LIBXML_NSCLEAN' => 'libxml/libxml.php',
86658667
'LIBXML_PARSEHUGE' => 'libxml/libxml.php',
86668668
'LIBXML_PEDANTIC' => 'libxml/libxml.php',
@@ -10935,6 +10937,7 @@ final class PhpStormStubsMap
1093510937
'PGSQL_TRANSACTION_INERROR' => 'pgsql/pgsql.php',
1093610938
'PGSQL_TRANSACTION_INTRANS' => 'pgsql/pgsql.php',
1093710939
'PGSQL_TRANSACTION_UNKNOWN' => 'pgsql/pgsql.php',
10940+
'PGSQL_TUPLES_CHUNK' => 'pgsql/pgsql.php',
1093810941
'PGSQL_TUPLES_OK' => 'pgsql/pgsql.php',
1093910942
'PHP_AMQP_MAX_CHANNELS' => 'amqp/amqp.php',
1094010943
'PHP_BINARY' => 'Core/Core_d.php',

libxml/libxml.php

+2
Original file line numberDiff line numberDiff line change
@@ -350,4 +350,6 @@ function libxml_get_external_entity_loader(): ?callable {}
350350
* @since 8.4
351351
*/
352352
define('LIBXML_RECOVER', 1);
353+
354+
const LIBXML_NO_XXE = 8388608;
353355
// End of libxml v.

pgsql/pgsql.php

+6-1
Original file line numberDiff line numberDiff line change
@@ -2115,6 +2115,11 @@ function pg_put_copy_data(PgSql\Connection $connection, string $cmd): int {}
21152115
* @param resource $socket
21162116
*/
21172117
function pg_socket_poll($socket, int $read, int $write, int $timeout = -1): int {}
2118+
2119+
/**
2120+
* @since 8.4
2121+
*/
2122+
function pg_set_chunked_rows_size(Pgsql\Connection $connection, int $size): bool {}
21182123
/**
21192124
* @since 8.4
21202125
*/
@@ -2496,5 +2501,5 @@ function pg_jit(?PgSql\Connection $connection = null): array {}
24962501
const PGSQL_SHOW_CONTEXT_NEVER = 0;
24972502
const PGSQL_SHOW_CONTEXT_ERRORS = 1;
24982503
const PGSQL_SHOW_CONTEXT_ALWAYS = 2;
2499-
2504+
const PGSQL_TUPLES_CHUNK = 12;
25002505
// End of pgsql v.

tests/DockerImages/8.4/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.4.1-alpine
1+
FROM php:8.4-alpine
22

33
RUN set -eux; \
44
apk add --repository http://dl-cdn.alpinelinux.org/alpine/edge/community --no-cache --virtual .build-deps \

0 commit comments

Comments
 (0)