Review 11.5 Work in progress Orphaned

91073[WIP][POC] Add paths option not written into `LocalConfiguration.php`

Stefan Bürk CR 0 V -1 Easy +23 −0 updated 10/15/25, 08:36

Commit message

> Change pushed to be used in composer based projects as composer
> patch having this requirement and will be checked later if that
> make sense to be provided on main as a new feature.
>
> This is not officially maintained yet. Use on own risk.

This change introduces following new global configuration option
`$GLOBALS['TYPO3_CONF_VARS']['LOCALCONFIGURATION_SKIP_PATHS']`
defined as a list of array-paths to be removed and not written
to `LocalConfiguration.php`.

Many agencies and developers uses environment based configuration
in `AdditionalConfiguration.php` to set extenstion configuration
based on the environment, some of them dynamic and ending up in
receurring modified `LocalConfiguration.php` files being noise in
code management (git) and in some case leading to merge or deploy
issues. With the new option these agency can define which global
configuration keys, mainly `$GLOBALS['TYPO3_CONV_VARS']['EXTENSION'],
**must** not be written in the `LocalConfiguration.php` file on
persisting the values.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 2
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/73/91073/2 && git checkout FETCH_HEAD
Cherry-pick onto 11.5
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/73/91073/2 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V -1 Blocked
    • core-ci -1 CI

Files 1

Review log 24

  1. Stefan Bürk uploaded patch set 1 10/15/25, 07:59

  2. core-ci voted on patch set 1 V -1 10/15/25, 08:15 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/86691

  3. Stefan Bürk uploaded patch set 2 V -1 10/15/25, 08:27

  4. core-ci voted on patch set 2 V -1 10/15/25, 08:36 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/86694