mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-23 21:06:10 +01:00
Commit graph

38 commits

Author SHA1 Message Date
Oliver Klee
a9f64159ec [TASK] Switch the code sniffing from PSR-2 to PSR-12 (#35)
Also update the corresponding packages and autoformat the code again.

Fixes #3
2019-12-07 17:44:32 +01: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
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
bbb6f8e5f0
[TASK] Add the default directory structure (#7)
Also use spaces for indentation in the .htaccess files.
2018-01-27 15:54:51 +01: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
a8b687a656 [TASK] Switch the unit tests to nimut/testing-framework 2017-09-07 16:22:21 +02:00
Oliver Klee
1c1f846858 [CLEANUP] Switch to Prophecy 2017-05-05 19:12:44 +02:00
Oliver Klee
bc58abde55 [TASK] Make the extension compatible with TYPO3 CMS 7.6 2016-07-16 21:39:04 +02:00
Oliver Klee
31b1044fb5 [CLEANUP] Rework tests to match the TDD examples 2016-05-08 14:57:07 +02:00
Oliver Klee
b6bb92d0da [CLEANUP] Reformat the code as PSR-2 2016-05-07 21:43:25 +02:00
Oliver Klee
f529e4a688 [CLEANUP] Use ::class and imports 2015-10-25 12:01:33 +01:00
Oliver Klee
e286cfd8a2 [CLEANUP] Lowercase null, false and true 2015-10-20 18:15:08 +02:00
Oliver Klee
2595b63847 [CLEANUP] Move the test to the correct namespaces 2015-06-14 13:07:29 +02:00
Oliver Klee
c065531f26 [CLEANUP] Import/use ObjectStorage to avoid duplication 2015-06-14 11:31:29 +02:00
Oliver Klee
8073f83c8f [CLEANUP] Drop the @test from the test methods 2015-06-14 11:27:58 +02:00
Oliver Klee
662026c630 [CLEANUP] Call static PHPUnit methods using self:: 2015-06-14 11:16:54 +02:00
Oliver Klee
3db3e7af04 [CLEANUP] Drop the unset from tearDown() 2014-12-14 21:34:16 +01:00
Oliver Klee
cb2d55f4b8 [CLEANUP] Make setUp and tearDown protected 2014-12-14 21:20:53 +01:00
Oliver Klee
7696a7b97e [BUGFIX] Fix types in @var and @param. 2014-12-11 14:16:47 +01:00
Oliver Klee
31dd57d52c [TASK] Set TYPO3 compatibility to 6.2-7.0 2014-12-11 14:14:18 +01:00
Oliver Klee
b8f233e065 [CLEANUP] Use the new TYPO3 copyright headers. 2014-12-10 21:18:45 +01:00
mostwanted
64303b35b2 Add @return void annotation to test methods 2014-01-02 00:03:30 +01:00
mostwanted
e2732e2533 Add @return void annotation to test methods 2014-01-02 00:03:12 +01:00
mostwanted
a64094be3d Add @return void annotation to test methods 2014-01-02 00:02:47 +01:00
mostwanted
956e8b5a09 Add @return void annotation to test methods 2014-01-02 00:01:54 +01:00
mostwanted
bb52944347 Add @return void annotation to test methods 2014-01-02 00:00:34 +01:00
mostwanted
dec404a5f0 Add @return void annotation to test methods (PoC)
Missing @return void annotation in phpdoc block of test methods lead to php codesniffer (phpcs) errors when using the TYPO3 CMS coding guidelines:

This function must always have a return value.
(TYPO3SniffPool.Scope.AlwaysReturn.AlwaysReturnStatement)

I suggest to add @return void annotations. Do you agree?
2014-01-01 21:18:39 +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
4f245f1944 [CLEANUP] Replace "fixture" with "subject" in the unit tests. 2013-11-11 11:50:25 +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