Breaking: Removed internal environment / state-manager subsystem
Description
The internal environment, state-manager and environment-builder subsystem
that
EXT: shipped under the namespaces
\FGTCLB\,
\FGTCLB\ and
\FGTCLB\ has been removed. Use the
standalone fgtclb/ extension
(namespace
\FGTCLB\) instead.
This is the removal step of the change deprecated in academic_base 2.4.0, see the deprecation notice.
Together with the classes the backward-compatibility class alias for
\FGTCLB\ (registered onto
\FGTCLB\ via
Migrations/ and its IDE stub
Migrations/) has been removed, as well as
the typo3/ requirement and its
extra. composer configuration that registered
the alias.
Impact
Code referencing any of the removed classes, interfaces or traits - including
the deprecated
\FGTCLB\
alias - no longer resolves and triggers a fatal error.
Affected installations
Installations referencing the removed internal environment / state-manager
classes or the deprecated
State alias directly. Within the
academic extensions this concerned only
EXT: and
EXT:, which were already switched to
fgtclb/.
Migration
Require fgtclb/ and replace the namespace prefix
\FGTCLB\ with
\FGTCLB\, and
\FGTCLB\ with
\FGTCLB\. Class names, method
signatures and behaviour are compatible. Version 2 of that extension, which
3.0 requires, has no
Core12
namespace, so code that used
\FGTCLB\ names the class of the
running TYPO3 version instead, see Important: fgtclb/environment-state-manager 2 is required.
// Before
use FGTCLB\AcademicBase\Environment\StateManagerInterface;
use FGTCLB\AcademicBase\Environment\StateBuildContext;
// After
use FGTCLB\EnvironmentStateManager\StateManagerInterface;
use FGTCLB\EnvironmentStateManager\StateBuildContext;