Bug #99260
Updated by Sybille Peters almost 2 years ago
Applying the patch "postgres-platform-variable-interpolation-php82-fix.diff":https://github.com/TYPO3/typo3/blob/11.5/Build/patches/postgres-platform-variable-interpolation-php82-fix.diff fails
It appears, this is only necessary for PHP 8.2 anyhow. TYPO3 11 only supports up to 8.1.
Following instructions from contribution guide (but for 11.5 branch).
* https://docs.typo3.org/m/typo3/guide-contributionworkflow/main/en-us/Setup/Git/Index.html#git-clone
* https://docs.typo3.org/m/typo3/guide-contributionworkflow/main/en-us/Appendix/SettingUpTypo3Ddev.html
Executed commands:
<pre><code class="shell">
git checkout 11.5
git clone git@github.com:typo3/typo3 .
Build/Scripts/runTests.sh -s composerInstall
</code></pre>
output:
<pre>
Creating network "local_default" with the default driver
Gathering patches from patch file.
Removing package doctrine/dbal so that it can be re-installed and re-patched.
- Removing doctrine/dbal (2.13.8)
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 0 updates, 0 removals
Gathering patches from patch file.
Gathering patches for dependencies. This might take a minute.
- Installing doctrine/dbal (2.13.8): Extracting archive
- Applying patches for doctrine/dbal
Build/patches/postgres-platform-variable-interpolation-php82-fix.diff ([BUGFIX] Avoid deprecated variable interpolation with PHP8.2)
Could not apply patch! Skipping. The error was: Cannot apply patch Build/patches/postgres-platform-variable-interpolation-php82-fix.diff
[Exception]
Cannot apply patch [BUGFIX] Avoid deprecated variable interpolation with PHP8.2 (Build/patches/postgres-platform-variable-interpolation-php82-fix.diff)!
</pre>