mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-14 04:56:13 +01:00
Commit graph

155 commits

Author SHA1 Message Date
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
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
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
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
dependabot[bot]
d1d1a556b9
Update codeception/codeception requirement from ^4.2.1 to ^4.2.2 (#505)
Updates the requirements on [codeception/codeception](https://github.com/Codeception/Codeception) to permit the latest version.
- [Release notes](https://github.com/Codeception/Codeception/releases)
- [Changelog](https://github.com/Codeception/Codeception/blob/5.0/CHANGELOG-4.x.md)
- [Commits](https://github.com/Codeception/Codeception/compare/4.2.1...4.2.2)

---
updated-dependencies:
- dependency-name: codeception/codeception
  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-15 11:48:26 +02:00
dependabot[bot]
ad01c75ede
Update typo3/coding-standards requirement from ^0.5.4 to ^0.5.5 (#506)
Updates the requirements on typo3/coding-standards to permit the latest version.

---
updated-dependencies:
- dependency-name: typo3/coding-standards
  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-15 11:48:03 +02:00
Chris Müller
d8ae581a83
[BUGFIX] Correct version constraints for PHP in composer.json (#504) 2022-08-13 21:02:31 +02:00
dependabot[bot]
6bbdc50b68
Update typo3/coding-standards requirement from ^0.5.3 to ^0.5.4 (#499)
Updates the requirements on typo3/coding-standards to permit the latest version.

---
updated-dependencies:
- dependency-name: typo3/coding-standards
  dependency-type: direct:development
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-10 11:43:36 +02:00
dependabot[bot]
abaf44d611
Update phpunit/phpunit requirement from ^8.5.27 to ^8.5.28 (#496)
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.27...8.5.28)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 12:20:01 +02:00
dependabot[bot]
106ef83d0f
Update typo3/testing-framework requirement from ^6.16.5 to ^6.16.6 (#495)
Updates the requirements on [typo3/testing-framework](https://github.com/TYPO3/testing-framework) to permit the latest version.
- [Release notes](https://github.com/TYPO3/testing-framework/releases)
- [Commits](https://github.com/TYPO3/testing-framework/compare/6.16.5...6.16.6)

---
updated-dependencies:
- dependency-name: typo3/testing-framework
  dependency-type: direct:development
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 13:23:24 +02:00
dependabot[bot]
af68f331df
Update phpstan/phpstan requirement from ^1.8.1 to ^1.8.2 (#491)
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.1...1.8.2)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 13:04:54 +02:00
dependabot[bot]
a4df7e4496
Update phpstan/phpstan requirement from ^1.8.0 to ^1.8.1 (#479)
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.0...1.8.1)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 13:07:43 +02:00
dependabot[bot]
bd8395914f
[TASK] Update typo3/coding-standards requirement from ^0.5.2 to ^0.5.3 (#474)
Updates the requirements on typo3/coding-standards to permit the latest version.

---
updated-dependencies:
- dependency-name: typo3/coding-standards
  dependency-type: direct:development
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 11:56:05 +02:00
dependabot[bot]
c558bbfd17
Update phpstan/phpstan requirement from ^1.7.15 to ^1.8.0 (#473)
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.7.15...1.8.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-30 10:30:03 +02:00
dependabot[bot]
69f03b0110
Update phpunit/phpunit requirement from ^8.5.26 to ^8.5.27 (#472)
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.26...8.5.27)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 21:37:19 +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
dependabot[bot]
bb6d2b97d2
Update typo3/testing-framework requirement from ^6.15.3 to ^6.16.5 (#468)
Updates the requirements on [typo3/testing-framework](https://github.com/TYPO3/testing-framework) to permit the latest version.
- [Release notes](https://github.com/TYPO3/testing-framework/releases)
- [Commits](https://github.com/TYPO3/testing-framework/compare/6.15.3...6.16.5)

---
updated-dependencies:
- dependency-name: typo3/testing-framework
  dependency-type: direct:development
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 11:27:53 +02:00
dependabot[bot]
abc1db7842
[TASK] Update codeception/codeception requirement from ^4.1.31 to ^4.2.1 (#463)
Updates the requirements on [codeception/codeception](https://github.com/Codeception/Codeception) to permit the latest version.
- [Release notes](https://github.com/Codeception/Codeception/releases)
- [Changelog](https://github.com/Codeception/Codeception/blob/5.0/CHANGELOG-4.x.md)
- [Commits](https://github.com/Codeception/Codeception/compare/4.1.31...4.2.1)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 12:16:39 +02:00
dependabot[bot]
b5e2aee4fa
[TASK] Update phpstan/phpstan requirement from ^1.6.2 to ^1.7.15 (#464)
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.7.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.6.2...1.7.15)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 12:16:04 +02:00
dependabot[bot]
a9b4f377cd
[TASK] Update squizlabs/php_codesniffer requirement from ^3.6.2 to ^3.7.1 (#462)
Updates the requirements on [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) to permit the latest version.
- [Release notes](https://github.com/squizlabs/PHP_CodeSniffer/releases)
- [Commits](https://github.com/squizlabs/PHP_CodeSniffer/compare/3.6.2...3.7.1)

---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
  dependency-type: direct:development
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 12:15:31 +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
e58c7fc150
[TASK] Bump the development dependencies (#442) 2022-04-27 16:00:28 +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
a98d32fdae
[TASK] Move the coverage directories (#427)
There is no need to have the code coverage data directly generated by
the tests run in a non-hidden directory. So now the code coverage is
recorded within `.Build/coverage`.

Only the merged coverage data still needs to be located in `build/logs`
as Coveralls (which we're planning to use) relies on this.
2022-04-13 16:14:25 +02:00
Alexander Nitsche
fc5b861bcd
[TASK] Update docs (#404)
See c2bb63bead for further details.

The README.md should mostly only cover the abstract and links.

The composer commands are the core value of this extension. List
all commands in the documentation and copy the descriptions from
the `composer.json`. This lets the global search at docs.typo3.org
find these commands.

Remove superfluous Linters page, which is integrated now in the
Running page.

Use sentence case in page titles in order to conform to the
TYPO3 documentation standards.

The ambiguous :ts: text role has been removed to
not confuse the writer with typescript and typoscript.

Add the common extension destinations to `composer.json`.
(Packagist displays them in a prominent place.)
2022-04-12 19:00:11 +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
d5b669a179
[TASK] Update the development dependencies (#401) 2022-03-11 17:16:23 +01:00
Oliver Klee
d4c39d7f5a
[TASK] Add a description for the prepare-release Composer command (#397) 2022-02-25 11:36:30 +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
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
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
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
Łukasz Uznański
13ba07f31c
[TASK] Migrate to typo3 coding standards (#340) 2021-11-17 16:45:49 +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
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
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