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

24 commits

Author SHA1 Message Date
Oliver Klee
7f21991fa5
[TASK] Improve the type annotations for TeaRepository (#1266)
This fixes the last remaining PHPStan level 6 warning.
2024-05-06 12:35:12 +02:00
Oliver Klee
248c759206
[TASK][!!!] Require a storage PID for the tea list (#1223)
Fixes #1024
Supersedes #1024
2024-04-15 11:13:57 +02:00
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
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
Łukasz Uznański
19b8c4ef47
[TASK] Stop injecting query settings (#650) 2022-10-18 23:21:20 +02:00
Oliver Klee
0a1a00dd22
[CLEANUP] Drop usages of ObjectManager whereever possible (#616)
Fixes #596
2022-10-10 02:15:33 +02: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
Oliver Klee
29eec0cb75
[BUGFIX] Do not overwrite type annotations from parent classes (#480)
This avoids PHPStan warnings in a case where our type annotations are
not up to date anymore with the latest change in the Core.
2022-07-13 18:21:01 +02:00
Oliver Klee
bd3731934f
[CLEANUP] Add generics annotation to the Tea repository (#414)
This helps static code analysis determine for which models the
repository is responsible.
2022-04-03 02:24:55 +02:00
Oliver Klee
a1a84a511f
[BUGFIX] Configure DI and avoid using ObjectManager in TYPO3 11LTS (#399)
`ObjectManager` is deprecated in V11.

Fixes #387
2022-03-02 02:07:25 +01: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
9b10334c0d
[FEATURE] Add default sorting by title to the TeaRepository (#14) 2018-05-25 17:38:51 +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
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
c51c06715d [FEATURE] Add the TeaBeverage model and repository. 2013-11-01 20:11:03 +01:00