mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-19 23:56:13 +02:00
Commit graph

549 commits

Author SHA1 Message Date
Oliver Klee
88785e32e0
[TASK] Document our approach to PHP version support (#654)
Fixes #579
Closes #530

[ci skip]
2022-10-19 18:16:37 +02:00
Oliver Klee
43e4829255
[FEATURE] Run the unit tests on TYPO3 12 on CI (#653)
Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-19 16:04:38 +02:00
Łukasz Uznański
6e8aef2daf
[TASK] Harden Github Actions workflows (#649)
Resolves: #614
2022-10-19 15:14:17 +02:00
Łukasz Uznański
9f1c0687b4
[TASK] Add lowest and highest dependencies to gitlab ci (#655)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-10-19 15:12:07 +02:00
Oliver Klee
6b957de595
[FEATURE] Allow installations on TYPO3 12 (#652) 2022-10-19 09:06:36 +02:00
Łukasz Uznański
19b8c4ef47
[TASK] Stop injecting query settings (#650) 2022-10-18 23:21:20 +02:00
dependabot[bot]
a9f25fbb66
Update saschaegerer/phpstan-typo3 requirement from ^1.1.2 to ^1.8.0 (#651)
Updates the requirements on [saschaegerer/phpstan-typo3](https://github.com/sascha-egerer/phpstan-typo3) to permit the latest version.
- [Release notes](https://github.com/sascha-egerer/phpstan-typo3/releases)
- [Commits](https://github.com/sascha-egerer/phpstan-typo3/compare/1.1.2...1.8.0)

---
updated-dependencies:
- dependency-name: saschaegerer/phpstan-typo3
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-18 21:43:40 +02:00
Oliver Klee
3b4b544e2c
[TASK] Switch the coverage on CI from Xdebug to PCOV (#648)
This greatly improves performance.

Also make the Composer version in the Coverage CI job less specific.
2022-10-18 19:38:45 +02:00
dependabot[bot]
d95cbbd8c7
Update phpstan/extension-installer requirement from ^1.1.0 to ^1.2.0 (#647)
Updates the requirements on [phpstan/extension-installer](https://github.com/phpstan/extension-installer) to permit the latest version.
- [Release notes](https://github.com/phpstan/extension-installer/releases)
- [Commits](https://github.com/phpstan/extension-installer/compare/1.1.0...1.2.0)

---
updated-dependencies:
- dependency-name: phpstan/extension-installer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-18 09:15:05 +02:00
dependabot[bot]
11dbef30bc
Update phpstan/phpstan requirement from ^1.8.9 to ^1.8.10 (#646)
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.9.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.8.9...1.8.10)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-18 08:43:11 +02:00
Oliver Klee
49c38d6e40
[BUGFIX] Do not check composer.lock during composer normalize (#641)
This package does not ship a `composer.lock`, and hence
`composer normalize` should not check that file.

Fixes #640
2022-10-16 17:50:33 +02:00
Oliver Klee
5a5d900c27
[TASK] Add .gitignore entry for JetBrains Fleet editor (#642)
JetBrains created a new product named "Fleet" as
lightweight editor. This tool tends to write it's
config files to `.fleet/` folders, like all of the
IntellJ based IDE's like PHPStorm uses the `.idea`
folder.

This change adds this config folder to `.gitignore`
to avoid adding this folder to a patch if Fleet
is used to create a patch.
2022-10-16 17:47:04 +02:00
Oliver Klee
122f61fe13
[BUGFIX] Raise typo3/cms-* to 11.5.4 to be stable with minimum deps (#643)
This change raises the minimum versions for TYPO3 core packages up
to 11.5.4 as minimum version, which contains needed fixes directly
or through raised core package dependencies to avoid corresponding
php deprecation and return type hint issues with symfony/routing
during composer minimum tests with PHP8.1. Beside this, we need at
least this version as core ships with QueryBuilder forward combat
methods `executeQuery()` and `executeStatement()` only since this
version.

See: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72430

Fixes #635
2022-10-16 17:46:20 +02:00
Oliver Klee
98fc40b38d
[TASK] Upgrade to helmich/typo3-typoscript-lint V3 (#645)
This unblocks the road to Symfony 6 (which is required for TYPO3 12).
2022-10-16 17:42:10 +02:00
dependabot[bot]
ed5fc0edb9
Update stylelint requirement from ^14.13.0 to ^14.14.0 (#644)
Updates the requirements on [stylelint](https://github.com/stylelint/stylelint) to permit the latest version.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/14.13.0...14.14.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-16 17:23:01 +02:00
Oliver Klee
b4dac22bba
[TASK] Postpone the TYPO3 12 compatibility (#639)
We should wait with marking this extension TYPO3-12-compatible
until an installation with TYPO3 12 is actually possible
(i.e., until all development dependencies actually allow this),
as an installation with TYPO3 12 will require changes to the
PHPStan annotations.

Otherwise, we will get PHPStan errors for the first build
after all dependencies allow an installation with TYPO3 12.

This reverts commit 639e414512.
2022-10-16 13:27:47 +02:00
Oliver Klee
31e1a1f84d
[TASK] Switch the code quality checks to PHP 8.1 (#638) 2022-10-15 21:40:46 +02:00
Oliver Klee
639e414512
[FEATURE] Allow installations with TYPO3 12LTS (#637)
* [FEATURE] Allow installations with TYPO3 12LTS

Part of #519

* Update CHANGELOG.md

Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>

Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
2022-10-15 21:40:20 +02:00
Oliver Klee
6b7101c1da
[TASK] Add the testing framework bridge as dev dependency (#636)
This is required to get the tests to work with typo3/composer-installers
V4/V5.
2022-10-15 20:53:15 +02:00
Oliver Klee
0e183c801a
[BUGFIX] Fix the license badge in the README (#633)
Fixes #632
2022-10-15 18:08:12 +02:00
dependabot[bot]
df8a73454c
Update phpstan/phpstan requirement from ^1.8.8 to ^1.8.9 (#631)
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.9.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.8.8...1.8.9)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 17:49:28 +02:00
Oliver Klee
1e157e6958
[TASK] Upgrade to the testing framework V7 (#629)
* [TASK] Upgrade to the testing framework V7

This is required to also run the tests on TYPO3 12LTS.

* Update CHANGELOG.md

Co-authored-by: Lina Wolf <48202465+linawolf@users.noreply.github.com>
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
2022-10-13 13:52:25 +02:00
dependabot[bot]
577d0ce65a
Update friendsofphp/php-cs-fixer requirement from ^3.11.0 to ^3.12.0 (#630)
Updates the requirements on friendsofphp/php-cs-fixer to permit the latest version.

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 11:24:19 +02:00
Lina Wolf
a6d75b72f3
[TASK] Make the TCA ready for TYPO3 v12 (#625)
Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-12 11:10:13 +02:00
Oliver Klee
ee455e567b
[BUGFIX] Exclude doctrine/dbal from Dependabot updates (#627)
Dependabot cannot handle multi-version dependencies and would
happily throw away one of allowed versions (like in #626).
2022-10-10 16:06:22 +02:00
Oliver Klee
b3f0eb3f3d
[CLEANUP] Use more native property types in the tests (#628) 2022-10-10 16:05:06 +02:00
Oliver Klee
0a1a00dd22
[CLEANUP] Drop usages of ObjectManager whereever possible (#616)
Fixes #596
2022-10-10 02:15:33 +02:00
Oliver Klee
04ae055db2
[TASK] Have the lowest dependencies above the highest on CI (#623)
This way, the Composer dependencies are consistently in
ascending order in the CI matrix (as are the PHP and TYPO3 versions).

This is the same as #617 (which rearranged the CI matrix entries
for the Composer-script-based CI jobs), but for the CI jobs using
the predefined GitHub Actions (this time for the unit tests).

Part of #578
2022-10-09 20:08:15 +02:00
Oliver Klee
5c1a8d974c
[TASK] Remove obsolete Composer conflicts (#620)
The removed conflicting versions are not possible anymore
with our current set of dependencies.
2022-10-09 18:19:35 +02:00
Oliver Klee
8d0f1e462b
[TASK] Bump the Symfony dependencies (#622)
Now the Symfony (dev) dependencies are in sync what TYPO3 11LTS and 12LTS
require.
2022-10-09 17:51:02 +02:00
Oliver Klee
604d918081
[TASK] Upgrade friendsofphp/php-cs-fixer (#621)
With PHP 7.4 as the minimum supported PHP version, we can now
upgrade.

Also drop a now-obsolete conflict for a package version that
now is not possible anymore.
2022-10-09 17:50:13 +02:00
Oliver Klee
9a1bc90e92
[TASK] Have the lowest dependencies above the highest on CI (#619)
This way, the Composer dependencies are consistently in
ascending order in the CI matrix (as are the PHP and TYPO3 versions).

This is the same as #617 (which rearranged the CI matrix entries
for the Composer-script-based CI jobs), but for the CI jobs using
the predefined GitHub Actions.

Part of #578
2022-10-09 17:43:08 +02:00
Oliver Klee
5ec9bd2342
[TASK] Add missing changelog entry 2022-10-09 11:25:50 +02:00
dependabot[bot]
1d419467b6
Update eslint requirement from ^8.24.0 to ^8.25.0 (#618)
Updates the requirements on [eslint](https://github.com/eslint/eslint) to permit the latest version.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.24.0...v8.25.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-09 11:24:41 +02:00
Oliver Klee
f6af430180
[TASK] Upgrade to PHPUnit 9 (#610)
Also upgrade PHPCOV to match the used PHPUnit version

Fixes #586
Fixes #542
2022-10-09 06:19:32 +02:00
Oliver Klee
26f8898e92
[TASK] Have the lowest dependencies above the highest on CI (#617)
This way, the Composer dependencies are consistently in ascending
order in the CI matrix (as are the PHP and TYPO3 versions).

Fixes #578
2022-10-09 06:15:42 +02:00
Oliver Klee
01d5c73a20
[BUGFIX] Stop relying on transitive dependencies for psr/http-message (#613)
We're using a class from this package in the controller and hence should
have this package as a direct dependency.
2022-10-06 17:55:14 +02:00
Oliver Klee
bb7e6d2670
[CLEANUP] Add more native type annotations in the tests (#612) 2022-10-06 17:51:41 +02:00
Oliver Klee
4537d5fca9
[CLEANUP] Drop some redundant PHPDoc type annotations (#611) 2022-10-06 17:51:04 +02:00
dependabot[bot]
3a2b9aefe3
Update phpstan/phpstan requirement from ^1.8.7 to ^1.8.8 (#609)
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.9.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.8.7...1.8.8)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-06 16:45:37 +02:00
Łukasz Uznański
aaa4158b09
[FEATURE] Add unit tests for v11 to gitlab ci (#607)
Fixes #590
Fixes #605

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-10-05 15:52:28 +02:00
Łukasz Uznański
813c162421
Fix typo in functional tests needs in gitlab (#606) 2022-10-05 15:46:13 +02:00
Łukasz Uznański
000fd583a8
Add functional tests for v11 for gitlab (#604)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-10-05 14:16:15 +02:00
dependabot[bot]
1b0b936cf6
Update phpstan/phpstan requirement from ^1.8.6 to ^1.8.7 (#603)
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.9.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.8.6...1.8.7)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 17:21:55 +02:00
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
dependabot[bot]
aa9b52155c
Update stylelint requirement from ^14.12.1 to ^14.13.0 (#598)
Updates the requirements on [stylelint](https://github.com/stylelint/stylelint) to permit the latest version.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/14.12.1...14.13.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-29 07:45:54 +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