- 02 Aug, 2016 1 commit
-
-
Exclude: typo3/sysext/core/Build/Configuration/TravisNginxFpm/ConfigureStartNginxFpm.sh typo3/sysext/core/Build/Scripts/splitFunctionalTests.sh typo3/sysext/core/Build/Scripts/xlfcheck.sh typo3/sysext/core/Build/Scripts/duplicateExceptionCodeCheck.sh typo3/sysext/core/Build/Scripts/cglFixMyCommit.sh typo3/sysext/core/bin/typo3 typo3/cli_dispatch.phpsh Resolves: #77363 Releases: master Change-Id: I70871c4ebfb964f396e087ba4bbb1205a4fd8fab Reviewed-on: https://review.typo3.org/49328 Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Bamboo TYPO3com <info@typo3.com> Reviewed-by:
Helmut Hummel <typo3@helhum.io> Tested-by:
Helmut Hummel <typo3@helhum.io>
-
- 22 Apr, 2016 1 commit
-
-
This patch adds missing column configuration to DataMapper call. Resolves: #74376 Releases: master, 7.6 Change-Id: I505a5e9f05338fde48fad9f49391095e47523409 Reviewed-on: https://review.typo3.org/47136 Reviewed-by:
Nicole Cordes <typo3@cordes.co> Tested-by:
Nicole Cordes <typo3@cordes.co> Reviewed-by:
Manuel Selbach <manuel_selbach@yahoo.de> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
-
- 20 Nov, 2015 1 commit
-
-
Resolves: #71726 Releases: master Change-Id: I4a356c8da668acee555149eee9cf56ccdb4dc0ee Reviewed-on: https://review.typo3.org/44822 Reviewed-by:
Andreas Fernandez <typo3@scripting-base.de> Tested-by:
Andreas Fernandez <typo3@scripting-base.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- 08 Oct, 2015 1 commit
-
-
TYPO3 Release Team authored
In our efforts to achieve a better interoperability with other PHP projects, the PHP code base of the TYPO3 Core switches to the PHP coding guideline standard PSR-2. See http://www.php-fig.org/psr/psr-2/ for more information. Resolves: #70515 Releases: master Change-Id: I734c0d838af157003decfeb5fc0a11dddcb87bf5 Reviewed-on: http://review.typo3.org/43918 Reviewed-by:
TYPO3 Release Team <typo3cms@typo3.org> Tested-by:
TYPO3 Release Team <typo3cms@typo3.org>
-
- 11 Aug, 2015 1 commit
-
-
Resolves: #68948 Releases: master Change-Id: Iecb95258972d520c39d369b6a1b5afb36f86f57f Reviewed-on: http://review.typo3.org/42517 Reviewed-by:
Daniel Goerz <ervaude@gmail.com> Tested-by:
Daniel Goerz <ervaude@gmail.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl>
-
- 05 Aug, 2015 2 commits
-
-
When a class "\MyCustomDateTime extends \DateTime", the data mapper creates "\DateTime" objects instead when mapping database results. This patch uses the class annotation to resolve the class to create. Change-Id: I45062d4d1a44333016258289ea9e2026d9923f70 Resolves: #66939 Releases: master, 6.2 Reviewed-on: http://review.typo3.org/39534 Reviewed-by:
Susanne Moog <typo3@susannemoog.de> Tested-by:
Susanne Moog <typo3@susannemoog.de> Reviewed-by:
Daniel Goerz <ervaude@gmail.com> Tested-by:
Daniel Goerz <ervaude@gmail.com> Reviewed-by:
Andreas Wolf <andreas.wolf@typo3.org> Tested-by:
Andreas Wolf <andreas.wolf@typo3.org>
-
Wouter Wolters authored
Because of performance reasons we replace the @inject annotations back to inject methods. Resolves: #54605 Releases: master Change-Id: I433e2ecccc2aa319ec8904dbc65b84f63e9959aa Reviewed-on: http://review.typo3.org/42270 Reviewed-by:
Stefan Neufeind <typo3.neufeind@speedpartner.de> Tested-by:
Stefan Neufeind <typo3.neufeind@speedpartner.de> Reviewed-by:
Susanne Moog <typo3@susannemoog.de> Tested-by:
Susanne Moog <typo3@susannemoog.de>
-
- 14 Jul, 2015 1 commit
-
-
Change-Id: Ic7144b172c876af8f4ee70573955ac963b152b26 Resolves: #68047 Releases: master Reviewed-on: http://review.typo3.org/41088 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org>
-
- 03 Jul, 2015 1 commit
-
-
Andreas Fernandez authored
Resolves: #67786 Releases: master Change-Id: I5b8e088c8a6d33117aca9189ff1f6606b2ca7592 Reviewed-on: http://review.typo3.org/40693 Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Stephan Großberndt <stephan@grossberndt.de> Reviewed-by:
Markus Sommer <markussom@posteo.de> Reviewed-by:
Stefan Neufeind <typo3.neufeind@speedpartner.de> Tested-by:
Stefan Neufeind <typo3.neufeind@speedpartner.de>
-
- 21 Jun, 2015 1 commit
-
-
When resolving circular relations, extbase fails with an infinite loop because the DataMapper waits for all sub- objects to be mapped before registering them to the session. The sub-objects can thus not find the parent object in the session and the loop begins. Resolves: #67630 Related: #66429 Releases: master Change-Id: Ie20e2690323a00d8f54f3af5ce2fce87715f4247 Reviewed-on: http://review.typo3.org/40471 Reviewed-by:
Helmut Hummel <helmut.hummel@typo3.org> Tested-by:
Helmut Hummel <helmut.hummel@typo3.org> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Nicole Cordes <typo3@cordes.co> Tested-by:
Nicole Cordes <typo3@cordes.co>
-
- 11 Jun, 2015 1 commit
-
-
This removes pointless code which ends up doing strtolower(NULL). Also make the class name argument mandatory since it does not make sense to pass nothing or NULL and the core does not do this in any case. The latter change makes this mildly breaking if code relies on the old behavior. Resolves: #67248 Releases: master Change-Id: I3f3339ea005831fc3d78974d8883c20ad04ec4ec Reviewed-on: http://review.typo3.org/39900 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Andreas Fernandez <typo3@scripting-base.de> Tested-by:
Andreas Fernandez <typo3@scripting-base.de>
-
- 07 May, 2015 1 commit
-
-
The IdentityMap class has been deprecated since 6.1 and is removed from the Extbase persistence. Resolves: #66429 Releases: master Change-Id: I150b86190bbe7d0c9431d5495c8460241681f439 Reviewed-on: http://review.typo3.org/38701 Reviewed-by:
Nicole Cordes <typo3@cordes.co> Tested-by:
Nicole Cordes <typo3@cordes.co> Reviewed-by:
Andreas Fernandez <typo3@scripting-base.de> Tested-by:
Andreas Fernandez <typo3@scripting-base.de>
-
- 18 Jan, 2015 1 commit
-
-
Markus Klein authored
It is faster to compare a string with === '' to find out if it's empty than to run strlen() on it. The replacement rules are applied as follows: * if (strlen($str)) => if ((string)$str !== '') * if (!is_string($str) || strlen($str) === 0) => if (!is_string($str) || $str === '') * If it can be seen easily that $str is a string, the typecast is omitted. Change-Id: I888d70e42f925bd57ad23b873b72d6a38acb39ef Resolves: #54091 Releases: master Reviewed-on: http://review.typo3.org/27794 Reviewed-by:
Mathias Schreiber <mathias.schreiber@wmdb.de> Tested-by:
Mathias Schreiber <mathias.schreiber@wmdb.de> Reviewed-by:
Stefan Neufeind <typo3.neufeind@speedpartner.de> Tested-by:
Stefan Neufeind <typo3.neufeind@speedpartner.de>
-
- 16 Dec, 2014 1 commit
-
-
Most of TYPO3's PHP files have an empty line before a class' closing curly brace. This commit adds this empty line (if it is missing) before a class' closing curly brace. This is not part of the TYPO3 CMS CGL but increases consistency in this area. This regular expression was used to add the empty lines: Search: (}\n)(}) Replace: $1\n$2 Resolves: #63942 Release: master Change-Id: Icd6547322ac8b7310956d347fd73c90bde2bbfa7 Reviewed-on: http://review.typo3.org/35527 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- 13 Dec, 2014 1 commit
-
-
This regular expression was used to replace PHPDoc style comments with ordinary comments: Search: /\*\*(\n \* This file is part of the TYPO3 CMS project.) Replace with: /*$1 Resolves: #63328 Releases: master Change-Id: Ic8f11dbfefee94a19657c8fe8426c81d1cb435d8 Reviewed-on: http://review.typo3.org/35103 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benjamin Mack <benni@typo3.org> Tested-by:
Benjamin Mack <benni@typo3.org>
-
- 02 Dec, 2014 1 commit
-
-
Stefan Neufeind authored
(part for EXT:extbase) Use name-resolution with ...::class instead of strings where possible. (needs PHP 5.5, which is meanwhile required for master) Change-set Iedbb896607adddce2b23ab67f990fa2296c0d1bb first introduced usage of ::class in master. We now add it in various more places. Change-Id: I7ead29b6dd71240c4a05a4bf9b1c501e6a513019 Resolves: #63477 Releases: master Reviewed-on: http://review.typo3.org/34856 Reviewed-by:
Frank Nägler <typo3@naegler.net> Tested-by:
Frank Nägler <typo3@naegler.net> Reviewed-by:
Markus Klein <klein.t3@reelworx.at> Tested-by:
Markus Klein <klein.t3@reelworx.at>
-
- 21 Nov, 2014 1 commit
-
-
Since PHP 5.5 is a requirement, calls with the objectManager should use the ::class construct instead of a string argument. Resolves: #63112 Releases: master Change-Id: Iedbb896607adddce2b23ab67f990fa2296c0d1bb Reviewed-on: http://review.typo3.org/34414 Reviewed-by:
Markus Klein <klein.t3@reelworx.at> Tested-by:
Markus Klein <klein.t3@reelworx.at> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- 14 Nov, 2014 1 commit
-
-
This is the sysext:extbase class alias part Change-Id: I32923fe8b7f07c45abc1e42791ff9cd83c362897 Resolves: #62896 Related: #62013 Releases: master Reviewed-on: http://review.typo3.org/34031 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
-
- 28 Oct, 2014 1 commit
-
-
Wouter Wolters authored
* Use bool in @return * Use int in @return * Use bool in @param * Use int in @param * Remove extra tabs and spaces in @param Resolves: #62506 Releases: master Change-Id: I673888aa08855a1364150d0060d0f205fc1f83a2 Reviewed-on: http://review.typo3.org/33577 Reviewed-by:
Stefan Froemken <froemken@gmail.com> Tested-by:
Stefan Froemken <froemken@gmail.com> Reviewed-by:
Frank Nägler <typo3@naegler.net> Tested-by:
Frank Nägler <typo3@naegler.net>
-
- 25 Oct, 2014 2 commits
-
-
Wouter Wolters authored
Resolves: #62467 Releases: master Change-Id: I927a16b0fa89c5b859b56a7549548102ac04037f Reviewed-on: http://review.typo3.org/33522 Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Frank Nägler <typo3@naegler.net> Tested-by:
Frank Nägler <typo3@naegler.net>
-
Wouter Wolters authored
Resolves: #62468 Releases: master Change-Id: I2790ca5817e16cfe0dc1c43151d2587ca796294a Reviewed-on: http://review.typo3.org/33523 Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Frank Nägler <typo3@naegler.net> Tested-by:
Frank Nägler <typo3@naegler.net>
-
- 18 Sep, 2014 1 commit
-
-
Issue #26732 introduced some behaviour into Extbase that cannot work on the long-run. The usual behaviour of TYPO3 is "fetch live, then overlay". Avoiding that chain might lead to several side-effects. This change integrates a new property "_versionedUid" than contains the specific uid of the versioned record (this is similar to the already existing _localizedUid property). Besides that, changes of issue #26732 are reverted. Functional frontend tests are enabled for live and workspace for all IRRE ForeignField scenarios. Resolves: #59107 Releases: 6.2, 6.3 Change-Id: Idc46fb86830bc3d750972adade178cf9c618ece5 Reviewed-on: http://review.typo3.org/30688 Reviewed-by:
Fabien Udriot <fabien.udriot@ecodev.ch> Reviewed-by:
Alexander Opitz <opitz.alexander@googlemail.com> Tested-by:
Alexander Opitz <opitz.alexander@googlemail.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org>
-
- 30 Jul, 2014 1 commit
-
-
Tomita Militaru authored
While persisting an object, the DataMapper is asked for the plain value of a property, the TypeHandlingUtility::isCoreType() method is using "is_subclass_of()" to check if the given input is an instance of \TYPO3\CMS\Core\Type\TypeInterface. Unfortunately, when passing a string into "is_subclass_of" it tries to instantiate an object of that name. This will trigger the class autoloader. Even worse, when the string contains a special char (like an umlaut) the class cache will throw an exception (#1233057752). Thus persisting an object with special chars in a property value is not possible at the moment. This change fixes the issue by calling TypeHandlingUtility::isCoreType() only if $input is an object. Resolves: #53425 Releases: 6.3 Change-Id: I8b97499f2d90e26ba2a5dec411de266948fdf005 Reviewed-on: http://review.typo3.org/25349 Reviewed-by:
Tobias Liebig <tobias.liebig@typo3.org> Tested-by:
Tobias Liebig <tobias.liebig@typo3.org> Reviewed-by:
Markus Klein <klein.t3@reelworx.at> Tested-by:
Markus Klein <klein.t3@reelworx.at>
-
- 29 Jun, 2014 1 commit
-
-
Alexander Stehlik authored
The getPlainValue method is consolidated in the DataMapper. Resolves: #57255 Releases: 6.3 Change-Id: Ic35fd2768a1431f260c99d6faf8ad4e0a1754ea3 Reviewed-on: https://review.typo3.org/28576 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- 22 Jun, 2014 1 commit
-
-
Michael Schams authored
This patch replaces the copyright/license header in PHP files with a new, simplified one. The new header does not show the year figure, nor an author name, and refers to the LICENSE.txt file for the full copyright information. License is: GPL2 or any later version. This is a multi-part commit due to the huge number of changed files. See issue #59783 for further details. Resolves: #59783 Releases: 6.3, 6.2 Change-Id: I0e2f68990217f7442abe5b940fd769250c37aec0 Reviewed-on: https://review.typo3.org/31028 Reviewed-by: Krzysztof Adamczyk Tested-by: Krzysztof Adamczyk Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- 25 Mar, 2014 1 commit
-
-
Markus Klein authored
The classes contain wrong type hints and miss a lot of checks whether the correct object is present. Resolves: #57031 Releases: 6.2 Change-Id: I3d03c838b05529daf0da444119dd7f8dba6d5b8a Reviewed-on: https://review.typo3.org/28489 Reviewed-by: Felix Oertel Tested-by: Felix Oertel Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- 03 Mar, 2014 1 commit
-
-
If the DataMapper shall map a 1:N relation for a property of a domain object and the element type of this property is another domain object and not a storage type, the data mapper must always fetch the related elements from persistence and cannot rely on the persistence session lookup. This is the case because the relation to the parent is set on the child side and not the other way around. The column in the parent row is useless in that case and does not hold the id of the child. We can also not rely on the persistence session because we do not know the identifier of the child until we fetched it. Resolves: #56442 Releases: 6.2, 6.1 Change-Id: Icc3ebf9b825f6380691c60839621f01ca9875e4e Reviewed-on: https://review.typo3.org/27949 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs
-
- 23 Feb, 2014 2 commits
-
-
Stefan Neufeind authored
This reverts commit de27a20a Change-Id: I078d2f7bbff605c91d83a9853e8feb9c31d57ccc Reviewed-on: https://review.typo3.org/27792 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Markus Klein authored
It is faster to compare a string with === '' to find out if it's empty than to run strlen() on it. The replacement rules are applied as follows: * if (strlen($str)) => if ((string)$str !== '') * if (!is_string($str) || strlen($str) === 0) => if (!is_string($str) || $str === '') * If it can be seen easily that $str is a string, the typecast is omitted. Resolves: #54091 Releases: 6.2 Change-Id: I59c5cbccea4f98b8f282377e6aa67d970859a457 Reviewed-on: https://review.typo3.org/27091 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
- 18 Feb, 2014 1 commit
-
-
Nico de Haen authored
The DataMapper should check if an object is already in the identityMap before calling fetchRelated, since otherwise the object will be retrieved from the database again. Resolves: #53514 Releases: 6.1,6.2 Change-Id: I24e262322f1f0ba3c346fa01c50fa9063866aef7 Reviewed-on: https://review.typo3.org/25252 Reviewed-by: Nico de Haen Reviewed-by: Fabien Udriot Tested-by: Wouter Wolters Reviewed-by: Steffen Müller Tested-by: Steffen Müller
-
- 14 Feb, 2014 1 commit
-
-
Michiel Roos authored
getClassSchema() is being called within a foreach loop while the $className never changes for that call. Change-Id: I699a1a0ab34d784b7463244f218f4e8a0c0b7a0c Resolves: #55991 Releases: 6.2 Reviewed-on: https://review.typo3.org/27633 Reviewed-by: Marcin Sągol Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
- 01 Feb, 2014 1 commit
-
-
Jo Hasenau authored
This patch replaces most of around 1600 occurrences of intval() and every (integer) in the whole core. Additionally it changes GeneralUtility::intExplode to use references and typecasting as well. Some occurrences of strstr() together with intval() have been replaced with strpos() as well. And some superfluous intval calls have been removed or reduced to a single one i.e. for protected variables or before loops. Patch updated after Core CGL decision from 30.01.2014 Resolves: #54265 Releases: 6.2 Change-Id: Iba57ffad1f4233ffa1a9f7d3ca5bfe9d2b53f1e8 Reviewed-on: https://review.typo3.org/26740 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
- 29 Jan, 2014 1 commit
-
-
Helmut Hummel authored
The introduction of a TypeConverter for Enumaration types in #52762 added is_subclass() calls to getPlainValue() in the DatabaseBackends. These methods are meant to convert objects to simply types but are regularly called with simple types, in particular strings. Since is_subclass() also works with strings, The class loader is triggered when these methods are called with a table name like "tx_ext_domain_model_foo". This triggers an issue #55418 in the class loader especially on case insensitive filesystems. Instead of is_subclass we now use instanceof to make sure we only check for conversion if the value is an object. Additionally this change fixes a wrong case statement which also was introduced in #52762 Resolves: #54275 Change-Id: If1b2a28a2623e49dfb47720641935c6f24447c19 Reviewed-on: https://review.typo3.org/27079 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
- 13 Jan, 2014 1 commit
-
-
Roland Waldner authored
"textfile" will be replaced by "text file" Resolves: #54893 Releases: 6.2 Change-Id: Ic7ce106a016f242cc47c70539876ff9810954a9b Reviewed-on: https://review.typo3.org/26736 Reviewed-by: Michiel Roos Tested-by: Michiel Roos Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
- 15 Oct, 2013 1 commit
-
-
Sascha Egerer authored
* Fixed a major bug in Enumeration in the isValid function to prevent PHP typeloose comparison hell and added Tests * Added a CoreTypeInterface that can be used in the extbase data mapper to map properties to new core types like the enumeration Resolves: #52762 Releases: 6.2 Change-Id: I966c64ae8a82d13bdcb47c41917da98c48f0b475 Reviewed-on: https://review.typo3.org/24708 Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs Reviewed-by: Sascha Egerer Reviewed-by: Stefan Neufeind Reviewed-by: Thomas Maroschik Tested-by: Thomas Maroschik
-
- 01 Oct, 2013 1 commit
-
-
Change-Id: Iaa92566c53301e49396fc9fb26b0b339c48d567b Resolves: #52360 Releases: 6.2 Reviewed-on: https://review.typo3.org/24212 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
- 08 Jul, 2013 1 commit
-
-
Currently we are using inject methods like: /* * @param $foo Foo */ public function injectFoo(Foo $foo) { $this->foo = $foo; } This patch removes these methods and introduces property annotations: /** * @var Foo * @inject */ protected $foo; Change-Id: I5b6f1aae29f95c31b9dd69629f05d8451fe30261 Releases: 6.2 Resolves: #46598 Reviewed-on: https://review.typo3.org/22006 Reviewed-by: Alexander Schnitzler Tested-by: Alexander Schnitzler Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs Reviewed-by: Stefan Neufeind Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
- 06 Jul, 2013 3 commits
-
-
* "case" needs to be indented one level more than switch(). * default-case should not have a break-statement Change-Id: I8215ba2bdb19b9abbfe6ed45af3905d7e6c688d6 Resolves: #49527 Releases: 6.2 Reviewed-on: https://review.typo3.org/21748 Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Marc Bastian Heinrichs authored
This reverts commit ad7219c2 See https://review.typo3.org/#/c/21997/ More notes on this: A regex to replace @inject with @Flow\Inject when porting Extbase extensions to Flow is very simple and fast. Additionally @Flow\Inject makes only sense with using "use TYPO3\Flow\Annotations as Flow". But with a backported annotation parser I expect that we would have annotations in "TYPO3\CMS\Extbase\Annotations". Using them as alias "Flow" is a bad style as the alias should be "Extbase" then. Change-Id: I2113b5320f2a6f5dd56cfa7b06469fa1628d2645 Reviewed-on: https://review.typo3.org/22004 Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs
-
Alexander Schnitzler authored
Currently we are using inject methods like: /* * @param $foo Foo */ public function injectFoo(Foo $foo) { $this->foo = $foo; } This patch removes these methods and introduces property annotations: /** * @var Foo * @inject */ protected $foo; Besides that, it allows the use of @Flow\Inject as well for compatibility to Flow. Releases: 6.2 Resolves: #46598 Change-Id: Ied219d465dfa8fce24a819a7fc58a2ff8cb5401c Reviewed-on: https://review.typo3.org/21819 Reviewed-by: Alexander Schnitzler Tested-by: Alexander Schnitzler Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-