mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 23:36:13 +01:00
Commit graph

91 commits

Author SHA1 Message Date
Lina Wolf
8be6d02315
[TASK] Convert functional test fixtures to CSV (#601)
Fixes #600

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-03 19:10:08 +02:00
Lina Wolf
e469041db7
[CLEANUP] Use typed properties instead of @var annotations (#599)
The `@var` annotations where left where it is not possible yet to replace them in PHP 7.4.

Fixes #550

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-03 19:00:55 +02:00
Lina Wolf
5d3fcee00e
[TASK] Return ResponseInterface in controller actions (#597)
Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-03 16:02:32 +02:00
Lina Wolf
672194fba8
[TASK] Drop TYPO3 10LTS support (#594)
Fixes #589

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-09-27 16:48:54 +02:00
Łukasz Uznański
2484f6d8ca
[TASK] Replace switchable controller actions (#575) 2022-09-27 11:53:43 +02:00
Oliver Klee
14c804b209
[TASK] Drop support for PHP 7.2 and 7.3 (#581)
Also sync the test matrices of the `predefined` CI jobs with those
from the Composer-script-driven CI jobs.

This change does not add any 7.4-only PHP language features.

Fixes #577
2022-09-22 11:49:45 +02:00
Oliver Klee
899f2b588a
V2.0.1: Bug fixes and cleanup (#580) 2022-09-21 19:11:36 +02:00
Oliver Klee
e8da69e4fa
[TASK] Stop using the typo3/minimal package on CI (#531)
The `typo3/minimal` package is not maintained very much, and currently
cannot be used as a requirement to install the latest TYPO3 development
version (as it still depends on `dev-master`, not on `dev-main`).

In addition, not depending on it will allow us to find any missing
dependencies in our requirements that so far have been masked by
the `typo3/minimal` dependencies.

(This is the same as #520, but for GitLab CI.)
2022-08-28 20:17:31 +02:00
Oliver Klee
dbb9b977a8
[DOCS] Add changelog entry that was forgotten 2022-08-28 12:33:59 +02:00
Lina Wolf
214ea7b4de
[TASK] Use CamelCase for the TsConfig folder (#523)
Fixes #522

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-08-28 12:01:02 +02:00
Oliver Klee
be838adde5
[TASK] Remove the ancient acceptance tests (#512)
The acceptance tests have not been testing the extension itself,
have not been maintained for quite some time, and do not serve
as a good example anymore.

Until we have a proper set of example acceptance tests, we should
remove them.

Also drop the now-unused dependency on Codeception.
2022-08-28 09:33:50 +02:00
Oliver Klee
75ae59b28a
[TASK] Update to Composer 2.4 (#513)
Now that Composer 2.4 has had its first point release, we can safely
upgrade from 2.3 to 2.4 in the DDEV configuration and the CI pipeline.
2022-08-27 18:53:54 +02:00
Oliver Klee
821cb8400b
[BUGFIX] Have all extension dependencies in the ext_emconf.php as well (#515)
For non-Composer installations, all extension dependencies that are in
the `composer.json` should also be in the `ext_emconf.php`.

Even for extensions that are always installed (like frontend or fluid),
it is good practice to always make these dependencies explicit.
2022-08-24 18:43:54 +02:00
Oliver Klee
f941268b04
[BUGFIX] Bump the minimal 10.4 Extbase requirement (#514)
Extbase < 10.4.6 has a bug that causes it to stumble over PHPDoc
annotations in the repository.
2022-08-24 12:54:33 +02:00
Oliver Klee
dda805b37d
[BUGFIX] Explicitly require Prophecy (#511)
PHPUnit has dropped its dependency on Prophecy. In order to keep using
Prophecy in our tests, we need to add it as an explicit (development)
dependency.

Also, relying on transitive dependencies is bad practice anyway.
2022-08-23 13:47:10 +02:00
Lina Wolf
60456633b1
Change default rst indentation to 4 spaces (#508)
refs https://github.com/TYPO3-Documentation/T3DocTeam/issues/194
2022-08-20 13:59:53 +02:00
Oliver Klee
0ec3eaab31
V2.0.0: Drop support for TYPO3 9LTS (#494) 2022-07-26 12:15:13 +02:00
Oliver Klee
56b02d5fda
[FEATURE] Configure Dependabot to also update npm packages (#481) 2022-07-13 18:39:00 +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
b3e3c4e29d
[FEATURE] Add a Dependabot action for updating GitHub actions (#452)
With this configuration, GitHub's Dependabot will create PR
to update the versions of the GitHub Actions we are using in
our CI pipeline.
2022-05-23 14:45:35 +02:00
jpmschuler
518bae014e
[TASK] Move npm tools and config to default places (#445)
- Move npm tools and config to default places
- Remove now unnecessary config file parameter from npm scripts
- editorconfig and eslint config contradict, adapt editorconfig
- switch JS indent linting to TYPO3 coding standard of 2 spaces
- adapt composer scripts for new npm location
2022-05-18 17:17:45 +02:00
Oliver Klee
2e31910c61
[FEATURE] Use Coveralls for the code coverage (#425)
Fixes #345
Closes #400
2022-04-15 18:47:18 +02:00
Oliver Klee
e1f04ba58b
[TASK] Switch to the TYPO3 Code of Conduct (#430)
Now that the TYPO3 community has a new code of conduct, we should
switch from the Contributor Covenant Code of Conduct to the
TYPO3 CoC.

Fixes #249
2022-04-14 18:11:50 +02: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
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
9c1a522ebb
[FEATURE] Also run the unit tests with V11 in the CI pipeline (#336) 2021-11-06 15:57:36 +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
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
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
091e00e478
[FEATURE] Also run the CI build once a week (#160)
This will allow us to catch problems with dependencies or
the build environment, i.e., problems that are not related
to changes in our code base.
2020-11-21 17:58:35 +01:00
Oliver Klee
6671dce5b3
[BUGFIX] Always use the Composer-installed tools (#49)
Add the full relative path to Composer-installed binaries to make
sure that are used instead of other versions that happen to be in
the path.

Also drop unneeded trailing slashes from directories used in
Composer scripts.
2020-06-23 19:36:54 +02:00
Oliver Klee
288fbc7999
[TASK] Drop the Travis CI builds (#56)
We've moved to GitHub Actions (and will add GitLab CI) instead.
2020-06-23 11:05:45 +02:00
Oliver Klee
74813e9a0c
[FEATURE] Run the functional tests via GitHub Actions (#55) 2020-06-06 23:09:20 +02:00
Oliver Klee
59384b3d68
[TASK] Disable running with lower dependencies on GitHub actions (#54)
This currently is broken, and we need to find the cause and fix it
first.

In the meantime, disable this so the build is green again.
2020-05-25 07:50:53 +02:00
Oliver Klee
be01bcec29
[BUGFIX] Avoid unwanted higher PHP versions (#51)
To avoid stating any untested compatibility with a (non-existent) PHP
version 7.5, the requirements in the `composer.json` need to provide
the patch-level version as well as `~7.0` works the same as `^7.0`,
while `~7.0.0` does not.
2020-05-22 12:34:13 +02:00
Oliver Klee
14602e19b5
[BUGFIX] Stop caching vendor/ on Travis CI (#52)
Downgrades of Composer packages do not work reliably
if a higher version of a package already is installed in `vendor/`.
This causes builds to use higher versions of packages than intended
if Travis CI has the corresponding version in the cached and restored
`vendor/` folder.
2020-05-22 12:31:09 +02:00
Oliver Klee
b8cf63d358
[BUGFIX] Use the PHP version from the matrix in the CI (#48)
For GitHub actions, an explicit step is required to use a
specific PHP version. If this is not done, a default version
will be used (which makes the builds unpredictable).
2020-05-22 11:38:45 +02:00
Oliver Klee
0ad663e9c7
[TASK] Update the GitHub actions status badge URL (#47)
Now that the project has been moved to a different project,
the GitHub actions status badge URL needs to be adapted.
2020-05-22 09:14:54 +02:00
Oliver Klee
77c709c2df
[CLEANUP] Drop obsolete dividers2tabs from the TCA (#44)
This option has been removed in TYPO3 7.

Resolves #43
2020-05-22 09:10:58 +02:00
Oliver Klee
c508e4c710
[CLEANUP] Use backticks around file names in the changelog (#45) 2020-05-22 09:09:44 +02:00
Oliver Klee
9d39ca01af [BUGFIX] Re-add the static TypoScript registration (#41)
The registration had accidentally been removed by some
previous changes.
2019-12-07 19:42:02 +01:00
Oliver Klee
1b4d0702c9 [BUGFIX] Keep the global namespace clean in ext_localconf.php (#39)
Move the plugin registration into a function.
2019-12-07 19:15:24 +01:00
Andreas Wolf
9be1c23798 [TASK] Move unit test run to GitHub actions (#38) 2019-12-07 19:00:51 +01:00
Andreas Wolf
cef4baddbc [TASK] Cache Composer dependencies during build (#36)
Also fix the name of TS the lint step.
2019-12-07 18:10:51 +01:00
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
Oliver Klee
b67a142653 [TASK] Drop obsolete parts from the README (#34)
Also fix some formatting issues.

Fixes #4
2019-12-07 17:30:02 +01:00
Oliver Klee
8c4b5425b9 [TASK] Add a status badge for GitHub actions (#33) 2019-12-07 17:06:13 +01:00