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

1076 commits

Author SHA1 Message Date
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
Łukasz Uznański
894508f3d2
[TASK] Add badges to readme (#343)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-11-29 18:18:29 +01:00
Łukasz Uznański
13ba07f31c
[TASK] Migrate to typo3 coding standards (#340) 2021-11-17 16:45:49 +01:00
Łukasz Uznański
f0127b3b64
[TASK] Fix php cs related to official configuration (#341)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-11-17 13:14:43 +01:00
Jonas Eberle
02e3633756
[TASK] allow newlines for ternary operator (#338)
The previous configuration disallowed newlines in ternary operator like:

$a = $condition1 && $condition2
    ? $foo_man_this_is_too_long_what_should_i_do
    : $bar;

This seems very arbitrary since breaking on other operators is in fact
allowed.

This change allows such longer statements to be broken apart over
several lines.
2021-11-12 15:25:06 +01:00
Oliver Klee
9c1a522ebb
[FEATURE] Also run the unit tests with V11 in the CI pipeline (#336) 2021-11-06 15:57:36 +01:00
Oliver Klee
51254eb88c
[TASK] Drop the helhum/typo3-composer-setup dev dependency (#334)
This package is no longer needed for running the tests with
modern TYPO3 versions.
2021-11-05 10:36:09 +01:00
Oliver Klee
659735dd5f
[BUGFIX] Require at least TYPO3 11.5.2 for 11LTS (#335)
This fixes a missing Symfony polyfill for `str_starts_with` in
TYPO3 11.5.0 and 11.5.1, which fixes a crash in the unit tests with
TYPO3 11LTS and PHP 7.4 using the lowest possible Composer dependencies.
2021-11-04 01:30:42 +01:00
Łukasz Uznański
1d9d3b2f69
[TASK] Upgrade ddev to v1.18.0 (#331)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-11-03 10:40:10 +01:00
Oliver Klee
6616f79634
[TASK] Upgrade to PHPUnit 8.5 (#328)
Also upgrade to nimut/testing-framework 6.0.

This removes another blocker for running the tests with TYPO3 11LTS.

Fixes #326
2021-11-03 01:15:21 +01:00
Oliver Klee
19f3820d0d
[BUGFIX] Only publish to the TER if the tag is a valid version number (#329)
Tags named like `test-tag` should not trigger a TER releasen, but only
valid version numbers in the format major.minor.bugfix.

Fixes #327
2021-11-03 01:07:00 +01:00
Oliver Klee
696ec68eb0
[TASK] Only install Composer packages once in a CI build (#330)
If the CI build will do a composer update in the next step anyway,
there is no need to actually install any packages when requiring
the desired TYPO3 version.

Fixes #324
2021-11-03 01:05:16 +01:00
Oliver Klee
bd68297b90
[TASK] Update the development dependencies (#325) 2021-11-02 00:52:41 +01:00
Oliver Klee
e9606534b6
[FEATURE] Re-allow installations on TYPO3 11LTS (#323) 2021-10-19 02:22:07 +02:00
Oliver Klee
d8d55e05a6
V1.0.0: First public release (#322) 2021-10-12 19:06:56 +02:00
Oliver Klee
27c535b7d2
[TASK] Temporarily remove support for TYPO3 11LTS (#321)
This reverts commit d548eda14e.
2021-10-12 18:59:55 +02:00