- 22 Dec, 2020 1 commit
-
-
This patch removes unused code in the persistence area of Extbase. Most removed code was part of internal classes and interfaces, thus they are removed without notice. Along with the removal of methods, two methods have been marked deprecated and for their removal in the future i.e. TYPO3 12.0. Releases: master Resolves: #89938 Change-Id: I66596bff9879a6850a71ada05891f80a551ffb74 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62616 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- 15 Apr, 2020 2 commits
-
-
Alexander Schnitzler authored
This patch has been created with rector and php-cs-fixer bin/rector process --set=php53 typo3/sysext/extbase/Classes bin/rector process --set=php53 typo3/sysext/extbase/Tests Releases: master Resolves: #91047 Change-Id: Idcd1e10e5bf6dd5fa504873e450e31a980fab9db Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64180 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Alexander Schnitzler <git@alexanderschnitzler.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Alexander Schnitzler <git@alexanderschnitzler.de>
-
With this patch, the header comment of php files is automatically added by the php-cs-fixer, which guarantees that its format and place of occurrence remain the same in all files. Files that are copied over from other projects are excluded. Furthermore, files that are kind of inspired by other projects also get the same header comment but may have a second, additional comment explaining its origin. Used command: bin/php-cs-fixer fix --config=Build/php-cs-fixer/header-comment.php Releases: master Resolves: #91024 Change-Id: I5a040517e0fbde6e5a27d589bf2f222078326dc8 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64159 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- 14 Apr, 2020 1 commit
-
-
This change adds two changes 'blank_line_after_opening_tag' => true, 'single_trait_insert_per_statement' => true, to our PHP-CS Fixer configuration, adopting more rules related to PSR-12. Resolves: #91020 Releases: master Change-Id: I180b2cbceb077911bddeb42d9f131e5b32244ed2 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64158 Tested-by:
Josef Glatz <josefglatz@gmail.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Alexander Schnitzler <git@alexanderschnitzler.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
TYPO3com <noreply@typo3.com> Reviewed-by:
Josef Glatz <josefglatz@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Alexander Schnitzler <git@alexanderschnitzler.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
- 13 Apr, 2020 1 commit
-
-
As a preparation to be compatible with PSR-12, all spaces in strict type declerations are removed. Releases: master Resolves: #91009 Change-Id: I2b7c2fda42b44168b5c4c6b21711eede2eadaf2e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62104 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
- 05 Jul, 2019 1 commit
-
-
- Use strict type mode - Use type hints whereever possible - Use type casts according to phpstan results Releases: master Resolves: #88666 Change-Id: I4d93c3e3c75f5f6ca6b53bd73acffe73d7b6a58e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61205 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Frank Naegler <frank.naegler@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Frank Naegler <frank.naegler@typo3.org>
-
- 01 Oct, 2018 1 commit
-
-
EXT:extbase uses @api and @internal phpDoc annotations. Going with a cleaner approach with marking code as just @internal, and everything not annotated as @internal is public, is the way to go, also the way PSR-5 is heading. For EXT:extbase: Every PHP class that had nothing marked, is now @internal, everything that was @api is now implicitly part of TYPO3 Core API. On top, all license headers and @license annotations have been streamlined. This means: - TYPO3 Core's PHP classes area all public API by default unless marked as @internal or an extension class - @api is not allowed anymore and will be restricted in the future from adding. - @internal should be used for everything that should not be explicitly exposed as public API in the future. - Everything under Tests/ is not part of TYPO3's Public API Resolves: #86521 Releases: master Change-Id: I83c5a27d9af001929142d2620600668ad0a84c92 Reviewed-on: https://review.typo3.org/58535 Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org>
-
- 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>
-
- 13 Dec, 2014 2 commits
-
-
At the moment in some classes you can find an empty line between the copyright comment and the first PHPdoc bock comment. In some other classes there is no such empty line. This commit adds an empty line between those comments if there is no empty line. 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: ( \* The TYPO3 project - inspiring people to share!\n \*/\n)(/\*\*\n \*) Replace: $1\n$2 Resolves: #63828 Releases: master Change-Id: I1d921921a3f60a62c29de3300b25b5df36a43b0a Reviewed-on: http://review.typo3.org/35390 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
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>
-
- 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 1 commit
-
-
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>
-
- 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 #59784 for further details. Resolves: #59784 Releases: 6.3, 6.2 Change-Id: I1eacf9bf4537776e850d091d9d50bc72f8c2b20d Reviewed-on: https://review.typo3.org/31029 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
-
- 20 Feb, 2014 1 commit
-
-
Felix Oertel authored
While Typo3DbBackend claims to be Extbase's connection to the TYPO3 API, in reality it writes a lot of SQL state- ments itself. This replaces self-written statements with the according DatabaseConnection API call. Releases: 6.2 Resolves: #55571 Change-Id: Ia4f6ef0aadda16b6c5e89c7b36c8f91b185aac25 Reviewed-on: https://review.typo3.org/27254 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Tymoteusz Motylewski Tested-by: Tymoteusz Motylewski Reviewed-by: Mathias Brodala Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
- 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
-
- 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
-
- 12 Apr, 2013 1 commit
-
-
This change optimizes persisting a dirty objectStorage by not removing and inserting/updating all relations, but insert/update/remove only new/dirty relations. In the issue a wiki page is linked with some additional infos. Resolves: #28091 Releases: 6.1 Change-Id: I1e861b62df0379eb84126c7f70f82287e23f0bdd Reviewed-on: https://review.typo3.org/3390 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Tymoteusz Motylewski Tested-by: Tymoteusz Motylewski Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs
-
- 01 Apr, 2013 1 commit
-
-
Changes "(c) 2010-2012" to "(c) 2010-2013" Releases: 6.1 Resolves: #46840 Change-Id: I0a26a9a05cfc5697eb536016aee946ad970d82b3 Reviewed-on: https://review.typo3.org/19494 Reviewed-by: Alexander Schnitzler Tested-by: Alexander Schnitzler
-
- 11 Dec, 2012 1 commit
-
-
All files should have the same file comment with the same copyright notice in it. Also there must not be an author any more. Instead the Extbase Team is mentioned as author from now on. Releases: 6.1 Fixes: #43883 Change-Id: Ib61859a2fa853a238907df314f948da51306d7e8 Reviewed-on: https://review.typo3.org/17099 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
- 20 Nov, 2012 1 commit
-
-
Alexander Schnitzler authored
* whitespaces, tabs and blank line issues * bool -> boolean * int -> integer * remove @scope and @entity Fixes: #43146 Releases: 6.0 Change-Id: I0ffdde3c918920272e8b1e4d1eab199b7b3e90f3 Reviewed-on: http://review.typo3.org/16600 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
- 07 Nov, 2012 1 commit
-
-
Anja Leichsenring authored
Since it's neither "FLOW3" nor "v5" anymore those headers need to be adjusted. Before: This class is a backport of the corresponding class of FLOW3. All credits go to the v5 team. Changed into: This class is a backport of the corresponding class of TYPO3 Flow. All credits go to the TYPO3 Flow team. Change-Id: If5aaae848334c39a873b41ffc614942cedbbf4f8 Resolves: #42713 Releases: 6.0 Reviewed-on: http://review.typo3.org/16242 Reviewed-by: Stefan Neufeind Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
- 29 Oct, 2012 1 commit
-
-
Releases: 6.0 Fixes: #42469 Change-Id: I004754cb05d06d2e3b91a41bde5657bb69d0f6b4 Reviewed-on: http://review.typo3.org/16004 Reviewed-by: Alexander Schnitzler Tested-by: Alexander Schnitzler
-
- 26 Aug, 2012 1 commit
-
-
* Cleaned up wrong PHPDoc * Removed unused variables * Added missing fields * Fixed type incompatibility Change-Id: I3ecc49ceb25458dda285cc4e005c5c2d44112100 Fixes: #40224 Releases: 6.0 Reviewed-on: http://review.typo3.org/14106 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
- 17 Oct, 2012 2 commits
-
-
Thomas Maroschik authored
Change-Id: I403aee9d244a65e51547b21dac3b1228ffd3478e
-
Thomas Maroschik authored
Change-Id: I916ad5a3a24864a52e945aeb66e6f997b8e6fabd
-
- 30 Apr, 2012 1 commit
-
-
Felix Oertel authored
In Persistence/ only generic, abstract classes and interfaces are allowed. Everything specific to an implementation has to be in Persistence/[Name]. Resolves: #35876 Change-Id: I703fa4ed6df7f56a7ade404af1d11c590041e7ad
-
- 14 Jun, 2011 1 commit
-
-
Oliver Hader authored
Change-Id: I6637620820258b3b5c78b650ee6cd94871b9892b Resolves: #27446 Reviewed-on: http://review.typo3.org/2739 Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
- 09 Jul, 2010 1 commit
-
-
Steffen Kamper authored
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8145 709f56b5-9817-0410-a4d7-c38de5d9e867
-
- 28 May, 2010 2 commits
-
-
Sebastian Kurfürst authored
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7706 709f56b5-9817-0410-a4d7-c38de5d9e867
-
Sebastian Kurfürst authored
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7705 709f56b5-9817-0410-a4d7-c38de5d9e867
-
- 02 May, 2010 2 commits
-
-
Sebastian Kurfürst authored
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7504 709f56b5-9817-0410-a4d7-c38de5d9e867
-
Sebastian Kurfürst authored
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7503 709f56b5-9817-0410-a4d7-c38de5d9e867
-
- 16 Mar, 2010 2 commits
-
-
Sebastian Kurfürst authored
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7115 709f56b5-9817-0410-a4d7-c38de5d9e867
-
Sebastian Kurfürst authored
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7114 709f56b5-9817-0410-a4d7-c38de5d9e867
-
- 08 Mar, 2010 1 commit
-
-
Jochen Rau authored
[!!!][~API] Extbase (Persistence): $query->execute() now returns a plain array of row-arrays instead of an RowIterator. This is a breaking change if you use your own Query object in combination with $querySettings->getRawQueryResult = TRUE. [~TASK] Extbase (Persistence): Refactored persistence layer (part I). Dropped QueryObjectModel. The Query-Object is now passed directly to the StorageBackend. [+API] Extbase (Persistence): Implemented methods in() and contains() in the Query-Object. Resolves #6707. [+FEATURE] Extbase (Persistence): It is now possible to ask contains() for mm-relations, e.g. $query->contains('categories', $category). Resolves #4679.
-
- 25 Nov, 2009 3 commits
-
-
Michael Stucki authored
Add Extbase 1.0.1 to TYPO3core. Do NOT make changes inside! See misc/core_svn_rules.txt for details. git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6555 709f56b5-9817-0410-a4d7-c38de5d9e867
-
Michael Stucki authored
-
Jochen Rau authored
[+TASK] Extbase (Persistence): Changed signature Typo3DbBackend::getRowByIdentifier($tableName, array $identifier). [+BUGFIX] Extbase (MVC): Tx_Extbase_MVC_Web_Response::getHeaders() is now aware of the requested protocol version by evaluating SERVER_PROTOCOL. Defaults to HTTP/1.0. Thanks to Morton Jonuschat who reported that issue. Resolves #5247. [~TASK] Extbase (Persistence): Extbase is now aware of property annotations like "@var Tx_Extbase_Persistence_ObjectStorage<Tx_MyExt_Domain_Model_Foo> ". This can still be overwritten by the TCA config option "foreign_class". [+BUGFIX] Extbase (Persistence): Fixed a problem where all mm relations are written on every change. [+BUGFIX] Extbase (Persistence): Fixed a problem where the parent field was not updated with the number of children.
-
- 27 Oct, 2009 1 commit
-
-
Jochen Rau authored
[+FEATURE] Extbase (Persistence): Implemented Query::count() supplementary to Query::execute(). Resolves #4991.
-