mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-20 00:36:14 +02:00
Commit graph

8 commits

Author SHA1 Message Date
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