Skip to content

Commit 0d52bbc

Browse files
committed
Merge branch 'release/5.2.0'
2 parents 5f4202a + e5c139b commit 0d52bbc

111 files changed

Lines changed: 5220 additions & 6619 deletions

File tree

Some content is hidden

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

.ddev/config.yaml

Lines changed: 118 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -3,73 +3,95 @@ type: typo3
33
docroot: .build/public
44
php_version: "8.2"
55
webserver_type: apache-fpm
6-
router_http_port: "80"
7-
router_https_port: "443"
86
xdebug_enabled: false
97
additional_hostnames: []
108
additional_fqdns: []
119
database:
12-
type: mysql
13-
version: "8.0"
14-
nfs_mount_enabled: false
15-
mutagen_enabled: false
10+
type: mysql
11+
version: "8.0"
1612
use_dns_when_possible: true
1713
composer_version: "2"
1814
web_environment:
19-
- PATH=/var/www/html/.build/bin:$PATH
20-
- TYPO3_CONTEXT=Development
21-
- typo3DatabaseHost=db
22-
- typo3DatabaseName=t3func
23-
- typo3DatabasePassword=root
24-
- typo3DatabaseUsername=root
15+
- PATH=/var/www/html/.build/bin:$PATH
16+
- TYPO3_CONTEXT=Development
17+
- typo3DatabaseHost=db
18+
- typo3DatabaseName=t3func
19+
- typo3DatabasePassword=root
20+
- typo3DatabaseUsername=root
2521
nodejs_version: "16"
22+
corepack_enable: false
23+
host_db_port: "59013"
2624

27-
# Key features of ddev's config.yaml:
25+
# Key features of DDEV's config.yaml:
2826

2927
# name: <projectname> # Name of the project, automatically provides
3028
# http://projectname.ddev.site and https://projectname.ddev.site
29+
# If the name is omitted, the project will take the name of the enclosing directory,
30+
# which is useful if you want to have a copy of the project side by side with this one.
3131

32-
# type: <projecttype> # drupal6/7/8, backdrop, typo3, wordpress, php
32+
# type: <projecttype> # backdrop, cakephp, craftcms, drupal, drupal6, drupal7, drupal8, drupal9, drupal10, drupal11, generic, laravel, magento, magento2, php, shopware6, silverstripe, symfony, typo3, wordpress
33+
# See https://ddev.readthedocs.io/en/stable/users/quickstart/ for more
34+
# information on the different project types
3335

3436
# docroot: <relative_path> # Relative path to the directory containing index.php.
3537

36-
# php_version: "7.4" # PHP version to use, "5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2"
38+
# php_version: "8.3" # PHP version to use, "5.6" through "8.4"
3739

3840
# You can explicitly specify the webimage but this
39-
# is not recommended, as the images are often closely tied to ddev's' behavior,
41+
# is not recommended, as the images are often closely tied to DDEV's' behavior,
4042
# so this can break upgrades.
4143

4244
# webimage: <docker_image> # nginx/php docker image.
4345

4446
# database:
45-
# type: <dbtype> # mysql, mariadb
46-
# version: <version> # database version, like "10.3" or "8.0"
47-
# Note that mariadb_version or mysql_version from v1.18 and earlier
48-
# will automatically be converted to this notation with just a "ddev config --auto"
47+
# type: <dbtype> # mysql, mariadb, postgres
48+
# version: <version> # database version, like "10.11" or "8.0"
49+
# MariaDB versions can be 5.5-10.8, 10.11, and 11.4.
50+
# MySQL versions can be 5.5-8.0.
51+
# PostgreSQL versions can be 9-17.
4952

50-
# router_http_port: <port> # Port to be used for http (defaults to port 80)
51-
# router_https_port: <port> # Port for https (defaults to 443)
53+
# router_http_port: <port> # Port to be used for http (defaults to global configuration, usually 80)
54+
# router_https_port: <port> # Port for https (defaults to global configuration, usually 443)
5255

53-
# xdebug_enabled: false # Set to true to enable xdebug and "ddev start" or "ddev restart"
56+
# xdebug_enabled: false # Set to true to enable Xdebug and "ddev start" or "ddev restart"
5457
# Note that for most people the commands
55-
# "ddev xdebug" to enable xdebug and "ddev xdebug off" to disable it work better,
56-
# as leaving xdebug enabled all the time is a big performance hit.
58+
# "ddev xdebug" to enable Xdebug and "ddev xdebug off" to disable it work better,
59+
# as leaving Xdebug enabled all the time is a big performance hit.
5760

58-
# xhprof_enabled: false # Set to true to enable xhprof and "ddev start" or "ddev restart"
61+
# xhgui_https_port: 8142
62+
# Can be used to change the router https port for xhgui application
63+
# Very rarely used
64+
65+
# xhgui_http_port: 8143
66+
# Can be used to change the router http port for xhgui application
67+
# Very rarely used
68+
69+
# host_xhgui_port: 8142
70+
# Can be used to change the host binding port of the xhgui
71+
# application. Rarely used; only when port conflict and
72+
# bind_all_ports is used (normally with router disabled)
73+
74+
# xhprof_enabled: false # Set to true to enable Xhprof and "ddev start" or "ddev restart"
5975
# Note that for most people the commands
60-
# "ddev xhprof" to enable xhprof and "ddev xhprof off" to disable it work better,
61-
# as leaving xhprof enabled all the time is a big performance hit.
76+
# "ddev xhprof" to enable Xhprof and "ddev xhprof off" to disable it work better,
77+
# as leaving Xhprof enabled all the time is a big performance hit.
78+
79+
# xhprof_mode: [prepend|xhgui|global]
80+
# Set to "xhgui" to enable XHGui features
81+
# "xhgui" will become default in a future major release
6282

63-
# webserver_type: nginx-fpm # or apache-fpm
83+
# webserver_type: nginx-fpm, apache-fpm, generic
6484

6585
# timezone: Europe/Berlin
86+
# If timezone is unset, DDEV will attempt to derive it from the host system timezone
87+
# using the $TZ environment variable or the /etc/localtime symlink.
6688
# This is the timezone used in the containers and by PHP;
6789
# it can be set to any valid timezone,
6890
# see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
6991
# For example Europe/Dublin or MST7MDT
7092

7193
# composer_root: <relative_path>
72-
# Relative path to the composer root directory from the project root. This is
94+
# Relative path to the Composer root directory from the project root. This is
7395
# the directory which contains the composer.json and where all Composer related
7496
# commands are executed.
7597

@@ -82,12 +104,17 @@ nodejs_version: "16"
82104
# - preview
83105
# - snapshot
84106
# Alternatively, an explicit Composer version may be specified, for example "2.2.18".
85-
# To reinstall Composer after the image was built, run "ddev debug refresh".
107+
# To reinstall Composer after the image was built, run "ddev debug rebuild".
86108

87-
# nodejs_version: "16"
88-
# change from the default system Node.js version to another supported version, like 12, 14, 17, 18.
89-
# Note that you can use 'ddev nvm' or nvm inside the web container to provide nearly any
90-
# Node.js version, including v6, etc.
109+
# nodejs_version: "22"
110+
# change from the default system Node.js version to any other version.
111+
# See https://ddev.readthedocs.io/en/stable/users/configuration/config/#nodejs_version for more information
112+
# and https://www.npmjs.com/package/n#specifying-nodejs-versions for the full documentation,
113+
# Note that using of 'ddev nvm' is discouraged because "nodejs_version" is much easier to use,
114+
# can specify any version, and is more robust than using 'nvm'.
115+
116+
# corepack_enable: false
117+
# Change to 'true' to 'corepack enable' and gain access to latest versions of yarn/pnpm
91118

92119
# additional_hostnames:
93120
# - somename
@@ -101,10 +128,26 @@ nodejs_version: "16"
101128
# would provide http and https URLs for "example.com" and "sub1.example.com"
102129
# Please take care with this because it can cause great confusion.
103130

104-
# upload_dir: custom/upload/dir
105-
# would set the destination path for ddev import-files to <docroot>/custom/upload/dir
106-
# When mutagen is enabled this path is bind-mounted so that all the files
107-
# in the upload_dir don't have to be synced into mutagen
131+
# upload_dirs: "custom/upload/dir"
132+
#
133+
# upload_dirs:
134+
# - custom/upload/dir
135+
# - ../private
136+
#
137+
# would set the destination paths for ddev import-files to <docroot>/custom/upload/dir
138+
# When Mutagen is enabled this path is bind-mounted so that all the files
139+
# in the upload_dirs don't have to be synced into Mutagen.
140+
141+
# disable_upload_dirs_warning: false
142+
# If true, turns off the normal warning that says
143+
# "You have Mutagen enabled and your 'php' project type doesn't have upload_dirs set"
144+
145+
# ddev_version_constraint: ""
146+
# Example:
147+
# ddev_version_constraint: ">= 1.22.4"
148+
# This will enforce that the running ddev version is within this constraint.
149+
# See https://github.com/Masterminds/semver#checking-version-constraints for
150+
# supported constraint formats
108151

109152
# working_dir:
110153
# web: /var/www/html
@@ -113,20 +156,25 @@ nodejs_version: "16"
113156
# These values specify the destination directory for ddev ssh and the
114157
# directory in which commands passed into ddev exec are run.
115158

116-
# omit_containers: [db, dba, ddev-ssh-agent]
159+
# omit_containers: [db, ddev-ssh-agent]
117160
# Currently only these containers are supported. Some containers can also be
118161
# omitted globally in the ~/.ddev/global_config.yaml. Note that if you omit
119-
# the "db" container, several standard features of ddev that access the
162+
# the "db" container, several standard features of DDEV that access the
120163
# database container will be unusable. In the global configuration it is also
121164
# possible to omit ddev-router, but not here.
122165

123-
# nfs_mount_enabled: false
124-
# Great performance improvement but requires host configuration first.
125-
# See https://ddev.readthedocs.io/en/latest/users/install/performance/#nfs
126-
127-
# mutagen_enabled: false
128-
# Performance improvement using mutagen asynchronous updates.
129-
# See https://ddev.readthedocs.io/en/latest/users/install/performance/#mutagen
166+
# performance_mode: "global"
167+
# DDEV offers performance optimization strategies to improve the filesystem
168+
# performance depending on your host system. Should be configured globally.
169+
#
170+
# If set, will override the global config. Possible values are:
171+
# - "global": uses the value from the global config.
172+
# - "none": disables performance optimization for this project.
173+
# - "mutagen": enables Mutagen for this project.
174+
# - "nfs": enables NFS for this project.
175+
#
176+
# See https://ddev.readthedocs.io/en/stable/users/install/performance/#nfs
177+
# See https://ddev.readthedocs.io/en/stable/users/install/performance/#mutagen
130178

131179
# fail_on_hook_fail: False
132180
# Decide whether 'ddev start' should be interrupted by a failing hook
@@ -147,20 +195,12 @@ nodejs_version: "16"
147195
# The host port binding for the ddev-dbserver can be explicitly specified. It is dynamic
148196
# unless explicitly specified.
149197

150-
# phpmyadmin_port: "8036"
151-
# phpmyadmin_https_port: "8037"
152-
# The PHPMyAdmin ports can be changed from the default 8036 and 8037
153-
154-
# host_phpmyadmin_port: "8036"
155-
# The phpmyadmin (dba) port is not normally bound on the host at all, instead being routed
156-
# through ddev-router, but it can be specified and bound.
157-
158-
# mailhog_port: "8025"
159-
# mailhog_https_port: "8026"
160-
# The MailHog ports can be changed from the default 8025 and 8026
198+
# mailpit_http_port: "8025"
199+
# mailpit_https_port: "8026"
200+
# The Mailpit ports can be changed from the default 8025 and 8026
161201

162-
# host_mailhog_port: "8025"
163-
# The mailhog port is not normally bound on the host at all, instead being routed
202+
# host_mailpit_port: "8025"
203+
# The mailpit port is not normally bound on the host at all, instead being routed
164204
# through ddev-router, but it can be bound directly to localhost if specified here.
165205

166206
# webimage_extra_packages: [php7.4-tidy, php-bcmath]
@@ -183,32 +223,32 @@ nodejs_version: "16"
183223

184224
# ngrok_args: --basic-auth username:pass1234
185225
# Provide extra flags to the "ngrok http" command, see
186-
# https://ngrok.com/docs#http or run "ngrok http -h"
226+
# https://ngrok.com/docs/ngrok-agent/config or run "ngrok http -h"
187227

188228
# disable_settings_management: false
189-
# If true, ddev will not create CMS-specific settings files like
190-
# Drupal's settings.php/settings.ddev.php or TYPO3's AdditionalConfiguration.php
229+
# If true, DDEV will not create CMS-specific settings files like
230+
# Drupal's settings.php/settings.ddev.php or TYPO3's additional.php
191231
# In this case the user must provide all such settings.
192232

193233
# You can inject environment variables into the web container with:
194234
# web_environment:
195-
# - SOMEENV=somevalue
196-
# - SOMEOTHERENV=someothervalue
235+
# - SOMEENV=somevalue
236+
# - SOMEOTHERENV=someothervalue
197237

198238
# no_project_mount: false
199-
# (Experimental) If true, ddev will not mount the project into the web container;
239+
# (Experimental) If true, DDEV will not mount the project into the web container;
200240
# the user is responsible for mounting it manually or via a script.
201241
# This is to enable experimentation with alternate file mounting strategies.
202242
# For advanced users only!
203243

204244
# bind_all_interfaces: false
205245
# If true, host ports will be bound on all network interfaces,
206-
# not just the localhost interface. This means that ports
246+
# not the localhost interface only. This means that ports
207247
# will be available on the local network if the host firewall
208248
# allows it.
209249

210250
# default_container_timeout: 120
211-
# The default time that ddev waits for all containers to become ready can be increased from
251+
# The default time that DDEV waits for all containers to become ready can be increased from
212252
# the default 120. This helps in importing huge databases, for example.
213253

214254
#web_extra_exposed_ports:
@@ -221,12 +261,16 @@ nodejs_version: "16"
221261
# https_port: 4000
222262
# http_port: 3999
223263
# Allows a set of extra ports to be exposed via ddev-router
264+
# Fill in all three fields even if you don’t intend to use the https_port!
265+
# If you don’t add https_port, then it defaults to 0 and ddev-router will fail to start.
266+
#
224267
# The port behavior on the ddev-webserver must be arranged separately, for example
225268
# using web_extra_daemons.
226269
# For example, with a web app on port 3000 inside the container, this config would
227270
# expose that web app on https://<project>.ddev.site:9999 and http://<project>.ddev.site:9998
228271
# web_extra_exposed_ports:
229-
# - container_port: 3000
272+
# - name: myapp
273+
# container_port: 3000
230274
# http_port: 9998
231275
# https_port: 9999
232276

@@ -241,10 +285,10 @@ nodejs_version: "16"
241285
# override_config: false
242286
# By default, config.*.yaml files are *merged* into the configuration
243287
# But this means that some things can't be overridden
244-
# For example, if you have 'nfs_mount_enabled: true'' you can't override it with a merge
288+
# For example, if you have 'use_dns_when_possible: true'' you can't override it with a merge
245289
# and you can't erase existing hooks or all environment variables.
246290
# However, with "override_config: true" in a particular config.*.yaml file,
247-
# 'nfs_mount_enabled: false' can override the existing values, and
291+
# 'use_dns_when_possible: false' can override the existing values, and
248292
# hooks:
249293
# post-start: []
250294
# or
@@ -254,8 +298,8 @@ nodejs_version: "16"
254298
# can have their intended affect. 'override_config' affects only behavior of the
255299
# config.*.yaml file it exists in.
256300

257-
# Many ddev commands can be extended to run tasks before or after the
258-
# ddev command is executed, for example "post-start", "post-import-db",
301+
# Many DDEV commands can be extended to run tasks before or after the
302+
# DDEV command is executed, for example "post-start", "post-import-db",
259303
# "pre-composer", "post-composer"
260304
# See https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/ for more
261305
# information on the commands that can be extended and the tasks you can define

.github/workflows/ci.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,23 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
typo3: ['^11', '^12']
28-
php: ['7.4', '8.0', '8.1']
29-
mysql: ['5.7', '8.0']
30-
exclude:
31-
- typo3: '^11'
32-
mysql: '8.0'
27+
typo3: ['^12', '^13']
28+
php: ['8.2', '8.3']
29+
include:
3330
- typo3: '^12'
34-
mysql: '5.7'
35-
- typo3: '^12'
36-
php: '7.4'
37-
- typo3: '^12'
38-
php: '8.0'
31+
php: '8.1'
3932

4033
name: Tests on TYPO3 ${{ matrix.typo3 }} with PHP${{ matrix.php }}
4134
steps:
4235
- id: checkout
43-
name: Checkout
44-
uses: actions/checkout@v3
36+
name: Checkout Code
37+
uses: actions/checkout@v4
4538

4639
- id: setup_mysql
47-
name: Set up MySQL ${{ matrix.mysql }}
40+
name: Set up MySQL 8.0
4841
uses: mirromutth/mysql-action@v1.1
4942
with:
50-
mysql version: ${{ matrix.mysql }}
43+
mysql version: 8.0
5144
mysql root password: 'root'
5245

5346
- id: setup_php
@@ -68,7 +61,7 @@ jobs:
6861
echo "timestamp=$(date +"%s")" >> $GITHUB_OUTPUT
6962
7063
- name: Cache Composer dependencies
71-
uses: actions/cache@v3
64+
uses: actions/cache@v4
7265
with:
7366
path: ${{ steps.composer-cache-vars.outputs.dir }}
7467
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ matrix.typo3 }}-${{ steps.composer-cache-vars.outputs.timestamp }}
@@ -95,6 +88,12 @@ jobs:
9588
run: |
9689
composer cgl:ci
9790
91+
- id: phpstan
92+
name: PHPStan
93+
if: ${{ always() && steps.install.conclusion == 'success' }}
94+
run: |
95+
composer phpstan -- --error-format=github
96+
9897
TERUpload:
9998
needs: [ xliff, build ]
10099
if: startsWith(github.ref, 'refs/tags/')

.github/workflows/test-documentation.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: test documentation
22

3-
on: [ push, pull_request ]
3+
on:
4+
push:
5+
branches: [ develop, master ]
6+
tags: [ '*' ]
7+
pull_request:
8+
branches: [ develop ]
49

510
jobs:
611
tests:

0 commit comments

Comments
 (0)