Skip to content

Commit 632cf7e

Browse files
committed
Merge branch 'tests_psalm_phpstan_phpseclib'
2 parents 64ad873 + 40d5421 commit 632cf7e

File tree

6,471 files changed

+231623
-631477
lines changed

Some content is hidden

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

6,471 files changed

+231623
-631477
lines changed

.circleci/config.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
resource_class: arm.medium
66
docker:
77
- image: cimg/base:current-22.04
8-
- image: mysql:8
8+
- image: mysql:8.3
99
environment:
1010
MYSQL_ALLOW_EMPTY_PASSWORD: true
1111
MYSQL_ROOT_PASSWORD: ''
@@ -53,8 +53,6 @@ jobs:
5353
libsqlite3-dev \
5454
libwebp-dev \
5555
libonig-dev \
56-
libkrb5-dev \
57-
libgssapi-krb5-2 \
5856
libcurl4-openssl-dev \
5957
libxml2-dev \
6058
libxslt1-dev \
@@ -69,7 +67,6 @@ jobs:
6967
`#snmp-mibs-downloader` \
7068
freetds-dev \
7169
`#unixodbc-dev` \
72-
libc-client-dev \
7370
dovecot-core \
7471
dovecot-pop3d \
7572
dovecot-imapd \
@@ -129,7 +126,6 @@ jobs:
129126
--enable-calendar \
130127
--enable-ftp \
131128
--with-enchant=/usr \
132-
--with-kerberos \
133129
--enable-sysvmsg \
134130
--with-ffi \
135131
--enable-zend-test \
@@ -149,8 +145,6 @@ jobs:
149145
--with-snmp \
150146
`#--with-unixODBC` \
151147
`#--with-pdo-odbc=unixODBC,/usr` \
152-
`#--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient` \
153-
`#--with-oci8=shared,instantclient,/opt/oracle/instantclient` \
154148
--with-config-file-path=/etc \
155149
--with-config-file-scan-dir=/etc/php.d \
156150
--with-pdo-firebird \
@@ -177,6 +171,8 @@ jobs:
177171
-d opcache.enable_cli=1 \
178172
-d opcache.jit_buffer_size=64M \
179173
-d opcache.jit=tracing \
174+
-d zend_test.observer.enabled=1 \
175+
-d zend_test.observer.show_output=0 \
180176
-P -q -x -j2 \
181177
-g FAIL,BORK,LEAK,XLEAK \
182178
--no-progress \

.cirrus.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,20 @@ env:
33

44
freebsd_task:
55
name: FREEBSD_DEBUG_NTS
6+
timeout_in: 50m
67
freebsd_instance:
7-
image_family: freebsd-13-2
8+
image_family: freebsd-13-3
9+
skip: "changesIncludeOnly('docs/**', 'NEWS', 'UPGRADING', 'UPGRADING.INTERNALS', '**/README.*', 'CONTRIBUTING.md', 'CODING_STANDARDS.md', '.circleci/**', 'EXTENSIONS', '**.md', 'docs-old/**')"
810
env:
911
ARCH: amd64
1012
install_script:
1113
#- sed -i -e 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf
1214
#- pkg upgrade -y
1315
- kldload accf_http
14-
- pkg install -y autoconf bison gmake re2c icu libiconv png freetype2 enchant2 bzip2 krb5 t1lib gmp tidyp libsodium libzip libxml2 libxslt openssl oniguruma pkgconf webp libavif
16+
- pkg install -y autoconf bison gmake re2c icu libiconv png freetype2 enchant2 bzip2 t1lib gmp tidyp libsodium libzip libxml2 libxslt openssl oniguruma pkgconf webp libavif
1517
script:
1618
- ./buildconf -f
17-
- ./configure --prefix=/usr/local --enable-debug --enable-option-checking=fatal --enable-fpm --with-pdo-sqlite --without-pear --with-bz2 --with-avif --with-jpeg --with-webp --with-freetype --enable-gd --enable-exif --with-zip --with-zlib --enable-soap --enable-xmlreader --with-xsl --with-libxml --enable-shmop --enable-pcntl --enable-mbstring --with-curl --enable-sockets --with-openssl --with-iconv=/usr/local --enable-bcmath --enable-calendar --enable-ftp --with-kerberos --with-ffi --enable-zend-test --enable-dl-test=shared --enable-intl --with-mhash --with-sodium --enable-werror --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
19+
- ./configure --prefix=/usr/local --enable-debug --enable-option-checking=fatal --enable-fpm --with-pdo-sqlite --without-pear --with-bz2 --with-avif --with-jpeg --with-webp --with-freetype --enable-gd --enable-exif --with-zip --with-zlib --enable-soap --enable-xmlreader --with-xsl --with-libxml --enable-shmop --enable-pcntl --enable-mbstring --with-curl --enable-sockets --with-openssl --with-iconv=/usr/local --enable-bcmath --enable-calendar --enable-ftp --with-ffi --enable-zend-test --enable-dl-test=shared --enable-intl --with-mhash --with-sodium --enable-werror --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
1820
- gmake -j2
1921
- mkdir /etc/php.d
2022
- gmake install

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
# Collapse generated files within git and pull request diff.
2323
**/*_arginfo.h linguist-generated -diff
24+
/main/gdb_inlined_script.c linguist-generated -diff
2425
/Zend/zend_vm_execute.h linguist-generated -diff
2526
/Zend/zend_vm_handlers.h linguist-generated -diff
2627
/Zend/zend_vm_opcodes.[ch] linguist-generated -diff

.github/CODEOWNERS

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# The following volunteers have self-identified as subject matter experts
2+
# or interested parties over a particular area of the php-src source code.
3+
# While requesting a review from someone does not obligate that person to
4+
# review a pull request, these reviewers might have valuable knowledge of
5+
# the problem area and could aid in deciding whether a pull request is ready
6+
# for merging.
7+
#
8+
# When changing this file, please make sure to commit the changes to the
9+
# earliest supported PHP branch (PHP-X.Y) and not only to the master branch.
10+
# GitHub reads the CODEOWNERS file from the pull request's targeted branch.
11+
# Commit changes here similar to bug fixes:
12+
# https://github.com/php/php-src/blob/master/CONTRIBUTING.md#pull-requests
13+
#
14+
# For more information, see the GitHub CODEOWNERS documentation:
15+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
16+
17+
/.github @TimWolla
18+
/build/gen_stub.php @kocsismate
19+
/ext/bcmath @Girgias @nielsdos @SakiTakamachi
20+
/ext/curl @adoy
21+
/ext/date @derickr
22+
/ext/dba @Girgias
23+
/ext/dom @nielsdos
24+
/ext/ffi @dstogov
25+
/ext/gd @devnexen
26+
/ext/gettext @devnexen
27+
/ext/gmp @Girgias
28+
/ext/intl @devnexen
29+
/ext/json @bukka
30+
/ext/libxml @nielsdos
31+
/ext/mbstring @alexdowad @youkidearitai
32+
/ext/mysqlnd @SakiTakamachi
33+
/ext/odbc @NattyNarwhal
34+
/ext/opcache @dstogov
35+
/ext/openssl @bukka
36+
/ext/pcntl @devnexen
37+
/ext/pdo @SakiTakamachi
38+
/ext/pdo_dblib @SakiTakamachi
39+
/ext/pdo_firebird @SakiTakamachi
40+
/ext/pdo_mysql @SakiTakamachi
41+
/ext/pdo_odbc @NattyNarwhal @SakiTakamachi
42+
/ext/pdo_pgsql @devnexen @SakiTakamachi
43+
/ext/pdo_sqlite @SakiTakamachi
44+
/ext/pgsql @devnexen
45+
/ext/random @TimWolla @zeriyoshi
46+
/ext/session @Girgias
47+
/ext/simplexml @nielsdos
48+
/ext/soap @nielsdos
49+
/ext/sockets @devnexen
50+
/ext/spl @Girgias
51+
/ext/standard @bukka
52+
/ext/xml @nielsdos
53+
/ext/xmlreader @nielsdos
54+
/ext/xmlwriter @nielsdos
55+
/ext/xsl @nielsdos
56+
/main @bukka
57+
/sapi/fpm @bukka
58+
/Zend/Optimizer @dstogov
59+
/Zend/zend.* @dstogov
60+
/Zend/zend_alloc.* @dstogov
61+
/Zend/zend_API.* @dstogov
62+
/Zend/zend_call_stack.* @arnaud-lb
63+
/Zend/zend_closures.* @dstogov
64+
/Zend/zend_execute.* @dstogov
65+
/Zend/zend_execute_API.c @dstogov
66+
/Zend/zend_gc.* @dstogov @arnaud-lb
67+
/Zend/zend_hash.* @dstogov
68+
/Zend/zend_inheritance.* @dstogov
69+
/Zend/zend_max_execution_timer.* @arnaud-lb
70+
/Zend/zend_object_handlers.* @dstogov
71+
/Zend/zend_objects.* @dstogov
72+
/Zend/zend_objects_API.* @dstogov
73+
/Zend/zend_opcode.* @dstogov
74+
/Zend/zend_string.* @dstogov
75+
/Zend/zend_type*.h @dstogov
76+
/Zend/zend_variables.* @dstogov
77+
/Zend/zend_vm* @dstogov
78+
*.stub.php @kocsismate

.github/actions/apk/action.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: apk
2+
runs:
3+
using: composite
4+
steps:
5+
- shell: sh
6+
run: |
7+
set -x
8+
9+
apk update -q
10+
apk add \
11+
util-linux \
12+
bash \
13+
sudo \
14+
build-base \
15+
autoconf \
16+
unzip \
17+
tar \
18+
bison \
19+
re2c \
20+
pkgconf \
21+
mysql-client \
22+
bzip2-dev \
23+
curl-dev \
24+
freetype-dev \
25+
gettext-dev \
26+
gnu-libiconv-dev \
27+
gmp-dev \
28+
icu-dev \
29+
icu-data-full \
30+
jpeg-dev \
31+
libffi-dev \
32+
libpng-dev \
33+
libsodium-dev \
34+
libwebp-dev \
35+
libxml2-dev \
36+
libxpm-dev \
37+
libxslt-dev \
38+
libzip-dev \
39+
oniguruma-dev \
40+
openssl-dev \
41+
readline-dev \
42+
sqlite-dev \
43+
tidyhtml-dev \
44+
gdbm-dev \
45+
lmdb-dev \
46+
argon2-dev \
47+
enchant2-dev \
48+
freetds-dev \
49+
imap-dev \
50+
net-snmp-dev \
51+
openldap-dev \
52+
unixodbc-dev \
53+
postgresql14-dev \
54+
tzdata \
55+
musl-locales \
56+
musl-locales-lang

.github/actions/apt-x32/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ runs:
2323
libffi-dev:i386 \
2424
libfreetype6-dev:i386 \
2525
libgmp-dev:i386 \
26-
libgssapi-krb5-2:i386 \
2726
libicu-dev:i386 \
2827
libjpeg-dev:i386 \
29-
libkrb5-dev:i386 \
3028
libonig-dev:i386 \
3129
libpng-dev:i386 \
3230
libpq-dev:i386 \
@@ -35,13 +33,11 @@ runs:
3533
libsodium-dev:i386 \
3634
libsqlite3-dev:i386 \
3735
libssl-dev:i386 \
38-
libtidy-dev:i386 \
3936
libwebp-dev:i386 \
4037
libxml2-dev:i386 \
4138
libxml2-dev:i386 \
4239
libxpm-dev:i386 \
4340
libxslt1-dev:i386 \
44-
libzip-dev:i386 \
4541
locales \
4642
make \
4743
pkg-config:i386 \

.github/actions/apt-x64/action.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: apt
2+
inputs:
3+
asan:
4+
default: false
5+
required: false
26
runs:
37
using: composite
48
steps:
@@ -37,18 +41,18 @@ runs:
3741
libxpm-dev \
3842
libzip-dev \
3943
libsqlite3-dev \
44+
libsqlite3-mod-spatialite \
4045
libwebp-dev \
46+
${{ inputs.asan == 'false' && 'libavif-dev' || '' }} \
4147
libonig-dev \
42-
libkrb5-dev \
43-
libgssapi-krb5-2 \
4448
libcurl4-openssl-dev \
4549
libxml2-dev \
4650
libxslt1-dev \
4751
libpq-dev \
48-
libreadline-dev \
52+
libedit-dev \
4953
libldap2-dev \
5054
libsodium-dev \
51-
libargon2-0-dev \
55+
libargon2-dev \
5256
libmm-dev \
5357
libsnmp-dev \
5458
postgresql \
@@ -59,7 +63,6 @@ runs:
5963
unixodbc-dev \
6064
llvm \
6165
clang \
62-
libc-client-dev \
6366
dovecot-core \
6467
dovecot-pop3d \
6568
dovecot-imapd \

.github/actions/brew/action.yml

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,25 @@ runs:
55
- shell: bash
66
run: |
77
set -x
8+
9+
# Patch brew to overwrite always
10+
formula_installer="$(brew --repo)"/Library/Homebrew/formula_installer.rb
11+
code=" keg.link\(verbose: verbose\?"
12+
sudo sed -Ei '' "s/$code.*/$code, overwrite: true\)/" "$formula_installer"
13+
14+
# Some packages exist on x86 but not arm, or vice versa.
15+
# Install them with reinstall to avoid warnings.
16+
brew reinstall autoconf webp tidy-html5 libzip libsodium icu4c curl
817
brew install \
9-
pkg-config \
10-
autoconf \
1118
bison \
1219
re2c
1320
brew install \
14-
15-
curl \
16-
krb5 \
1721
bzip2 \
1822
enchant \
1923
libffi \
20-
libpng \
21-
webp \
22-
freetype \
2324
intltool \
24-
icu4c \
2525
libiconv \
26-
zlib \
2726
t1lib \
28-
gd \
29-
libzip \
30-
gmp \
31-
tidy-html5 \
3227
libxml2 \
3328
libjpeg \
34-
libsodium \
35-
libxslt \
36-
postgresql
37-
brew link icu4c gettext --force
29+
libxslt

.github/actions/build-libmysqlclient/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ runs:
1515
set -x
1616
LIBMYSQL=${{ inputs.libmysql }}
1717
MYSQL_BASE=${LIBMYSQL%%-linux-*}
18-
MYSQL_VERSION=${MYSQL_BASE#*-}
1918
MYSQL_DIR=$HOME/$MYSQL_BASE
2019
mkdir -p $MYSQL_DIR
21-
URL=https://cdn.mysql.com/Downloads/MySQL-${MYSQL_VERSION%.*}/$LIBMYSQL
20+
URL=https://downloads.mysql.com/archives/get/p/23/file/$LIBMYSQL
2221
wget -nv $URL
2322
tar -xf $LIBMYSQL --strip-components=1 -C $MYSQL_DIR
2423
PDO_MYSQL=${MYSQL_DIR}

0 commit comments

Comments
 (0)