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

391 commits

Author SHA1 Message Date
Mathias Bolt Lesniak
228a094cd7
[BUGFIX] Enable debugging in DDEV (#420)
Fixes #419
2022-04-08 16:36:42 +02:00
Alexander Nitsche
923ff398cb
[DOCS] Reference manual's start page with :doc:<manual>:Index (#418)
Adding the custom label `start` to the beginning of the manual's
Index.rst is redundant. Use :doc:`<manual>:Index` instead of
:ref:`<manual:start>` to refer to it.
2022-04-07 10:48:33 +02:00
Oliver Klee
7a813998b6 Revert "[TASK] Bump the code coverage generation to TYPO3 11LTS and PHP 8.1 (#417)"
This reverts commit fd2e9213ab.
2022-04-06 19:45:56 +02:00
Oliver Klee
fd2e9213ab
[TASK] Bump the code coverage generation to TYPO3 11LTS and PHP 8.1 (#417)
We should use the latest TYPO3 and PHP versions for code coverage
generation.
2022-04-06 19:39:58 +02:00
Oliver Klee
77b49997a4
[TASK] Upgrade the CI cache action (#412) 2022-04-03 02:26:04 +02:00
Oliver Klee
345e01e381
[CLEANUP] Drop an unnecessary field in a test (#413) 2022-04-03 02:25:42 +02:00
Oliver Klee
bd3731934f
[CLEANUP] Add generics annotation to the Tea repository (#414)
This helps static code analysis determine for which models the
repository is responsible.
2022-04-03 02:24:55 +02:00
Oliver Klee
869f348ce8
[CLEANUP] Make a type annotation more specific (#415) 2022-03-30 12:14:04 +02:00
Tobias Gaertner
3496732bd8
[BUGFIX] Remove folders Config and Tests from phpcpd call (#411) 2022-03-29 12:21:24 +02:00
Oliver Klee
14c6f6a48d
[CLEANUP] Sort the code style checks in the CI build (#406) 2022-03-24 18:00:39 +01:00
Oliver Klee
b9cfab39cc
[TASK] Upgrade the git checkout on CI to actions/checkout@v3 (#402) 2022-03-22 17:57:39 +01:00
Oliver Klee
d5b669a179
[TASK] Update the development dependencies (#401) 2022-03-11 17:16:23 +01:00
Oliver Klee
15b1e5a9f4
[FEATURE] Also run the tests with TYPO3 11LTS in GitHub Actions (#319) 2022-03-02 11:45:29 +01:00
Oliver Klee
a1a84a511f
[BUGFIX] Configure DI and avoid using ObjectManager in TYPO3 11LTS (#399)
`ObjectManager` is deprecated in V11.

Fixes #387
2022-03-02 02:07:25 +01:00
Oliver Klee
934f43572f
[CLEANUP] Use generics for Prophecy type annotations (#398) 2022-02-28 17:58:06 +01:00
Oliver Klee
d4c39d7f5a
[TASK] Add a description for the prepare-release Composer command (#397) 2022-02-25 11:36:30 +01:00
Oliver Klee
6b98478f58
[TASK] Make the Composer caches on CI more fine-grained (#393)
The installed Composer packages will be different depending on the
major TYPO3 version being tested and on the strategy for the
dependencies (highest, lowest). So it makes sense to have
separate Composer caches for these versions in order to avoid
cache misses.
2022-02-24 16:41:34 +01:00
Oliver Klee
4158161c9d
[BUGFIX] Remove duplicate entry from the code quality CI job (#394)
`json:lint` was there twice.
Also sort the code quality jobs the same way the corresponding tasks
are sorted in the `composer.json`.
2022-02-24 13:13:30 +01:00
Oliver Klee
d39727d718
[BUGFIX] Fix the trigger syntax in the CI builds (#395)
The CI workflow with predefined GitHub actions had an empty `on:`
element, which is invalid. Use the correct event for manually
triggered workflow runs instead.
2022-02-24 13:12:38 +01:00
Oliver Klee
4854d9983a
[CLEANUP] Always have the CI job name as first element (#391)
This helps human readers see what a job is about more quickly,
following the principle of having the heading as the first element
of a text.
2022-02-24 09:11:49 +01:00
Oliver Klee
79ba5f20d2
[TASK] Use an explicit CI matrix for the functional tests as well (#392)
This will allow use to have exceptions from the cross product of
the parameters more easily (e.g., using PHP 8 only for TYPO3 11LTS
onward).
2022-02-24 09:11:14 +01:00
Łukasz Uznański
9e00038119
[FEATURE] Enable php8.1 (#381) 2022-02-23 14:38:20 +01:00
Łukasz Uznański
73721545d7
[BUGFIX] Fix code coverage after switch to core testing framework (#390)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-02-20 16:31:48 +01:00
Oliver Klee
4f2c813d7f
[TASK] Switch to the core testing framework (#361)
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
Oliver Klee
05a7e61208
[FEATURE] Add module definitions to the PhpStorm meta file (#388)
Copied from:
- https://review.typo3.org/c/Packages/TYPO3.CMS/+/73521
- https://review.typo3.org/c/Packages/TYPO3.CMS/+/73415

Fixes #382
2022-02-17 18:20:14 +01:00
Oliver Klee
a13e2f4598
[TASK] Remove an obsolete version switch from the TCA configuration (#389)
This version switch was releveant for TYPO3 8LTS.
2022-02-15 18:02:43 +01:00
Oliver Klee
3a13b2dea3
[BUGFIX] Stop using the vendor name for plugin registration (#385)
This has been deprecated in TYPO3 10.0:

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/10.0/Deprecation-87550-UseControllerClassesWhenRegisteringPluginsmodules.html

Fixes #383
2022-02-15 15:47:57 +01:00
Oliver Klee
da3390b992
[BUGFIX] Remove showRecordFieldList from the TCA (#386)
This entry was deprecated in TYPO3 10.3:
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/10.3/Feature-88901-RenderAllFieldsInElementInformationController.html

Fixes #384
2022-02-15 15:47:09 +01:00
Łukasz Uznański
77da462e8b
[TASK] Update phpstorm meta file according to core (#376)
Resolves: #369

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.pl>
2022-02-11 21:15:56 +01:00
Łukasz Uznański
9a870876b3
[TASK] Drop v9 support in gitlab ci (#380)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.pl>
2022-02-11 21:12:54 +01:00
Łukasz Uznański
822bc5561e
[TASK] Drop TeaController functional test (#379)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.pl>
2022-02-11 21:11:30 +01:00
Tobias Gaertner
cc62f32a36
[BUGFIX] Fix some .gitignore entries (#375)
- `.php_cs.cache` file was renamed to `.php-cs-fixer.cache`
- `.phpunit.result.cache` missing in `.gitignore`
2022-02-04 15:09:17 +01:00
Łukasz Uznański
63bcf0da67
[TASK] Disable predefined github action scheduler run (#374)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-02-04 09:24:14 +01:00
Tobias Gaertner
c818970d6e
install and use wait-for-it for functional tests (#373)
It might happen, when starting the fuctional test that the database service container is not ready yet. 

This patch provides an extra timeout to wait for the service to make sure the test does not fail because of missing database.
2022-02-01 13:14:00 +01:00
Oliver Klee
c79986b614
[TASK] Drop the TYPO3 V9 badge (#372)
We should not advertise what we're not supporting anymore.
2022-01-27 17:08:08 +01:00
Tobias Gaertner
d26feda812
[BUGFIX] Avoid xargs error for empty project (#370)
The `xargs` shell command will throw an error if find will return an empty result.
Adding `-r` will prevent this error. 

Example: 
A project has no yml files.
- Before: The yaml-linting fails.
- With that patch: The yaml-linting succeed.
2022-01-27 14:14:02 +01:00
Oliver Klee
a999668f85
[BUGFIX] Avoid php-cs-fixer 3.5.0 (#371)
Version 3.5.0 has a bug concerning intersection types that breaks our
build.

Fixes #368
2022-01-26 18:25:46 +01:00
Oliver Klee
fda9a53c82
[TASK] Add the TYPO3 Online Days presentation to the README (#365) 2022-01-13 12:57:48 +01:00
Oliver Klee
8520b55898
[CLEANUP] Remove code specific to TYPO3 9LTS (#367) 2022-01-13 03:26:30 +01:00
Oliver Klee
34eaf0cab1
[TASK] Drop support for TYPO3 9LTS (#363)
Now that we have added support for TYPO3 11LTS, we have been supporting
3 different TYPO3 LTS versions in the same branch. This has turned out
to be too much of a hassle when running the test. So now is the time
to drop support for 9LTS.
2022-01-12 11:22:59 +01:00
Oliver Klee
8654223e22
V1.1.0: Add support for TYPO3 11LTS (#364) 2022-01-04 01:33:24 +01:00
Oliver Klee
de5c407c1a
[BUGFIX] Fix CI builds for PRs from forks (#360)
It has turned out that having builds only for pushes (but not
pull requests) is not enough for triggering builds for PRs
from forks.

So we will need to live with pushes to non-PR branches other
than main not triggering a build, and having to create a
dummy draft PR for testing the CI build.

This reverts commit d1f02afe79.

Fixes #359
2022-01-03 01:54:00 +01:00
Oliver Klee
07ff094028
[TASK] Use Composer 2.2 in the CI pipeline (#362)
With the releases of Composer 2.2.2 and 2.2.3 (and PHPUnit 9.5.11),
running the tests with Composer 2 in the pipeline should be safe afain.
2022-01-02 02:23:40 +01:00
Oliver Klee
3734ba295e
[BUGFIX] Explicitly allow the development Composer plugins (#353)
This will allow Composer plugins like composer-normalize to run
in Composer >= 2.2 as well.
2021-12-29 02:50:08 +01:00
Oliver Klee
79a13b96a4
[TASK] Update the development dependencies (#351) 2021-12-28 02:10:09 +01:00
Oliver Klee
ef82fe29bf
[TASK] Update composer-normalize (#356)
Also rearrange the entries in the `composer.json` according to the
updated version of `composer-normalize`.
2021-12-26 02:48:55 +01: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
d1f02afe79
[TASK] Always run the CI build after a push (#354)
This will allow us to test things on the CI pipeline without
having to create a dummy/draft PR for this.

Hopefully, this will also allow builds for forks.
2021-12-24 02:42:15 +01:00
Oliver Klee
feaf6f2fc9
[BUGFIX] Pin Composer to version 2.1.x (#352)
Composer versions 2.2.0 and 2.2.1 have a bug that breaks PHPUnit.
Until version 2.2.2 is released with a fix, we need to keep to
Composer 2.1 to keep the tests from breaking.

See https://github.com/composer/composer/issues/10387 for details.
2021-12-24 02:15:42 +01:00
Oliver Klee
d4195cd8a6
[TASK] Drop the badge for unstable releases from the README (#350)
The badge behaves in an unpredictable way if there are mutiple unstable
releases (which happens when we update the branch alias for the `main`
branch) and hence is pretty much useless.
2021-12-24 02:13:38 +01:00