Skip to content

Commit 250c920

Browse files
committed
upgrade docs job to 8.4
1 parent 8c9a020 commit 250c920

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup PHP
2222
uses: shivammathur/setup-php@verbose
2323
with:
24-
php-version: "8.1"
24+
php-version: "8.4"
2525
- name: Extract phpDocumentor
2626
id: extract
2727
uses: shrink/actions-docker-extract@v2

.kokoro/docs/docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM gcr.io/gcp-runtimes/ubuntu_20_0_4
22
ENV PHP_DIR=/opt/php80
3-
ENV PHP_VERSION=8.1.18
4-
ENV PHP_SRC_DIR=/usr/local/src/php81-build
3+
ENV PHP_VERSION=8.4.14
4+
ENV PHP_SRC_DIR=/usr/local/src/php84-build
55
ENV PATH=${PATH}:/usr/local/bin:${PHP_DIR}/bin
66

77
RUN apt-get update && \
@@ -36,7 +36,7 @@ RUN apt-get update && \
3636
# Remove old version of PHP
3737
RUN apt purge -y php7.0-common
3838

39-
# Install PHP 8.1
39+
# Install PHP 8.4
4040
RUN ln -s /usr/lib/libc-client.a /usr/lib/x86_64-linux-gnu/libc-client.a && \
4141
mkdir -p ${PHP_DIR} ${PHP_SRC_DIR} ${PHP_DIR}/lib/conf.d && \
4242
cd ${PHP_SRC_DIR} && \

dev/src/DocFx/Node/XrefTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ trait XrefTrait
3030
*
3131
* @see https://github.com/protocolbuffers/protobuf/blob/00a9043d0d79b65b47a048a20d01b16618c8396a/src/google/protobuf/compiler/php/names.cc#L18-L34
3232
*/
33-
const RESERVED_NAMES = [
33+
private const RESERVED_NAMES = [
3434
'abstract', 'and', 'array', 'as', 'break',
3535
'callable', 'case', 'catch', 'class', 'clone',
3636
'const', 'continue', 'declare', 'default', 'die',

0 commit comments

Comments
 (0)