mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2025-03-18 14:03:55 +01:00
Commit graph

4 commits

Author SHA1 Message Date
Oliver Klee
fb5066a2d7
[BUGFIX] Improve type safety for lazy-loaded associations ()
`_loadRealInstance` will return `null` if the target of the
association does not exist (anymore). We need to handle that case
in a clean way.

Also use a dedicated folder for the fixture to make the fixture
easier to find, and to discourage reuse of fixtures.
2025-02-04 19:06:44 +01:00
Oliver Klee
5a0baf184c
[TASK] Simplify some type annotations ()
Now that we have removed support for TYPO3 11LTS, we can
simplify some type annotations.
2025-02-03 18:49:52 +01:00
39ed4cf313
[TASK] Raise PHP Language Level to 8.1 ()
Resolves: 
2025-02-03 15:37:30 +01:00
Oliver Klee
eeda862e77
[!!!][TASK] Drop additional namespace segment for the Tea model ()
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 
2024-01-16 15:21:21 +01:00
Renamed from Classes/Domain/Model/Product/Tea.php (Browse further)