[TASK] Convert Environment class to an injectable object.

This is step one in unwinding the Environment class.  It moves to
an object stored in a static variable, and everything is built
off of that.  I included one example of how the new-style will
be used.  Converting the zillion other uses will be follow-up
issues.  The static methods should also get marked deprecated
to point people toward the object properties.

Resolves: #94995
Releases: master
Change-Id: I620d8e690e9adc03a7dae4b0b83541be9bcd788b
92 jobs for main.73110.2 in 6 minutes and 40 seconds (queued for 10 seconds)
latest
Name Stage Failure
failed
functional mariadb 10.3 php 8.1 pre-merge 4/6 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance application mariadb php 8.1 pre-merge 12/13 Main
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-8
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-9
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional postgres 10 php 8.1 pre-merge 7/10 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional postgres 10 php 8.1 pre-merge 9/10 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional mariadb 10.3 php 8.1 pre-merge 2/6 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional postgres 10 php 8.1 pre-merge 1/10 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional sqlite php 8.1 pre-merge 3/5 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance application mariadb php 8.1 pre-merge 9/13 Main
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-8
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-9
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional postgres 10 php 8.1 pre-merge 8/10 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional sqlite php 8.1 pre-merge 4/5 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional postgres 10 php 8.1 pre-merge 6/10 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance install postgres php 8.1 pre-merge Main
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional mariadb 10.3 php 8.1 pre-merge 3/6 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance application mariadb php 8.1 pre-merge 5/13 Main
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-8
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-9
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance application mariadb php 8.1 pre-merge 7/13 Main
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-8
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-9
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance install sqlite php 8.1 pre-merge Main
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional sqlite php 8.1 pre-merge 5/5 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional postgres 10 php 8.1 pre-merge 3/10 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance application mariadb php 8.1 pre-merge 10/13 Main
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-8
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-9
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional sqlite php 8.1 pre-merge 1/5 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance application mariadb php 8.1 pre-merge 4/13 Main
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-8
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-9
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance application mariadb php 8.1 pre-merge 6/13 Main
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-8
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-9
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional deprecated postgres 10 php 8.1 pre-merge Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance application mariadb php 8.1 pre-merge 2/13 Main
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-8
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-9
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance application mariadb php 8.1 pre-merge 8/13 Main
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-8
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-9
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional postgres 10 php 8.1 pre-merge 4/10 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance application mariadb php 8.1 pre-merge 3/13 Main
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-8
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-9
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance install mariadb php 8.1 pre-merge Main
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance application mariadb php 8.1 pre-merge 13/13 Main
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-8
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-9
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance application mariadb php 8.1 pre-merge 11/13 Main
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-8
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-9
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
annotations php 8.1 pre-merge Main
Removing bin/
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional mariadb 10.3 php 8.1 pre-merge 1/6 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional postgres 10 php 8.1 pre-merge 2/10 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional postgres 10 php 8.1 pre-merge 5/10 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional deprecated mariadb 10.3 php 8.1 pre-merge Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional postgres 10 php 8.1 pre-merge 10/10 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance application mariadb php 8.1 pre-merge 1/13 Main
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-8
Removing typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-9
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
acceptance install mysql php 8.1 pre-merge Main
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/Tests/Acceptance/Support/_generated/
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional mariadb 10.3 php 8.1 pre-merge 5/6 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional sqlite php 8.1 pre-merge 2/5 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1

failed
functional mariadb 10.3 php 8.1 pre-merge 6/6 Main
Removing index.php
Removing typo3/index.php
Removing typo3/install.php
Removing typo3/sysext/core/bin/
Removing typo3conf/
Removing typo3temp/
Removing vendor/
HEAD is now at fe09b37259 [TASK] Convert Environment class to an injectable object.
ERROR: Job failed: exit code 1