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

507 commits

Author SHA1 Message Date
Ł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
Łukasz Uznański
9c3e8abd24
Fix pipeline after dropping php support (#595)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-09-26 19:40:07 +02:00
dependabot[bot]
d1dc808bac
Update phpunit/phpunit requirement from ^8.5.29 to ^8.5.30 (#592)
Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-8.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/8.5.29...8.5.30)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  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-26 10:02:46 +02:00
dependabot[bot]
a4a1b42c41
Update eslint requirement from ^8.23.1 to ^8.24.0 (#593)
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.23.1...v8.24.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-09-26 09:45:36 +02:00
Oliver Klee
91c0740aac
[TASK] Switch Dependabot PR target milestone to the 3.0 milestone (#584)
The PRs now should target 3.0.0, not 2.0.1 anymore, as 2.0.1 is out
of the door, and we're working on 3.0 now.

Fixes #583
2022-09-23 21:56:56 +02:00
dependabot[bot]
fee233a50d
Update phpstan/phpstan requirement from ^1.8.5 to ^1.8.6 (#588)
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.8.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.8.5...1.8.6)

---
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-09-23 16:07:51 +02:00
dependabot[bot]
3e0ddca992
Update phpstan/phpstan-strict-rules requirement from ^1.4.3 to ^1.4.4 (#587)
Updates the requirements on [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases)
- [Commits](https://github.com/phpstan/phpstan-strict-rules/compare/1.4.3...1.4.4)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-strict-rules
  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-23 16:02:59 +02:00
Oliver Klee
e91f123a81
[TASK] Update ergebnis/composer-normalize (#585)
Also remove the update block from the Dependabot configuration
(now that we require PHP >= 7.4., which allows for current versions
of this package).
2022-09-23 16:00:17 +02:00
dependabot[bot]
814d8ce697
Update stylelint requirement from ^14.12.0 to ^14.12.1 (#582)
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.0...14.12.1)

---
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-22 11:50:29 +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
e135cc244a
[TASK] Upgrade the functional tests on CI to Ubuntu 22.04 (#573)
Fixes #173
2022-09-21 16:54:21 +02:00
Łukasz Uznański
03448bb8d2
[TASK] Also yaml lint yaml files (#576)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-09-21 11:04:28 +02:00
Oliver Klee
1129d74c53
[FEATURE] Show the Composer configuration in the CI jobs (#572)
This helps debug problems, e.g., using an incorrect Composer
cache directory.
2022-09-21 09:48:16 +02:00
dependabot[bot]
c5ce5d1ccc
Update stylelint requirement from ^14.11.0 to ^14.12.0 (#570)
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.11.0...14.12.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-19 12:41:42 +02:00
dependabot[bot]
eff9a354eb
Update php-coveralls/php-coveralls requirement from ^2.5.2 to ^2.5.3 (#566)
Updates the requirements on [php-coveralls/php-coveralls](https://github.com/satooshi/php-coveralls) to permit the latest version.
- [Release notes](https://github.com/satooshi/php-coveralls/releases)
- [Changelog](https://github.com/php-coveralls/php-coveralls/blob/master/CHANGELOG.md)
- [Commits](https://github.com/satooshi/php-coveralls/compare/v2.5.2...v2.5.3)

---
updated-dependencies:
- dependency-name: php-coveralls/php-coveralls
  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-13 11:29:17 +02:00
dependabot[bot]
c63b7eae2e
Update eslint requirement from ^8.23.0 to ^8.23.1 (#565)
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.23.0...v8.23.1)

---
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-09-12 11:31:48 +02:00
dependabot[bot]
f649b3b34b
Update phpstan/phpstan requirement from ^1.8.4 to ^1.8.5 (#562)
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.8.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.8.4...1.8.5)

---
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-09-07 18:32:19 +02:00
Łukasz Uznański
fe7b41b48a
[TASK] Update PHP in DDEV to 8.1 (#561)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-09-07 11:54:24 +02:00
Łukasz Uznański
44ccee57f2
[BUGFIX] Add hidden files to find in PHP lint (#559)
Resolves: #546

Also fix PhpStorm meta codestyle.
2022-09-07 11:47:31 +02:00
Łukasz Uznański
24480617b6
Update ddev to newest version (#560)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-09-07 11:46:08 +02:00
Oliver Klee
dd1bfa720b
[TASK] Make the required system extension versions consistent (#558)
As it is not possible to install system extensions in different versions
(e.g., extbase 10.4.7 together with fluid 10.4.11), we should require
the same versios for all system extensions for consistency.
2022-09-06 21:48:14 +02:00
Oliver Klee
e360b1ea5a
[TASK] Also mock redirectToUri in the controller unit test (#554)
Now all methods that conceptually should not be part of a controller
(and that hence must never be executed in a unit test)
are mocked for consistency.

Also sort the method names.

Fixes #446
2022-09-06 15:26:47 +02:00
dependabot[bot]
e8612cfa59
Update phpstan/phpstan requirement from ^1.8.3 to ^1.8.4 (#557)
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.8.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.8.3...1.8.4)

---
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-09-05 16:07:15 +02:00
Oliver Klee
f9daea8344
[TASK] Upgrade to PHPCOV 6 (#540)
PHPCOV 6 is the latest version still supporting PHPUnit 8
(which we're need to use as long as we still support PHP 7.2).
2022-09-03 14:35:31 +02:00
Oliver Klee
186b66bbcf
[TASK] Update to PHIVE 0.15.2 (#541) 2022-09-03 14:17:05 +02:00
dependabot[bot]
2266e30908
Update phpstan/phpstan requirement from ^1.8.2 to ^1.8.3 (#548)
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.8.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.8.2...1.8.3)

---
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-09-02 11:22:10 +02:00
dependabot[bot]
ab7e3b1a97
Update phpstan/phpstan-strict-rules requirement from ^1.4.2 to ^1.4.3 (#547)
Updates the requirements on [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases)
- [Commits](https://github.com/phpstan/phpstan-strict-rules/compare/1.4.2...1.4.3)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-strict-rules
  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-02 11:21:46 +02:00
dependabot[bot]
8b9390e9c2
Update eslint requirement from ^8.22.0 to ^8.23.0 (#532)
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.22.0...v8.23.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-08-29 11:34:44 +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
7e3c9f0916
[TASK] Allow dev installations with Doctrine 3 (#524)
TYPO3 12LTS will require Doctrine ^3.3.7 (or possibly even higher).

To not block this, our development requirement of Doctrine needs to
allow Doctrine 3 as well.
2022-08-28 13:58:28 +02:00
Oliver Klee
dbb9b977a8
[DOCS] Add changelog entry that was forgotten 2022-08-28 12:33:59 +02:00
Chris Müller
a0955b5e0b
[TASK] Substitute TYPO3_MODE constant with TYPO3 constant (#521)
The TYPO3_MODE constant is deprecated with v11.0. The new constant
TYPO3, which replaces the old constant, was introduced also in
TYPO3 v10 with version v10.4.11:

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.0/Deprecation-92947-DeprecateTYPO3_MODEAndTYPO3_REQUESTTYPEConstants.html

As best practice, we should also use the new constant and
raise the composer constraints for TYPO3 accordingly.
2022-08-28 12:22:38 +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
b5ea8e651c
[TASK] Stop using the typo3/minimal package on CI (#520)
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.
2022-08-28 11:08:47 +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
dependabot[bot]
9920c30ce1
Update phpstan/phpstan-strict-rules requirement from ^1.4.0 to ^1.4.2 (#518)
Updates the requirements on [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases)
- [Commits](https://github.com/phpstan/phpstan-strict-rules/compare/1.4.0...1.4.2)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-strict-rules
  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-08-26 11:20:00 +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
dependabot[bot]
d552cb2961
Update phpunit/phpunit requirement from ^8.5.28 to ^8.5.29 (#510)
Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-8.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/8.5.28...8.5.29)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  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-08-24 12:59:42 +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
dependabot[bot]
37fb536ec0
Update phpstan/phpstan-strict-rules requirement from ^1.3.0 to ^1.4.0 (#516)
Updates the requirements on [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases)
- [Commits](https://github.com/phpstan/phpstan-strict-rules/compare/1.3.0...1.4.0)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-strict-rules
  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-08-24 12:50:21 +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