- 22 Dec, 2020 1 commit
-
-
Benni Mack authored
Change-Id: Ibcf3165f1628bec14ee50aaa601606ae37977f0f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67238 Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- 05 Dec, 2020 1 commit
-
-
Benni Mack authored
In order to set up the dependencies for the upcoming TYPO3 v11 release, Core now requires symfony components in version 5.2 or higher. Used composer command: composer require symfony/mime:^5.2 symfony/mailer:^5.2 symfony/http-foundation:^5.2 symfony/finder:^5.2 symfony/expression-language:^5.2 symfony/dependency-injection:^5.2 symfony/console:^5.2 symfony/config:^5.2 symfony/routing:^5.2 symfony/var-dumper:^5.2 symfony/yaml:^5.2 symfony/property-access:^5.2 symfony/property-info:^5.2 --update-with-all-dependencies Resolves: #92994 Releases: master Change-Id: Ia54001583919d2da9b2107e0486fe7744a2ef220 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67006 Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Benni Mack <benni@typo3.org>
-
- 26 May, 2020 1 commit
-
-
This change reflects the master branch to be targeted to v11. Testing framework is raised as well to support v11. This also means that all bugfixes now need to target "master, 10.4" or "master, 10.4, 9.5" for critical bugfixes. All features go into master branch again. Resolves: #91469 Releases: master Change-Id: Ife0f9d0fcf5ff13d55acb89dee5138e0e0b781e9 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64573 Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
- 19 May, 2020 2 commits
-
-
Change-Id: I22eb57766cd6ddd8aa31447ccd374e52920c2010 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64529 Tested-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
TYPO3com <noreply@typo3.com> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
Change-Id: Ifd8e3cc62c5b0a27b0bc938e5dbc8cb136a1d07c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64528 Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
- 12 May, 2020 2 commits
-
-
Change-Id: I6e8b59634266786e07a0d80a6271914a26a7d7e4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64475 Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Change-Id: I22d5494ecd9cf12efbd6a7acec0b23b000340905 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64474 Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
- 28 Apr, 2020 2 commits
-
-
Benni Mack authored
Change-Id: I654ba61c86a66b41f147f32a43bba473258e4f39 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64336 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Benni Mack authored
Change-Id: I5c7f36e32298917e78f6de564fe9c19dca412015 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64335 Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- 21 Apr, 2020 2 commits
-
-
Change-Id: Ia7d214d29ca5fd958fd9c8169b2d76578cbeb511 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64292 Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Oliver Hader <oliver.hader@typo3.org>
-
Benni Mack authored
Change-Id: I8f9c86cfb5a9785e6884ebd643127cac91bbbd67 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64271 Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- 01 Apr, 2020 1 commit
-
-
Used composer command: composer req "phpdocumentor/type-resolver:^1.1.0" \ "phpdocumentor/reflection-docblock:^5.1.0" Output - Updating phpdocumentor/type-resolver (0.7.2 => 1.1.0) - Updating phpdocumentor/reflection-docblock (4.3.4 => 5.1.0) Resolves: #90886 Releases: master Change-Id: Ibbb03bfa646f661a44c94fdf1f8a758890d0944e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64008 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Susanne Moog <look@susi.dev>
-
- 04 Mar, 2020 1 commit
-
-
This change adds more links for Packagist to all TYPO3 System Extensions. This is especially relevant for Packagist to point to the main repository and provide all information for the subtree split packages. The support section now includes the following information: * chat: a link to "https://typo3.org/help" where finally also the link to Slack can be found * docs: a link to the Official Docs "https://docs.typo3.org" * issues: a link to the issue tracker at "https://forge.typo3.org" * source: a link to the TYPO3 main repository on Github "https://github.com/TYPO3/TYPO3.CMS" Unused support options for packagist.org in `typo3/cms` are removed. Resolves: #90622 Releases: master Change-Id: I08b4ec80cd2d06b70ea40439bcc33c08d3eb5f03 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63534 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Björn Jacob <bjoern.jacob@tritum.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Björn Jacob <bjoern.jacob@tritum.de> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- 25 Feb, 2020 2 commits
-
-
Change-Id: I0bdeb9a461dd2a6e5378075425412667f6126523 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63413 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
Change-Id: I46bd52fe097a1c9d212bc4b23951efbb1cee18d3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63412 Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
- 12 Feb, 2020 1 commit
-
-
Benni Mack authored
TYPO3 uses "phpdocumentor/reflection-docblock" (added in Jan 2019) but also added "webmozart/assert" which is not needed directly (as it is a subdependency). Thus, TYPO3 Core should only require what is directly used, therefore the dependency is removed. Used composer command: composer remove webmozart/assert Resolves: #90364 Releases: master Change-Id: Ief2787cb98c0080517f73e321ab34568b0addafb Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63209 Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- 22 Jan, 2020 2 commits
-
-
Resolves: #90172 Releases: master Change-Id: Iada5d83a36c6777aa9dc4733afcec89dc989a1d5 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63012 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Susanne Moog <look@susi.dev>
-
composer require phpdocumentor/reflection-docblock:"^4.3.2" composer require phpdocumentor/type-resolver:"~0.5" Upating phpdocumentor/reflection-docblock to at least 4.3.2 allows updating phpdocumentor/type-resolver to a version higher than 0.4 which is needed to get support for resolving collection types in doc blocks which enables the removal of the custom type resolving via extbase/Classes/Reflection/DocBlock/Tags/Var_.php. Releases: master Resolves: #89795 Change-Id: I2126dd9362e51f6dae9e6103c219295c5c3d679b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62438 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Susanne Moog <look@susi.dev>
-
- 10 Dec, 2019 1 commit
-
-
In order to let rector process tests, the autoloading of all processed classes needs to be intact. In TYPO3 there were a bunch of classes whose namespace were a bit wrong according to PSR-4 and there were some class that didn't fit the PSR-4 standard at all. Classes that could easily be fixed have been fixed. All others have either been registered via a class map in composer.json or they have been excluded from the processing of rector. This change does not apply rector rules to tests, it only enables rector to operate on tests due to fixed autoloading. Releases: master Resolves: #89900 Change-Id: Iaa4a5bb2677a5a9af374d780423d962dcc09ade2 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62583 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
- 03 Dec, 2019 2 commits
-
-
Benni Mack authored
Change-Id: I0e8abdb62a45326896fc75d9872eead478615dce Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62525 Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Benni Mack authored
Change-Id: I09bb29716abb1a7b1f4c8010c1d98c15ae90d808 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62523 Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- 25 Nov, 2019 1 commit
-
-
- Adjust namespaces of classes according to PSR-4 - Add a classmap for test fixtures Releases: master Resolves: #89706 Change-Id: Iefd73f8039eb3db4de419ecaab13a18f6abb23e2 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62341 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Jörg Bösche <typo3@joergboesche.de> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Mathias Brodala <mbrodala@pagemachine.de> Reviewed-by:
Jörg Bösche <typo3@joergboesche.de> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
-
- 21 Nov, 2019 1 commit
-
-
Benni Mack authored
TYPO3 Core v10 should rely on Symfony 4.4 (LTS release) and add support for 5.0 automatically. Symfony 4.4 made breaking changes to the Mailer and Mime components which now need adaptions. Used composer command: composer req "symfony/config":"^4.4 || ^5.0" \ "symfony/console":"^4.4 || ^5.0" \ "symfony/dependency-injection":"^4.4 || ^5.0" \ "symfony/expression-language":"^4.4 || ^5.0" \ "symfony/finder":"^4.4 || ^5.0" \ "symfony/mailer":"^4.4 || ^5.0" \ "symfony/mime":"^4.4 || ^5.0" \ "symfony/property-access":"^4.4 || ^5.0" \ "symfony/property-info":"^4.4 || ^5.0" \ "symfony/routing":"^4.4 || ^5.0" \ "symfony/yaml":"^4.4 || ^5.0" --update-with-all-dependencies Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 0 installs, 27 updates, 0 removals - Updating symfony/polyfill-ctype (v1.11.0 => v1.12.0) - Updating symfony/filesystem (v4.3.1 => v4.4.0) - Updating symfony/config (v4.3.2 => v4.4.0) - Updating symfony/service-contracts (v1.1.2 => v1.1.8) - Updating symfony/polyfill-php73 (v1.11.0 => v1.12.0) - Updating symfony/polyfill-mbstring (v1.11.0 => v1.12.0) - Updating symfony/console (v4.3.1 => v4.4.0) - Updating symfony/dependency-injection (v4.3.2 => v4.4.0) - Updating symfony/var-exporter (v4.3.1 => v4.4.0) - Updating symfony/cache-contracts (v1.1.1 => v1.1.7) - Updating psr/log (1.0.2 => 1.1.2) - Updating symfony/cache (v4.3.1 => v4.4.0) - Updating symfony/expression-language (v4.3.1 => v4.4.0) - Updating symfony/finder (v4.3.3 => v4.4.0) - Updating symfony/polyfill-php72 (v1.11.0 => v1.12.0) - Updating symfony/polyfill-intl-idn (v1.11.0 => v1.12.0) - Updating symfony/mime (v4.3.2 => v4.4.0) - Updating symfony/event-dispatcher-contracts (v1.1.1 => v1.1.7) - Updating symfony/event-dispatcher (v4.3.1 => v4.4.0) - Updating doctrine/lexer (v1.0.1 => 1.2.0) - Updating egulias/email-validator (2.1.9 => 2.1.11) - Updating symfony/mailer (v4.3.2 => v4.4.0) - Updating symfony/inflector (v4.3.1 => v4.4.0) - Updating symfony/property-access (v4.3.1 => v4.4.0) - Updating symfony/property-info (v4.3.1 => v4.4.0) - Updating symfony/routing (v4.3.1 => v4.4.0) - Updating symfony/yaml (v4.3.1 => v4.4.0) Resolves: #89721 Releases: master Change-Id: I834a79e3880b3a7a95429c2fe052657e21599ec7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62354 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- 11 Oct, 2019 1 commit
-
-
In order to compatible with https://getcomposer.org/doc/04-schema.md composer.json declarations had to be adjusted and dropped previous replace statements like this: "replace": { "core": "*" } Resolves: #89392 Releases: master, 9.5, 8.7 Change-Id: I4d530fe90551b16c54462a81a457d0bff9f2de8b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61944 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Simon Gilli <typo3@gilbertsoft.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Jörg Bösche <typo3@joergboesche.de> Reviewed-by:
Felix P. <f.pachowsky@neusta.de> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
- 01 Oct, 2019 2 commits
-
-
Change-Id: I81e89208e45b689b32f5c8df2392e8c2b24b8392 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61870 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
Change-Id: I6491f0abe1148a2fbea8b37709dd16b071657b35 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61869 Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
- 13 Sep, 2019 1 commit
-
-
The package phpdocumentor/reflection-docblock introduces major regressions starting with 4.3.2 that leads to getting nullable compound types (e.g. `?string|int`) parsed completely wrong, which currently also breaks in symfony/property-info. Also, it became stricter about type annotations which currently collides with Fluid. For this reason, the package is marked as conflicting starting with version 4.3.2. Resolves: #89167 Releases: master Change-Id: Ife9d14c01de5bea2179dafc572820f292039a202 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61702 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
-
- 23 Jul, 2019 1 commit
-
-
Change-Id: Ic8975554d38eef468af5454152a0200e21eb962d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61339 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Tymoteusz Motylewski <t.motylewski@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- 11 Jul, 2019 1 commit
-
-
Benjamin Franzke authored
This feature is a combined approach using two containers/concepts: 1) symfony/dependency-injection (now exposed as official TYPO3 API): Supports: autoconfiguration, autowiring using Service.{yaml,php} files 2) service providers (fork of the experimental interfaces in container-interop/service-provider, sometimes called PSR-11+) Supports: factory-style configuration using plain php code provided for internal use and possible future public use. 1) Symfony dependency injection is provided to be used by extensions and throughout the TYPO3 core for (auto)wiring of services (classes). Extensions can control symfony's dependency injection use a file located in Configuration/Services.yaml, if they need more flexibility they may also use Configuration/Services.php which can use symfony's ContainerConfigurator or ContainerBuilder. 2) Service providers are used (within TYPO3 core) to provide dependency injection for services used in the install tool which require failsafe boot. This is based on container-interop/service-provider. container-interop/service-provider is supposed to become a PSR but is still marked experimental, therefore this commit adds an implementation to TYPO3 provided for internal use only – it is not public API. We do still include it (as @interal fork) right now, to adapt to this upcoming PSR from the very beginning, in order to actually push the development of this proposal forward. Service providers in failsafe mode are consumed by a simplistic, non-compiled container. Symfony's container is too slow when running uncached (as the compilation, recursive directory lookups and autowiring needs to be performed on every invocation). We do not want caching for recovery maintenance tasks which would not be able to recover from scenarios with broken caches. Services that are configured through service providers, are both available in the non compiled install tool container and in the symfony container. They do *not* need to be defined twice. The two "worlds" are bridged using a ServiceProviderCompilerPass which creates symfony DI definitions from service-provider factories. The code is a derivative of the code from the (outdated) symfony bundle thecodingmachine/service-provider-bridge-bundle. Features -------- * inject* methods are now supported for all classes (not just Extbase) It is suggested to use constructor based injection, this feature is available to provide maximum compatibility to the old Extbase DI. * Autoconfiguration based on interface implementation. (current) autoconfigured interface are: SingletonInterface, MiddlewareInterface, RequestHandlerInterface, LoggerAwareInterface, ControllerInterface, ViewHelperInterface (we expect more to follow in subsequent commits) Included adaptions ------------------ In order to demonstrate and to be able to verify the features of this patch, some classes are adapted to use or support dependency injection: * RedirectHandler/RedirectService autowired/autoconfigured * Application classes and their dependencies are manually wired in service providers. This is required as the application runs in fail- safe mode when there is no configuration available (first install) * MiddlewareStack is composed in service providers and injected as a RequestHandler into the Http\Application classes (in order to prevent injecting the Container, which would be an anti pattern). * Middleware configuration is treated as service (like a registry), and retrieval is provided through service providers (the service providers default to the existing middleware configuration format) * The Middleware dispatcher now first tries to retrieve classes from the PSR-11 container, falling back to makeInstance if not available * Dependency Injection using symfony for all core Extbase Controllers * A Services.yaml is added for each core extension which contains classes that are used in frontend/backend context * A LateBoot service is added for install tool DI vs ext_localconf – loading order, legacy makeInstance support ---------------------------------------------------------------- Dependency Injection containers solve most of the tasks that ext_localconf.php and GeneralUtility::makeInstance solve for Singletons: Service configuration and instance management. (Symfony) DI could therefore be used to replace both in the long run. Both are doing similar tasks when talking about Singletons: They create and configure services that are stored and shared in a central memory storage (container for DI, GU::$singletonInstances for our legacy TYPO3 case). That means they both actually conflict right now – in terms of: Who is responsible for creating a class? We've made a decision to connect these both: GeneralUtility::makeInstance will offload instantiation to the Container if the class is a) available and b) no runtime constructor arguments have been passed to makeInstance (which symfony DI doesn't support). The DI container itself does provides backwards compatibility to XCLASSES and class aliases use a new internal helper method makeInstanceForDi. ext_localconf's main design flaw is the mixture of initialization and configuration composition without assurance that all configuration is available before a configuration-dependent class is instantiated. Proper DI first reads all configuration and then performs all service injections on demand and pre calculated using a dependency tree – and therefore always in proper sequence. What we *don't* want (+ reasons) ------------------------------- * Symfony Bundles pro: provide a defined way for container configuration) con: Requires the Symfony HTTP kernel which is not compatible with PSR7 * Usage of Symfony\DependencyInjection\ExtensionInterface con: It is not useful as it cannot add new compiler passes * Handling of prototypes that need dependency injection *and* a way to to get custom constructor arguments passed (individual per class) While symfony DI can handle prototypes (called 'shared: false'), it does not support passing constructor arguments like the Extbase object manager does. We'll advocate to using a factory pattern for those prototypes instead. * Circular dependencies: This is not supported by symfony DI and isn't possible with service providers either Future changes (left out for brevity) ------------------------------------- * (cli) Build tool to warmup DI cache/state during deployment * Adaptions to (all) core dispatchers to prefer a PSR-11 container over GeneralUtility::makeInstance Dependency changes ------------------ composer require symfony/dependency-injection:^4.1 symfony/config:^4.1 Releases: master Resolves: #88689 Resolves: #84112 Change-Id: I8efd817066b528a5953c56fdd027cb94b2bb8eb3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/58255 Tested-by:
Tobi Kretschmann <tobi@tobishome.de> Tested-by:
Jörg Bösche <typo3@joergboesche.de> Tested-by:
Alexander Schnitzler <review.typo3.org@alexanderschnitzler.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Tobi Kretschmann <tobi@tobishome.de> Reviewed-by:
Jörg Bösche <typo3@joergboesche.de> Reviewed-by:
Alexander Schnitzler <review.typo3.org@alexanderschnitzler.de> Reviewed-by:
Benjamin Franzke <bfr@qbus.de>
-
- 05 Feb, 2019 1 commit
-
-
ObjectAccess had two kinds of runtime reflection calls: 1) To gather data about object properties and methods 2) To make non public properties accessible The first one is tackled by using class schema instances and by using the property accessor of symfony/property-access. The latter is tackled by deprecating all method arguments that trigger reflection to make properties accessible. In the future, gettable/settable properties need to be either public or have a getter (get*/has*/is*) or setter. Releases: master Resolves: #87332 Change-Id: I6ecef81de7aa4cc1244166d683874a1a87ac6bb7 Reviewed-on: https://review.typo3.org/59331 Reviewed-by:
André Schließer <andy.schliesser@gmail.com> Tested-by:
André Schließer <andy.schliesser@gmail.com> Reviewed-by:
Andreas Wolf <andreas.wolf@typo3.org> Tested-by:
Andreas Wolf <andreas.wolf@typo3.org>
-
- 03 Feb, 2019 1 commit
-
-
This patch introduces the requirement to symfony/property-info which provides a neat api to extract information about properties via several different extractors. The package comes with a PhpDocExtractor, which is kind of a drop in replacement (functional wise) for the extbase DocCommentParser which has been removed. Along with the replacement of the doc block extractor the package comes with an api to fetch context data that enables us to resolve non fully qualified class names. This is now possible: ``` use TYPO3\CMS\Extbase\Persistence\ObjectStorage; use ExtbaseTeam\BlogExample\Domain\Model\Comment; class Post { /* * @var ObjectStorage<Comment> */ public $comments; } ``` Important: This only works in extbase models as the reflection costs are high and the information is only needed in this case. The non fully qualified class name is now also supported for injection properties, although it is still recommended to avoid injection properties in favor of injection methods or constructor injection. Example: ``` use TYPO3\CMS\Extbase\Annotation as Extbase; use TYPO3\CMS\Extbase\Configuration\ConfigurationManager; class Service { /* * @Extbase\Inject * @var ConfigurationManager */ public $configurationManager; } ``` Releases: master Resolves: #87457 Change-Id: I006aeb737b4bb9790fda257e12ba46a105d9b113 Reviewed-on: https://review.typo3.org/59454 Tested-by:
TYPO3com <noreply@typo3.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Richard Haeser <richard@maxserv.com> Tested-by:
Richard Haeser <richard@maxserv.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
-
- 20 Dec, 2018 1 commit
-
-
Extbase extension is the last core extension that delivered class aliases. Drop them. Resolves: #87240 Releases: master Change-Id: I89074e9d32a4f9f639199edf12c2ebd71be2f8e4 Reviewed-on: https://review.typo3.org/59239 Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl>
-
- 14 Dec, 2018 3 commits
-
-
Benni Mack authored
In order to distinguish between v10-dev / dev-master, and 9.5, all dependencies are updated to v10.0.0-dev. For ext_emconf.php the fixed version 10.0.0 is used as in all other branches. Resolves: #87159 Releases: master Change-Id: Ie1f135663527f8c7d1654e085b874d699b677529 Reviewed-on: https://review.typo3.org/59150 Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
-
Change-Id: I99d51f3836de8d062bc5503bcc58e05cdfacb83c Reviewed-on: https://review.typo3.org/59145 Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
-
Change-Id: Iee75e14be97ac5018cedf4f7f94664d8d4fe43f0 Reviewed-on: https://review.typo3.org/59144 Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org>
-
- 11 Dec, 2018 2 commits
-
-
Change-Id: If92f54c5a28edba2dc330ca8e32e5dcfda817f6f Reviewed-on: https://review.typo3.org/59116 Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org>
-
Change-Id: Ib5214342439fd510cfd599d9880b1612ff9b4cc1 Reviewed-on: https://review.typo3.org/59115 Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org>
-
- 30 Oct, 2018 2 commits
-
-
Change-Id: If96e59eef0e6be1eac2e58e2d50cf79ba70d6b16 Reviewed-on: https://review.typo3.org/58796 Reviewed-by:
Nicole Cordes <typo3@cordes.co> Tested-by:
Nicole Cordes <typo3@cordes.co> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org>
-
Change-Id: Ic1c6183af103b9c957b85d046ff2564348f165bc Reviewed-on: https://review.typo3.org/58794 Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org>
-
- 02 Oct, 2018 1 commit
-
-
Change-Id: If916407e7a7d9d54777ecee641bee5a604885ce2 Reviewed-on: https://review.typo3.org/58556 Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Susanne Moog <susanne.moog@typo3.org> Tested-by:
Susanne Moog <susanne.moog@typo3.org> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org>
-