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

28 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
Oliver Klee
4b7ffe0546 [CLEANUP] Empty out the extensions 2017-12-22 22:20:43 +01:00
Oliver Klee
563f4befbf [CLEANUP] Use strict types, scalar type hinting and return types 2017-09-08 18:04:28 +02:00
Oliver Klee
b6bb92d0da [CLEANUP] Reformat the code as PSR-2 2016-05-07 21:43:25 +02:00
Oliver Klee
e286cfd8a2 [CLEANUP] Lowercase null, false and true 2015-10-20 18:15:08 +02:00
Oliver Klee
f3b26e35ee [CLEANUP] boolean -> bool, integer -> int 2014-12-14 16:17:44 +01:00
Oliver Klee
7696a7b97e [BUGFIX] Fix types in @var and @param. 2014-12-11 14:16:47 +01:00
Oliver Klee
b8f233e065 [CLEANUP] Use the new TYPO3 copyright headers. 2014-12-10 21:18:45 +01:00
Oliver Klee
f8a77f270f [CLEANUP] Drop closing PHP tags and do some more minor cleanup. 2013-12-23 13:24:40 +01:00
Oliver Klee
d9ddc7bae5 [FEATURE] Add a Testimonial model and a relation to it. 2013-11-01 22:03:14 +01:00
Oliver Klee
e8d19e41c8 [FEATURE] Add an Addition model an a relation to it. 2013-11-01 21:21:03 +01:00
Oliver Klee
c74c26029a [FEATURE] Add a TeaType model and a relation to it. 2013-11-01 20:51:53 +01:00
Oliver Klee
c51c06715d [FEATURE] Add the TeaBeverage model and repository. 2013-11-01 20:11:03 +01:00