mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 02:16:12 +01:00
Commit graph

14 commits

Author SHA1 Message Date
Oliver Klee
f8ff931431
[TASK] Narrow down a type in the controller (#1270)
This fixes the last PHPStan level 9 warning.
2024-05-06 14:46:54 +02:00
Oliver Klee
60145ba685
[TASK] Raise PHPStan to level 9 (#1269)
Fixes #1252
2024-05-06 13:25:05 +02:00
Oliver Klee
b2d2f2a705
[TASK] Ensure a type in a test (#1268) 2024-05-06 11:18:22 +00:00
Oliver Klee
681d288653
[TASK] Raise PHPStan to level 8 (#1267) 2024-05-06 10:52:07 +00:00
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
86676e8cb9
[TASK] Raise PHPStan to level 6 (#1258)
Part of #1252
2024-05-06 04:32:12 +00:00
Oliver Klee
30457228d5
[TASK] allow assertInstanceOf checks for PHPStan (#1256)
These assertions are useful in tests also in cases where we have
the corresponding type annotations in the production code.

Part of #1252
2024-04-29 23:13:07 +02:00
Oliver Klee
f28b8479e6
[TASK] Raise PHPStan to level 4 (#1254)
The higher level creates new warnings which I will address in
a separate change.

Part of #1252
2024-04-29 06:59:18 +02:00
Karsten Nowak
190e5f924a
[BUGFIX] Add allow empty base line for phpstan check (#1018)
Fixes #1003
2023-11-27 15:29:58 +00: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
f6e17b3be0
[TASK] Add the PHPStan strict rules (#471)
We want PHPStan to be as strict as possible.

(The new warning requires a change in Extbase to get solved properly.)
2022-06-28 18:42:50 +02:00
Oliver Klee
074ecf6cbd
[TASK] Upgrade PHPStan & friends (#357)
Also re-generate the baseline, and update a type annotation to match
what the current version of jangregor/phpstan-prophecy now recognizes.
2021-12-25 02:39:48 +01:00
Oliver Klee
3939ad083e
[TASK] Also check Configuration/ and Tests/ with PHPStan (#308) 2021-09-22 17:53:03 +02:00
Oliver Klee
a173900a7f
[TASK] Enhance the PHPStan configuration (#302)
- configure the checked paths via the configuration file
- do not output a progress bar on CI
- add a baseline file and a command for creating it
- cap the number of processes

Fixes #281
2021-09-13 04:06:10 +02:00