mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2025-02-20 02:43:50 +01:00
Commit graph

23 commits

Author SHA1 Message Date
68372cc850
[TASK] Make all test cases final ()
Resolves: 
2023-04-06 14:34:15 +00:00
4d2bbced74
[BUGFIX] Do not mock unavailable methods () 2023-04-06 14:32:05 +02:00
Oliver Klee
14b8628483
[TASK] Stop using Prophecy ()
The Prophecy project is basically dead, and our Prophecy dependency
currently prevents installations on PHP 8.2 without having to resort
to fiddling with Composer's platform options.
2022-11-05 17:08:32 +01:00
Oliver Klee
b3f0eb3f3d
[CLEANUP] Use more native property types in the tests () 2022-10-10 16:05:06 +02:00
Oliver Klee
f6af430180
[TASK] Upgrade to PHPUnit 9 ()
Also upgrade PHPCOV to match the used PHPUnit version

Fixes 
Fixes 
2022-10-09 06:19:32 +02:00
Oliver Klee
bb7e6d2670
[CLEANUP] Add more native type annotations in the tests () 2022-10-06 17:51:41 +02:00
Lina Wolf
5d3fcee00e
[TASK] Return ResponseInterface in controller actions ()
Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-03 16:02:32 +02:00
Oliver Klee
e360b1ea5a
[TASK] Also mock redirectToUri in the controller unit test ()
Now all methods that conceptually should not be part of a controller
(and that hence must never be executed in a unit test)
are mocked for consistency.

Also sort the method names.

Fixes 
2022-09-06 15:26:47 +02:00
Oliver Klee
62e8c21596
[CLEANUP] Make a type annotation in a unit test more specific ()
This helps static code analysis.
2022-04-20 15:05:45 +02:00
Oliver Klee
934f43572f
[CLEANUP] Use generics for Prophecy type annotations () 2022-02-28 17:58:06 +01:00
Oliver Klee
4f2c813d7f
[TASK] Switch to the core testing framework ()
The TYPO3 core testing framework has more person-power for maintenance
behind it compared to the nimut testing framework. So we should use that.
2022-02-20 15:18:46 +01:00
Łukasz Uznański
f0127b3b64
[TASK] Fix php cs related to official configuration ()
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-11-17 13:14:43 +01:00
Oliver Klee
ca9a8e4e15
[TASK] Always use @covers annotations in the tests () 2021-09-15 02:11:15 +02:00
Oliver Klee
6e927a8656
[CLEANUP] Fix the Prophecy-related type annotations () 2021-09-15 02:09:37 +02:00
Łukasz Uznański
4bde411dd8
[TASK] Remove author annotations ()
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-09-07 08:51:11 +02:00
Oliver Klee
a9f64159ec [TASK] Switch the code sniffing from PSR-2 to PSR-12 ()
Also update the corresponding packages and autoformat the code again.

Fixes 
2019-12-07 17:44:32 +01:00
Andreas Wolf
3f3c9285d9 [CLEANUP] Fix PHP_Codesniffer issues
Resolves: 
2019-12-07 12:13:32 +01:00
Oliver Klee
29bf7ccae5
[TASK] Convert the PHP namespaces to "TTN" ()
Fixes 
2019-12-01 12:16:06 +01:00
Oliver Klee
b519583431
[CLEANUP] Fix code inspection warnings () 2019-08-12 17:43:02 +02:00
Oliver Klee
3401e32a84
[FEATURE] Add PHP-CS-Fixer ()
Also run the fixer on all classes and tests.
2019-08-12 17:25:59 +02:00
Oliver Klee
3e1fd7416f
[FEATURE] Tea single view () 2018-05-28 17:05:39 +02:00
Oliver Klee
dd1ea7868d
[FOLLOWUP] Fix copy'n'paste error in view class in annotation ()
[ci skip]
2018-05-26 21:13:02 +02:00
Oliver Klee
436a10b9d6
[FEATURE] Tea plugin with TeaController and index action () 2018-05-26 20:46:55 +02:00