mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 23:16:13 +01:00
Commit graph

16 commits

Author SHA1 Message Date
Oliver Klee
eeda862e77
[!!!][TASK] Drop additional namespace segment for the Tea model (#1025)
The `Product` namespace segment in the domain model namespace
`TTN\Tea\Domain\Model` currently serves no purpose and only adds
confusion. So let's simplify the extension structure accordingly.

(I intended to use this to demonstrate DDD contexts, but never
built enough models in the Tea extension for this to actually
make sense.)

Fixes #1008
2024-01-16 15:21:21 +01:00
Oliver Klee
6415f7fd85
[FEATURE] Add validation to the FE-editable tea properties (#866)
The maximum length of the string fields ensures that the contents
fit within the limits of the corresponding DB columns.
2023-06-21 20:40:51 +02:00
Oliver Klee
bbe469169b
[FEATURE] Add Tea.ownerUid (#860)
This is a pre-patch for adding a CRUD plugin for tea records.

This property contains only the UID of the owner FE user, but not
a relation to a FE user model. This is because we neither have nor
need a FE user model for the purposes of the CRUD plugin.
2023-06-21 09:16:13 +02:00
Oliver Klee
1a5b7c40c6
[CLEANUP] Reorder the type annotations for better readability (#819)
Apart from this small polish, there is nothing to change in order
to be consistent with the latest decision on type annotations as
described here:

https://decisions.typo3.org/t/phpstan-specific-phpdoc-annotations-in-the-core-code-base/807

Fixes #794
2023-04-22 18:40:06 +02:00
Oliver Klee
90a256f49e
[CLEANUP] Use short class references in the domain model annotations (#669)
Starting with TYPO3 10LTS, it is no longer necessary to use FQCNs
for domain property annotations for Extbase.
2022-11-01 21:44:37 +01:00
Lina Wolf
e469041db7
[CLEANUP] Use typed properties instead of @var annotations (#599)
The `@var` annotations where left where it is not possible yet to replace them in PHP 7.4.

Fixes #550

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-03 19:00:55 +02:00
Łukasz Uznański
f0127b3b64
[TASK] Fix php cs related to official configuration (#341)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-11-17 13:14:43 +01:00
Oliver Klee
0816fad65b
[CLEANUP] Make lazy-loading proxies visible via type annotations (#310)
Relates to #291
2021-09-22 22:34:58 +02:00
Łukasz Uznański
4bde411dd8
[TASK] Remove author annotations (#294)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-09-07 08:51:11 +02:00
Andreas Wolf
3f3c9285d9 [CLEANUP] Fix PHP_Codesniffer issues
Resolves: #21
2019-12-07 12:13:32 +01:00
Oliver Klee
29bf7ccae5
[TASK] Convert the PHP namespaces to "TTN" (#9)
Fixes #1
2019-12-01 12:16:06 +01:00
Oliver Klee
b519583431
[CLEANUP] Fix code inspection warnings (#57) 2019-08-12 17:43:02 +02:00
Oliver Klee
3401e32a84
[FEATURE] Add PHP-CS-Fixer (#53)
Also run the fixer on all classes and tests.
2019-08-12 17:25:59 +02:00
Oliver Klee
eac6593a9d
[BUGFIX] Use the new annotations for lazy loading (#54) 2019-08-12 16:23:28 +02:00
Oliver Klee
09dc1281ca
[FEATURE] Add Tea.image as a FAL example (#15) 2018-05-25 22:39:33 +02:00
Oliver Klee
e2f39033c0
[FEATURE] Tea model and repository (#10) 2018-05-25 16:19:12 +02:00